Skip to main content

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


Download files

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

Source Distribution

yatotem2scdl-0.0.20.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

yatotem2scdl-0.0.20-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file yatotem2scdl-0.0.20.tar.gz.

File metadata

  • Download URL: yatotem2scdl-0.0.20.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for yatotem2scdl-0.0.20.tar.gz
Algorithm Hash digest
SHA256 8040be7bc5499223cb449c474c89f90d192d9472f8b5cc7dccff181b07a36327
MD5 7dd39f267368164b4c98f04937e335cb
BLAKE2b-256 60387863b763e43e660a37b51d53b1a42d28f942d3eb0aa227b7f6a13f226da3

See more details on using hashes here.

File details

Details for the file yatotem2scdl-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: yatotem2scdl-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for yatotem2scdl-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3b832b4ebd532f487ffdd50286248041c225f16ebdb9a5d736cf1f10d449388f
MD5 eccd755c1d3f15cdc0aa854539a24140
BLAKE2b-256 15414ead753ffa9d9f2103de7ec3ce0059f7bbe57f6e304b0d965d0360dce7f7

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