A little toolkit with fancy functions
Project description
Module toolkit (package name : dktotoolkit)
This is a module with different tools, very usefull !
For exemple, there is :
- Load .env class
- Parser for dates
- Compatibility mode for function arguments
- Transformer de l'utf8 en HTML et de l'HTML en Markdown principalement.
- ...
Documentation :
- Please read the documentation at : https://discord-catho.frama.io/module_toolkit
- Voir le fichier requirements.txt pour les dépendances, puis "$ make -C docs html" à la racine du projet
Tag names
-
"v" : for "version"
-
vX.Y.Z : release (any bugs) ** release (X) : major new implementations ** macro-release (Y) : minor implementations, major improvements of features ** micro-release (Z) : bug correction, minor improvements of features (ex : add verbose)
-
vX.Y.ZaN : alpha version (working version) ** Sync on git ** Continous integration ** Not upload on Pypi
-
vX.Y.ZbN : beta release (must be fixed, or allmost) ** Sync on git ** Continous integration ** Uploaded on Pypi
-
vX.Y.ZrcN : release candidate (all is fixed) ** Sync on git ** Continous integration ** NOT uploaded on Pypi
-
vX.Y.ZpostN : post release (correction of doc) ** Sync on git ** Using CI ** Uploaded on Pypi
To have more informations, see PEP440 : https://peps.python.org/pep-0440/
Installation
Installation en tant que module à partir des sources :
- Créer un environnement
$ python3.9 -m venv env_module
$ source env_module/bin/activate
- Installer le module avec les paquets de base
$ pip3 install .
- Installer le module avec tous les paquets de base
$ pip3 install .[doc, test]
- Installer uniquement les paquets
$ pip3 install -r requirements.txt
Comme submodule
- Attention : il est nécessaire d'installer les dépendances également
$ cd /path/superprojet
$ mkdir -p scripts/external && cd scripts/external
$ git submodule add git@framagit.org:discord-catho/parserhtml.git
$ git submodule update --recursive --init
$ git submodule update --recursive --remote
TODO
- submodule git pour CI et setup
- Add substitution inside .. literalinclude:: ../../dktotoolkit/version.py (setup.rst)
- Improve tests for parserhtml
Licence
GNU AGPL 3 (cf LICENCE.md)
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
Hashes for dktotoolkit-1.0.2b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5469e4e7fd046ecbc905c6f2f6a6abba946266fb0a08a870785054b9f6e389a9 |
|
MD5 | 4f25c57c2919252eac095ee9910d6c7b |
|
BLAKE2b-256 | bf6d124e6806a9871facfa9998f733a6480ffd50ec02ff06d69e81cfdfef1ba6 |