catleg
A library of helper tools for catala programming in the context of French legislative texts.
Installing
catleg requires python >= 3.10
from PyPI
pip install catleg
from a source clone
pip install .
from github
pip install 'catleg @ git+https://github.com/CatalaLang/catleg@main'
You may replace main with any ref (commit SHA, tag, branch...)
Running catleg
Run catleg --help for a list of commands.
Legifrance credentials
catleg uses the Legifrance API (though we hope to provide our own API soon!) to access French legislative texts.
This API is authenticated and requires credentials, which may be obtained by registering on the Piste portal.
To provide credentials to catleg, create a .catleg_secrets.toml file like so:
lf_client_id = "your_client_id"
lf_client_secret = "your_client_secret"
Alternatively, you may define the environment variables CATLEG_LF_CLIENT_ID and CATLEG_LF_CLIENT_SECRET.
Metadata
Release files for catleg 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| catleg-0.2.9.tar.gz | 44.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| catleg-0.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.3 kB
Release files / catleg-0.2.9.tar.gz
| Download URL | catleg-0.2.9.tar.gz |
|---|---|
| Size | 44.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b14a478340034b88010baf5bc6e371d07e75bfd9c446aa006049b59daebd09db
|
|
BLAKE2b-256 checksum How to use checksums |
c6ad086c62a3ef2829240749556dfde31767ed0130dbb40459184518a91f3abf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1
|
Release files / catleg-0.2.9-py3-none-any.whl
| Download URL | catleg-0.2.9-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
508327bebb47848be26fbac47f4faa386476fefc766c507d8193ac996fbddbd1
|
|
BLAKE2b-256 checksum How to use checksums |
01e31e071ef968f09180a38685899c3fcec94075fe8d25f1e92ab6011bd64072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1
|