Skip to main content

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/*

Générer les plans de comptes

Testé avec nodejs v16.20.2 et python 3.11.5

npm ci
npm run build
npm run run # Télécharge les plans de compte dans le dossier output
  • Copier coller les plans de compte dans le dossier correspondant.

Metadata

Release files for yatotem2scdl 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yatotem2scdl 0.1.5
File Size Uploaded Provenance Actions
yatotem2scdl-0.1.5.tar.gz 14.3 kB Without provenance Details for yatotem2scdl-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yatotem2scdl 0.1.5
File Interpreter ABI Platform Actions
yatotem2scdl-0.1.5-py3-none-any.whl Python 3 none any Details for yatotem2scdl-0.1.5-py3-none-any.whl

Total release size: 27.4 kB

Release files / yatotem2scdl-0.1.5.tar.gz

Download URL yatotem2scdl-0.1.5.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4e65b0ac3665ff5d5a2cddabc71c9751a028d990fb301b11116b8dbccce54671
BLAKE2b-256 checksum
How to use checksums
51431b6131eb60049e303efca671a1fe198a2c262713782d9c6bd9f2e7d86735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / yatotem2scdl-0.1.5-py3-none-any.whl

Download URL yatotem2scdl-0.1.5-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a0c985e6caea16f69fd7e6bc3248d8da235efbb175263d5024de0c490dd955e
BLAKE2b-256 checksum
How to use checksums
0bf4e04684ab5063a2a5d9aae90927a2cbaa8f0a308bfce0c3bfca51157f6f03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for yatotem2scdl 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page