No project description provided
Project description
Yet Another totem to scdl
Rationale
Largement inspiré de datafin - totem.
Le but de ce projet est de proposer une bibliothèque python de conversion de fichiers totem vers le format SCDL. En effet, le projet de base cité plus haut n'est pas conçu pour être utilisé comme une bibliothèque.
Limitations
- Actuellement, seuls les budgets sont supportés.
- Les plans de comptes ne sont pas fournis avec le package.
Quickstart
Préparer l'environnement
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
Construire le package
python -m build
Tests
pytest
Ajouter des tests boite noire
Le fichier test_conversions.py contient des tests boite noire, les jeux de données étant quant à eux situés dans exemples.
Il est possible d'ajouter des cas de test via la variable d'environnement YATOTEM2SCDL_EXEMPLES_ADDITIONNELS
, qui pointe vers un dossier suivant la même nomenclature que exemples.
set -lx YATOTEM2SCDL_EXEMPLES_ADDITIONNELS <DOSSIER_AVEC_JEUX_DE_TESTS_ADDITIONNELS>
pytest
CLI
Après installation du package, la commande yatotem2scdl
devient disponible:
$ yatotem2scdl --help
Upload
Pour upload sur un repository PyPI:
python -m build
twine upload --repository-url https://<REPO_URL>/repository/pypi-hosted/ dist/*
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 yatotem2scdl-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 436c373389c4bceebeeeb0dcd020dd6bbbf8c47c4c3001577acf6c0b1d755357 |
|
MD5 | 8cb6ab29a61cf251083c1f970d6f3bf7 |
|
BLAKE2b-256 | 07dec77998af89fd4caa191c0a0a3362c65a56fa48f132f762aff3b6686976b0 |