No project description provided
Project description
KitBigData_Todolist
Projet Kit big data
L'objectif de ce projet est de mettre en pratique les concepts et les compétences appris en cours sur le développement Python pour la production et créer une bibliothèque Python complète de tâches personnelles (To-Do List). Le but étant de couvrir un certain nombre d'étapes clef, notamment: la structure du projet, la gestion de l'environnement Python avec Poetry, la programmation orientée objet, le type hinting, la gestion des logs, le respect des normes PEP 8, la gestion des exceptions, la sécurité, les tests unitaires avec pytest, le test coverage, la documentation avec Sphinx, et la mise en place d'un pipeline CI/CD avec GitHub Actions.
Installation guide
install dependencies
- pip install poetry
- apt-install pandoc
Installation
- poetry install
User manual
- The TODOLIST consist of a class where the interface is callbable over the api todolist_lb_me_ab.
- There are 5 methods to manipulate a todolist_lb_me_ab
- Each task has several attributes : --nom, --description, --status, --projet, --horodatage
Usage example : (from todolist_lb_me_ab directory)
- Add a new task to the list :
todolist_lb_me_ab -a --nom "<nom>" --description "<description>" - Modify an existing task :
todolist_lb_me_ab -m --nom "<nom>" --<attribute to change> ... - Delete an existing task :
todolist_lb_me_ab -d --nom "<nom>" - Get the list of tasks :
todolist_lb_me_ab -l - Terminate an existing task:
todolist_lb_me_ab -t --nom "<nom>"
Developper manual
Testing
python3 -m unittest tests/test_tache.pypython3 -m unittest tests/test_todolist_lb_me_ab.py
Coverage
poetry run python -m coverage run -m unittest tests/test_tache.pypoetry run python -m coverage run -a -m unittest tests/test_todolist.pypoetry run python -m coverage report
Documentation Sphinx
- Generate the doc (all .rst are update automaticaly through 'conf.py') poetry run make -C docs html
- Access the doc : search for 'index.html' in '.docs/html'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file todolist_lb_me_ab-1.0.1.tar.gz.
File metadata
- Download URL: todolist_lb_me_ab-1.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
985483286e576b766951fcf6efc98a384b8d296a834346172f07780458565484
|
|
| MD5 |
2bf085b449f4c595a308ea34c7dc61a2
|
|
| BLAKE2b-256 |
48f99075c1f03ef4974d2610f6a48e53db2d6d50f41b227992bf58e51312b8eb
|
File details
Details for the file todolist_lb_me_ab-1.0.1-py3-none-any.whl.
File metadata
- Download URL: todolist_lb_me_ab-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cf26135a94c800150442669c7a11ac9b5c8c6346e083a4a791b952b05a5dc8c
|
|
| MD5 |
9d7f16f6323885d01c7c7db4d11e21f1
|
|
| BLAKE2b-256 |
64fe3338bc06aa48d1f618db656ce9a7f396910118dce987c2b948438b6e3e83
|