Skip to main content

Generic interface to legal systems

Project description

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)


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)

Project details

Download files

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

Files for pyrlamento, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyrlamento-0.0.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page