Skip to main content

This library is an interface between your program and the various legal systems. It is still very very bare (only works with the portuguese Diário da República), yet its aim is to work seamlessly with other systems as needed.

Ideally you’d specify the country and what you want, and you’d have it.

This should eventually be able to retrieve

  • Laws

  • Public legal documents

  • Profiles of politicians

  • Other information within the public interest.

Supported countries

  • Portugal (Laws and document URLs only)

Usage

from pyrlamento import Pyrlamento
from datetime import date
pyrlamento = Pyrlamento('countries.portugal')
publications = pyrlamento.publicationsdDate(2019, 1, 1), date(2019, 2, 1))
diploma = pyrlamento.diploma(1234567890)

Download files

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

Source Distribution

pyrlamento-0.0.2.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file pyrlamento-0.0.2.tar.gz.

File metadata

  • Download URL: pyrlamento-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for pyrlamento-0.0.2.tar.gz
Algorithm Hash digest
SHA256 821fe1a163fb1cdc445ad1998c528a965ba014b79f52fb9168194b2491d41827
MD5 a1bb04f780ae8b6cfb8fe7eb44ed577a
BLAKE2b-256 fa79b282ba5a35a41139b7c9d650b9640af8d1fa4290a43a30746356d51181da

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

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