fala-parlamentar
Obtém os discursos dos parlamentares via webscraping mantendo a url para a publicação do texto
instalação
pip install fala-parlamentar
como usar
discursos senadores
In [1]: from fala_parlamentar import get_discursos_senador
In [2]: discursos = get_discursos_senador(3830, "2019-01-01", "2020-01-01") #id do Davi Alcolumbre
In [3]: discursos[0]
Out[3]:
{'titulo': 'Pronunciamento de Davi Alcolumbre em 12/12/2019',
'url_texto': 'http://www25.senado.leg.br/web/atividade/pronunciamentos/-/p/texto/463401',
'transcricao': 'O SR. PRESIDENTE (Davi Alcolumbre. Bloco/DEM - AP) – Eu gostaria de agradecer a todos que nos honraram com a presença nesta sessão solene. \nE declaro encerrada esta sessão.'}
discursos deputados
In [1]: from fala_parlamentar import get_discursos_deputado
In [2]: discursos = get_discursos_deputado("Domingos Neto", "2019-10-01", "2020-01-01")
In [3]: discursos[18]
Out[3]:
{'urlTexto': 'https://www.camara.leg.br/internet/sitaqweb/TextoHTML.asp?etapa=5&nuSessao=11.2019&nuQuarto=77720&nuOrador=11&nuInsercao=11&dtHorarioQuarto=17:00&sgFaseSessao=OD&Data=20/02/2019&txApelido=RODRIGO%20MAIA%20(PRESIDENTE),%20DEM-RJ&txFaseSessao=Ordem%20do%20Dia&txTipoSessao=Deliberativa%20Ordin%C3%83%C2%A1ria%20-%20CD&dtHoraQuarto=17:00&txEtapa=',
'transcricao': 'O SR. PRESIDENTE (Rodrigo Maia. Bloco/DEM - RJ) - Eu já recolhi a sua questão de ordem e vou indeferi-la, porque, por mais que boa parte do texto esteja prejudicada, ainda sobra algo que permanece.Então, infelizmente, não tem como deferir a sua questão de ordem.',
'titulo': 'Pronunciamento de Rodrigo Maia em 20/02/2019'}
Metadata
Release files for fala-parlamentar 0.1.1
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 |
|---|---|---|---|---|
| fala-parlamentar-0.1.1.tar.gz | 5.1 kB | Without provenance | Details for fala-parlamentar-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fala_parlamentar-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for fala_parlamentar-0.1.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / fala-parlamentar-0.1.1.tar.gz
| Download URL | fala-parlamentar-0.1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be1ac1270c386820a6eefe68a9f1f931e8dd0d1da6df7a0c0be2165dec726116
|
|
BLAKE2b-256 checksum How to use checksums |
7e346a99f01a275e8beb05252ce1573fba6344d03bc161d34c68466697398b93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / fala_parlamentar-0.1.1-py3-none-any.whl
| Download URL | fala_parlamentar-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eb917eeca79864f47632143f91c778e79c9562dc4539fcd30f6bf19a7c13b76
|
|
BLAKE2b-256 checksum How to use checksums |
9fb85f8933f92fd488db6175b2f77cd1d93358232f60fb0c438b66fa9a85e167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for fala-parlamentar 0.1.1
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.