Skip to main content

client for

Project description


python client for


std usage

simply pip install onlaw_api_client

For a minimal example see examples/


  • clone the repo : git clone
  • venv: python3 -m venv venv
  • activate: source venv/bin/activate
  • update dependencies: pip-compile >
  • install: pip install -r
  • sync dependencies: pip-sync
  • install onlaw api client from local source: pip install -e .
  • install pre-commit hooks: pre-commit install

new dependencies

  • Add them to in install_requires.
  • To generate a new requirements.txt: pip-compile

testing package

  • build package (remember if neccesary to change version in make pypitest
  • create new venv and activate it, and install package: pip install --index-url onlaw_api_client --upgrade --extra-index-url --no-deps. Note the --no-deps arguments which prevent dependencies to be installed. test.pypi does not have all packages and hence installation from test.pypi most likely fail.

publish new package

  • bump version number in
  • make pypiprod

Project details

Download files

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

Source Distribution

onlaw_api_client-0.1.13.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

onlaw_api_client-0.1.13-py3-none-any.whl (16.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page