Skip to content


Repository files navigation

le-n-x is a set of tools for navigating legislation.

© 2009-2011 by Stefan Marsiske <>, Adam Tauber <>
Licensed under the GNU Affero General Public License v3 (at your option) any later version.

  • arach: artful shell script to scrape eur-lex legislative texts.
  • bonobo: greasemonkey script for displaying tagclouds when browsing eur-lex
  • fetch et all: django backend for bonobo.

The django backend has some dependencies:


  1. install OS-level dependencies
    sudo aptitude install git mongodb-server mongodb-clients python-virtualenv python-dev libhunspell-dev hunspell-en-us tidy libxslt1-dev
  2. clone pippi
    git clone git:// pippi
    cd lenx
  3. create virtual environment
    virtualenv —no-site-packages env
    easy_install Django beautifulsoup pymongo django-tinymce pyyaml django-registration django-piston lxml guess-language
    easy_install ‘
    easy_install ‘
    easy_install ‘
  4. on debian unstable this might work (or you can modify pyhunspell to link against 1.3)
    ln -s /usr/lib/i386-linux-gnu/ /usr/lib/i386-linux-gnu/
  5. init the db
    python ./ syncdb
  6. serve tinymce – may need to be adjusted accordingly – use tab wisely ;)
    cp -r env/lib/python2.7/site-packages/django_tinymce-1.5.1a2-py2.7.egg/tinymce/static/tiny_mce/ media/js/
  7. and finally
    python ./ runserver

Thx for IS support to Björgvin Ragnarsson