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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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