Skip to main content

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 and in your code import onlaw_api_client

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

new dependencies

  • Add them to setup.py in install_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


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.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onlaw_api_client-0.1.2-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file onlaw_api_client-0.1.2.tar.gz.

File metadata

  • Download URL: onlaw_api_client-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for onlaw_api_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dc8b9267572bc75bfe834b69a205233c144466b8d2d22149838c66195832996c
MD5 e97b5d842dc9fad2076825ea013f6137
BLAKE2b-256 d99d10e79870f16c12df08c7a634bdc18e717c2fd2920fe7fb345845ec353c15

See more details on using hashes here.

File details

Details for the file onlaw_api_client-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: onlaw_api_client-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for onlaw_api_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 afaec653884ba0eee0200a2d3c43f7a825612688365aba7bd6c519456051af39
MD5 2c5d2ee78d099a6179b48c8eccf19abc
BLAKE2b-256 6f79a30290a13d0e489e6dc163ba1fd6fa7b5c71030cfe682b762bc94dafd16a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page