Skip to content

This repository contains a set of modules, examples, and tests aimed at in-depth mastery of functional programming concepts in Python.

License

Notifications You must be signed in to change notification settings

Tania526-sudo/goit-algo-hw-05

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic Homework #5

Homework #5 from the module "Functional Programming and Python Built-in Functions".
The main goal is to deepen knowledge about:

  • recursion;
  • closures;
  • generators;
  • functional programming;
  • using decorators;
  • log analysis;
  • creating CLI bots;
  • testing and automation via GitHub Actions.

Table of Contents


Repository Structure

goit-algo-hw-05/
├── README.md
├── ЛІЦЕНЗІЯ
├── pyproject.toml
├── .gitignore
├── .pre-commit-config.yaml         
├── .github/
│   └── workflows/
│       └── ci.yml                  # GitHub Actions (Tests + Linters)
├── data/
│   └── sample.log                  # sample log file for Task 3
├── examples/
│   ├── benchmark_fib.py           # Fibonacci test
│   ├── cli.py                     # CLI for task 1 (list/value)
│   └── parse_income.py            # CLI for task 2
├── src/
│   ├── __init__.py
│   ├── task1_fibonacci_closure.py # Task 1
│   ├── task2_income_generator.py  # Task 2
│   ├── task3_log_analyzer.py      # Task 3
│   └── task4_console_bot.py       # Task 4
├── utils/
│   ├── __init__.py
│   ├── decorators.py              # generic @safe 
│   ├── generators.py              # fib_generator(), window()
│   ├── functional.py              # functions as arguments
│   ├── main.py                    # CLI for task 3
│   └── bot.py                     # CLI for task 4
├── tests/
│   ├── test_task1_fibonacci_closure.py
│   ├── test_task2_income_generator.py
│   ├── test_task3_log_analyzer.py
│   └── test_task4_console_bot.py

About

This repository contains a set of modules, examples, and tests aimed at in-depth mastery of functional programming concepts in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages