All Projects → cuducos → Raspadorlegislativo

cuducos / Raspadorlegislativo

Licence: agpl-3.0
Testes de código para integrar, futuramente, o Radar Legislativo

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Raspadorlegislativo

Javascript Algorithms
Stars: ✭ 6,893 (+40447.06%)
Mutual labels:  hacktoberfest
Liquidctl
Cross-platform CLI and Python drivers for AIO liquid coolers and other devices
Stars: ✭ 830 (+4782.35%)
Mutual labels:  hacktoberfest
Web
React web interface for the OpenDota platform
Stars: ✭ 889 (+5129.41%)
Mutual labels:  hacktoberfest
Js Interview Questions
❔❓❔ Notes from technical (javascript) interviews. Tasks and quiz for different topics to discuss on interview / check self skills in javascript
Stars: ✭ 830 (+4782.35%)
Mutual labels:  hacktoberfest
Pact Jvm
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
Stars: ✭ 833 (+4800%)
Mutual labels:  hacktoberfest
Wwcode Hacktoberfest 2020
🌎 No intuito de colaborar e incentivar a participação de mais mulheres na comunidade open source , um pull request por vez, nós do Women Who Code Recife, criamos um projeto para participarmos desta causa incrível, e toda comunidade poder colaborar
Stars: ✭ 16 (-5.88%)
Mutual labels:  hacktoberfest
Guess
🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web
Stars: ✭ 6,762 (+39676.47%)
Mutual labels:  hacktoberfest
Opendevufcgblog
Tem algum conteúdo que você quer compartilhar com a comunidade? Fala com o OpenDevUFCG que a gente te impulsiona!
Stars: ✭ 17 (+0%)
Mutual labels:  hacktoberfest
Azure Sdk For Java
This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
Stars: ✭ 834 (+4805.88%)
Mutual labels:  hacktoberfest
Gcommit
GCommit is a git-plugin that eases pair-programming commits
Stars: ✭ 16 (-5.88%)
Mutual labels:  hacktoberfest
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+4788.24%)
Mutual labels:  hacktoberfest
Django Rest Framework Gis
Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.
Stars: ✭ 830 (+4782.35%)
Mutual labels:  hacktoberfest
Wakame
Haskell library of row polymorphic record manipulator
Stars: ✭ 16 (-5.88%)
Mutual labels:  hacktoberfest
Automatic Ripping Machine
Automatic Ripping Machine (ARM) Scripts
Stars: ✭ 827 (+4764.71%)
Mutual labels:  hacktoberfest
Dotfiles Manager
A powerful POSIX shell dotfiles manager program
Stars: ✭ 17 (+0%)
Mutual labels:  hacktoberfest
Sfml
Simple and Fast Multimedia Library
Stars: ✭ 7,316 (+42935.29%)
Mutual labels:  hacktoberfest
Abapgit
Git client for ABAP
Stars: ✭ 835 (+4811.76%)
Mutual labels:  hacktoberfest
Ndarray Vision
Computer vision library built on top of ndarray
Stars: ✭ 17 (+0%)
Mutual labels:  hacktoberfest
Cli Prompts Test
Write e2e tests for CLI apps with ease
Stars: ✭ 17 (+0%)
Mutual labels:  hacktoberfest
Vibranium Dark Mode
This awesome Progressive Web App was created for Developer Student Clubs in Sub Saharan Africa as a profile and a platform to showcase what they're upto in events, outreach to local businesses and showcases and most importantly their success stories to the world.
Stars: ✭ 16 (-5.88%)
Mutual labels:  hacktoberfest

Raspador Legislativo

Repositório de testes de código para integrar, futuramente, o Radar Legislativo. O objetivo é automatizar a inclusão de projetos de lei e aganda de tramitação no Radar de acordo com palavras chaves.

Configurações

Copie os arquivos de configuração e edite-os de acordo com o desejado:

$ cp .env.sample .env
$ cp secrets/keywords.json.sample secrets/keywords.json

Coletando todos os projetos de lei

Não configurar a variável KEYWORDS faz com que o Raspador colete dados sobre todos os projetos de lei em tramitação desde START_DATE, mas nesse caso o Raspador não envia os resultados para a API do Radar Legislativo.

Enviando os dados para o Radar Legislativo

Configurando as variáveis RASPADOR_API_URL e RASPADOR_API_TOKEN de acordo com sua instância do Radar Legislativo faz com que os projetos de lei encontrados sejam enviados para o Radar desde que houver ao menos uma palavra-chave configurada no arquivo configurado na variávem de ambiente KEYWORDS.

Instalação em container (com Docker)

Requer Docker e Docker Compose.

Para rodar todos os raspadores:

$ docker-compose run --rm scrapy scrapy crawl camara
$ docker-compose run --rm scrapy scrapy crawl senado
$ docker-compose run --rm scrapy scrapy crawl agenda_camara
$ docker-compose run --rm scrapy scrapy crawl agenda_senado

Verifique o resultado no diretótio data/ (ou, se for o caso, na sua instância do Radar Legislativo).

Testes

docker-compose run --rm scrapy py.test

Instalação local (sem Docker)

Requer Python 3.6 com Pipenv.

Instale as dependências e entre no virtualenv:

$ pipenv install
$ pipenv shell

Para rodar todos os raspadores:

$ scrapy crawl camara
$ scrapy crawl senado
$ scrapy crawl agenda_camara
$ scrapy crawl agenda_senado

Verifique o resultado no diretótio data/ (ou, se for o caso, na sua instância do Radar Legislativo).

Testes

py.test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].