https://github.com/bundestag/gesetze-tools
Scripts to maintain German law git repository
https://github.com/bundestag/gesetze-tools
bundestag germany laws scraper
Last synced: 3 months ago
JSON representation
Scripts to maintain German law git repository
- Host: GitHub
- URL: https://github.com/bundestag/gesetze-tools
- Owner: bundestag
- License: lgpl-3.0
- Created: 2012-08-07T10:42:24.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T18:28:41.000Z (over 1 year ago)
- Last Synced: 2024-12-09T13:58:33.067Z (11 months ago)
- Topics: bundestag, germany, laws, scraper
- Language: Python
- Homepage:
- Size: 25 MB
- Stars: 114
- Watchers: 33
- Forks: 21
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
BundesGit Gesetze Tools
=======================
These scripts are used to keep the law repository up to date.
Install requirements:
```bash
pip install -r requirements.txt
```
For help see their docstring, command line help or source code.
## lawde.py
Downloads all laws as XML files from
[www.gesetze-im-internet.de](http://www.gesetze-im-internet.de/)
and extracts them to a directory.
Last tested: 2017-01-14 SUCCESS
## lawdown.py
Converts all XML laws to Markdown and copies them with other files related
to the law into specified working directory.
Last tested: 2017-01-14 SUCCESS
## bgbl_scraper.py
Scrapes the table of contents of all issues of the Bundesgesetzblatt and dumps
the result to JSON.
Last tested: 2021-03-30 SUCCESS
## banz_scraper.py
Scrapes the table of contents of all available issues of the Bundesanzeiger and
dumps the result to JSON.
Last tested: 2017-01-14 SUCCESS
## vkbl_scraper.py
Scrapes the table of contents of all available issues of the Verkehrsblatt and
dumps the result to JSON.
Last tested: 2017-01-14 SUCCESS
## lawgit.py
Checks the repositories working directory for changes, tries to find relations
to table of content entries in BGBl and BAnz data, commits the changes to a branch
and merges the branch into master.
Last tested: 2017-01-14 SUCCESS