Skip to main content

Python client for legifrance.gouv.fr website

Project description

legipy

Build Status codecov

Python client for the legifrance.gouv.fr website.

CLI usage

The command-line script legipy gives access to service commands from the command line and outputs data in JSON format.

Legislature

Access to the legislature.

List legislatures

legipy legislatures

List published laws

legipy published_laws [--legislature=CURRENT]

List pending law projects

legipy law_projects [--legislature=CURRENT]

List pending law proposals

legipy law_proposals [--legislature=CURRENT]

List common laws ("Lois dites")

legipy common_laws

Show specific law

legipy law JORFDOLE000024106525

Applicable codes

Access to the applicable codes.

List applicable codes

legipy codes

Show code details

legipy code LEGITEXT000006074075
legipy code --date-pub 2018-05-01 LEGITEXT000006074075

Show code section details

legipy code_section LEGITEXT000006074075 LEGISCTA000006107991
legipy code --date-pub 2018-05-01 LEGITEXT000006074075 LEGISCTA000006107991

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

legipy-0.1.2.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

legipy-0.1.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file legipy-0.1.2.tar.gz.

File metadata

  • Download URL: legipy-0.1.2.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 PyPy/6.0.0

File hashes

Hashes for legipy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 38c4d0f160872d32c8a68465817c14890b224d5d5b3d07acec68b652773b0e9e
MD5 9714d3f149b6937364f6afe28c8b8d94
BLAKE2b-256 1d415ac5ed03d9d0d6ee1336cc2e311e2a7358fcfe6d4e95b58e5ceb89ff8015

See more details on using hashes here.

File details

Details for the file legipy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: legipy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 PyPy/6.0.0

File hashes

Hashes for legipy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08e50090b6ab902d70373caf3da8b2c692e888a44477b23f792130ec2b131771
MD5 c08674730bac3494f2603ca5ae83ad8a
BLAKE2b-256 bf9cbde8ff0670d7ad8de02fe3cbfdc01d78d25b38c4fb508840ba6618efc0a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page