{"id":18884088,"url":"https://github.com/edpomacedo/bdij-listas","last_synced_at":"2026-02-22T09:30:18.273Z","repository":{"id":211721728,"uuid":"729812175","full_name":"edpomacedo/bdij-listas","owner":"edpomacedo","description":"Criação de tabelas wikitext a partir de consultas SPARQL na Base de Dados de Institutos Jurídicos","archived":false,"fork":false,"pushed_at":"2023-12-16T19:42:42.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T04:22:18.465Z","etag":null,"topics":["beautifulsoup4","python","requests","tabulate"],"latest_commit_sha":null,"homepage":"https://web.bdij.com.br","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edpomacedo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-10T12:45:05.000Z","updated_at":"2023-12-10T14:33:08.000Z","dependencies_parsed_at":"2023-12-16T20:31:47.587Z","dependency_job_id":"8befb769-6652-4f30-8e11-ca7de1a83ce7","html_url":"https://github.com/edpomacedo/bdij-listas","commit_stats":null,"previous_names":["edpomacedo/bdij-listas"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edpomacedo%2Fbdij-listas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edpomacedo%2Fbdij-listas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edpomacedo%2Fbdij-listas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edpomacedo%2Fbdij-listas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edpomacedo","download_url":"https://codeload.github.com/edpomacedo/bdij-listas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239854155,"owners_count":19708011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautifulsoup4","python","requests","tabulate"],"created_at":"2024-11-08T07:10:54.549Z","updated_at":"2026-02-22T09:30:18.227Z","avatar_url":"https://github.com/edpomacedo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bdij-listas\n\n![doi:10.5281/zenodo.10339637](https://zenodo.org/badge/DOI/10.5281/zenodo.10339637.svg)\n\nCriação de tabelas wikitext a partir de consultas SPARQL na Base de Dados de Institutos Jurídicos.\n\n## Estrutura\n\n- `/tables`: Diretório para armazenamento das consultas renderizadas em tabela wikitext.\n\n## Pré-requisitos\n\nRequer-se as bibliotecas `requests`, `beautifulsoup4` e `tabulate`.\n\n```bash\npip install -r requirements.txt\n```\n\n## Instalação\n\n```bash\ngit clone https://github.com/edpomacedo/bdij-listas.git\ncd bdij-listas\npython -m venv venv\n.\\venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n## Uso\n\nInsira as credenciais do consumidor [OAuth](https://web.bdij.com.br/wiki/Special:OAuthListConsumers) no arquivo `config.py`. Em seguida:\n\n1. Acesse uma página no espaço nominal `Project:` da Base de Dados de Institutos Jurídicos.\n2. Verifique se existe uma página de discussão do referido projeto, contendo uma consulta SPARQL entre as tags `\u003cpre\u003e`.\n3. Execute o comando `python main.py`.\n4. Informe no terminal a URL que contém a consulta SPARQL entre as tags `\u003cpre\u003e`.\n5. Informe no terminal qual é o espaço nominal dos registros, p.ex. `Lexeme:` ou `Item:`.\n6. Informe no terminal o nome da página de destino, cujo conteúdo será salvo, p.ex. `Direito Intertemporal`.\n\nSerá gerado um `arquivo.txt` dentro da pasta `./tables`, contendo o resultado da consulta formatado em tabela wikitext.\n\nO conteúdo registrado no `arquivo.txt` será postado na página de destino informada no terminal.\n\n## Contribuição\n\n1. Faça um fork do projeto\n2. Crie uma branch para a sua feature (`git checkout -b feature/nova-feature`)\n3. Faça commit das suas alterações (`git commit -am 'Adicione uma nova feature'`)\n4. Faça push para a branch (`git push origin feature/nova-feature`)\n5. Crie um novo Pull Request\n\n## Licença\n\nCopyright 2023 EDPO AUGUSTO FERREIRA MACEDO\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Contato\n\n[Base de Dados de Institutos Jurídicos](https://github.com/bdij)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedpomacedo%2Fbdij-listas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedpomacedo%2Fbdij-listas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedpomacedo%2Fbdij-listas/lists"}