BundesTagger.de is a site for annotating and referencing parts of German parliament (the Bundestag) protocols. It's a Django project and created by Stefan Wehrmeyer.
This project does not contain parsers for the parliament protocol PDF files, it's just the website as seen on Bundestagger.de.
This project contains mostly only bundestagger specific code, all generic bits written for it are in their own git repository (see requirements.txt). The following apps are included in bundestagger:
-
account: A simpler contrib.auth with only OpenID as login (uses django_openid)
-
api: provides RESTish resource handlers via piston
-
bundesstats: can calculate statistics and store the results and underlying function
-
bundestag: all models and views around parliament debates
-
bundestagging: views and templatetags on top of django_tagging
-
helper: helper stuff
-
search: not in use right now, but contains some code to enable Yahoo BOSS search
In addition to the external apps mentioned above (django_openid, piston, tagging), the following apps come in as dependencies:
-
pagination: uh, you know what it does
-
django_compress: a fork of django_compress adding a feature or two.
-
lazyinclude Basically includes session based templates into cached pages
-
annotatetext Allows to annotate text fields of objects (currently needs bundestagger branch)
-
improvetext Handles suggestion for text changes in admin (currently needs bundestagger branch)
All dependencies are either MIT, BSD or New BSD. This project is licensed under the MIT License.
In a fresh virtualenv (you are using virutalenvs, right?):
git clone git://github.com/stefanw/Bundestagger.git
Have a look at the dependencies in requirements.txt (e.g. if you don't want to use MySQL, remove it). Then do:
pip install -r requirements.txt
Setup a local_settings.py with appropriate Database settings.
You can load a dump with all available parliament data from my website. Be aware that this dataset is only complete for the 16th German Bundestag, it contains data the end of 15th and the start of 17th. Also note that there is no guarantee for consistency, correctness or completeness of the data.
Then do:
python manage.py syncdb
python manage.py runserver
If everything works fine, you have now a bundestagger server running. To compress your media files, adapt the COMPRESS_* in settings.py and run
python manage.py synccompress