Skip to main content

Interact with geographical webservices by Informatie Vlaanderen.

Project description

CRABpy

This library provides access to the CRAB and CAPAKEY webservices operated by the AGIV. Because connecting to these SOAP services from python can be somewhat complicated, this library makes it easier.

docs pypi CI Coverage

Build wheel or sdist

pip install hatch
hatch build
hatch build -t wheel
hatch build -t sdist

Work with pip-compile / pip-sync

full docs: https://pip-tools.readthedocs.io/en/latest/

To start, first install pip-tools:

pip install pip-tools

uv (optional)

You can also use uv and for the remainder of the readme replace pip, pip-compile or pip-sync by uv pip, uv pip compile and uv pip sync.

uv is a very fast replacement for pip-toools. It's optional, but can save a lot of time.

pip install uv

Install requirements: pip-sync

Note, pip-sync also uninstalls everything from the virtualenv which does not belong there according to the requirements file. This includes the project itself. You will have to install crabpy again after pip-sync. Since the requirements file of pip-sync is still a normal requirements file you can also use pip install -r to install all libraries defined in it. This will not cleanup your virtualenv and uninstall other libraries.

The compiled requirements files are made in a 3.11 environment.

pip-sync requirements-dev.txt
pip install -e .

requirements-dev.txt contains all libraries uncluding those for testing and development.

requirements.txt contains only the necessary libraries for running the library.

Update requirements: pip-compile

echo -e "\nStarting"
PIP_COMPILE_ARGS="-q --strip-extras --no-header --resolver=backtracking --no-emit-options pyproject.toml"
pip-compile $PIP_COMPILE_ARGS -o requirements.txt;
echo "requirements.txt done"
pip-compile $PIP_COMPILE_ARGS --extra dev -o requirements-dev.txt;
echo "requirements-dev.txt done"
echo "Finished"

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

crabpy-1.5.0.tar.gz (228.1 kB view details)

Uploaded Source

Built Distribution

crabpy-1.5.0-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file crabpy-1.5.0.tar.gz.

File metadata

  • Download URL: crabpy-1.5.0.tar.gz
  • Upload date:
  • Size: 228.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.20

File hashes

Hashes for crabpy-1.5.0.tar.gz
Algorithm Hash digest
SHA256 74de028841dff6d884a349489c218d47ea82f11149dc6fb9855e2fdfaf27c0c2
MD5 ffdd9d0fa610c2fb6feb45764a522c24
BLAKE2b-256 f3ff0b677eb432dcd7016174b594862cfe4cf3b51c8e30e7cee54672d762d1b2

See more details on using hashes here.

File details

Details for the file crabpy-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: crabpy-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.20

File hashes

Hashes for crabpy-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc5b00c3ab10004f5289fd9200232e213b9f03eadc375284224911164fbe977e
MD5 b6a9b248c4931d82be0a97b20f585534
BLAKE2b-256 342e1d8b773ab8c9e204fb6e104190127f11e1df0d1253b8a1b59b59f59f596e

See more details on using hashes here.

Supported by

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