client for api.onlaw.dk
Project description
onlaw_api_client
python client for api.onlaw.dk
installation
std usage
simply
pip install onlaw_api_client
For a minimal example see examples/query.py
development
- clone the repo :
git clone https://github.com/Onlaw/onlaw_api_client.git
- venv:
python3 -m venv venv
- activate:
source venv/bin/activate
- install:
pip install -r requirements.dev.txt
- install onlaw api client from local source:
pip install -e .
- install pre-commit hooks:
pre-commit install
new dependencies
- Add them to
setup.py
ininstall_requires
. - To generate a new
requirements.txt
:pip-compile
testing package
- build package (remember if neccesary to change version in
setup.py
):make pypitest
- create new venv and activate it, and install package:
pip install --index-url https://test.pypi.org/simple/ onlaw_api_client --upgrade --extra-index-url https://test.pypi.org/simple/ --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.
Project details
Release history Release notifications | RSS feed
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.7.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for onlaw_api_client-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e597e03ac50f9a5f45129ce1cc218e4ad59ee0f59fbe7066b994549e9cef7da6 |
|
MD5 | 458f5f57d90b4bb6e5d9cf3f0b7bf2f2 |
|
BLAKE2b-256 | 594a6c90b23607661ee2af8cc5862bf3459b82594cf001a12f2a2c99dadd060d |