Skip to main content

Python client for website

Project description


Build Status Coverage Status

A python client for website.

Main goal

Retrieve painlessly JSON data from


Python 3


  • from pip: pip3 install senapy
  • locally: pip3 install -e .

Dossiers Legislatifs

  • Parse one: senapy-cli parse URL_or_filepath
    • example: senapy-cli parse pjl16-537 (instead of the URL, you can just give the ID)
    • warning: for now the file must be in UTF-8
  • Get all the urls: senapy-cli doslegs_urls
  • Parse many: cat urls | senapy-cli parse_many output_dir

Search services

  • QuestionSearchService to search for questions


  • pip3 install pytest
  • pytest
  • If you modify the output, there's an utility to make the tests reflect that: python tests/tools/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for senapy, version 0.2.15
Filename, size File type Python version Upload date Hashes
Filename, size senapy-0.2.15-py2.py3-none-any.whl (22.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size senapy-0.2.15.tar.gz (15.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page