Skip to main content

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.py
  • python3 -m unittest tests/test_todolist_lb_me_ab.py

Coverage

  • poetry run python -m coverage run -m unittest tests/test_tache.py
  • poetry run python -m coverage run -a -m unittest tests/test_todolist.py
  • poetry 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todolist_lb_me_ab-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todolist_lb_me_ab-1.0.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file todolist_lb_me_ab-1.0.0.tar.gz.

File metadata

  • Download URL: todolist_lb_me_ab-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 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

Hashes for todolist_lb_me_ab-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6242ec347cd2c17908099d208c562f4b6e987aa9f2df7e4d33382fb9d8d44273
MD5 ac0ec8d160fa166b4553c3c082c84f1c
BLAKE2b-256 e4b5c96675593b0701a792d0b8dbad61caaef033ed0bd8cb56d900ff34dfc71b

See more details on using hashes here.

File details

Details for the file todolist_lb_me_ab-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: todolist_lb_me_ab-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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

Hashes for todolist_lb_me_ab-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a8d859f6caf39b5204772c7c635278a11655c2a159d1180cfe8d7e13a1eb5ef
MD5 56f376d960bce239ab95a95e07c288fc
BLAKE2b-256 21809d1cdba58d6aaea323511bd5e41d05421afe03632a6074896b1faffef336

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page