Pyrlamento
Government information wrapper
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)
Metadata
Release files for pyrlamento 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrlamento-0.0.2.tar.gz | 5.1 kB | Without provenance | Details for pyrlamento-0.0.2.tar.gz |
Release files / pyrlamento-0.0.2.tar.gz
| Download URL | pyrlamento-0.0.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
821fe1a163fb1cdc445ad1998c528a965ba014b79f52fb9168194b2491d41827
|
|
BLAKE2b-256 checksum How to use checksums |
fa79b282ba5a35a41139b7c9d650b9640af8d1fa4290a43a30746356d51181da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for pyrlamento 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.