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
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 yatotem2scdl-0.0.18.tar.gz.
File metadata
- Download URL: yatotem2scdl-0.0.18.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b176f80cf1b7cb87f944e2c643e9954e3e18f201c3be5e826cacdaadddf22c
|
|
| MD5 |
38e7e20ed955b8d2b3bd4c295683979c
|
|
| BLAKE2b-256 |
fc3f6f701b5bcc13f3af3716d5cecee3e5d5fee8665ec9074f6264ef6d9655b4
|
File details
Details for the file yatotem2scdl-0.0.18-py3-none-any.whl.
File metadata
- Download URL: yatotem2scdl-0.0.18-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3287bef20efae4d9d26607078c6f080954a405df55596509cb748c9e49fc602f
|
|
| MD5 |
787c13d6caf7e0b73ae1d6547cfb129a
|
|
| BLAKE2b-256 |
2749702b68cba1aabe33885cf14c3b6849195e80486958aac09be8858348fe76
|