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.
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
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
Built Distribution
File details
Details for the file crabpy-1.4.0.tar.gz
.
File metadata
- Download URL: crabpy-1.4.0.tar.gz
- Upload date:
- Size: 227.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e69045ffa87043901f07c7db05dd7a52f394c2665a0d9ef423ee5e31bd3c61f |
|
MD5 | 71ee8aa31262eeea4eab9ac78cb34e17 |
|
BLAKE2b-256 | cfe9fa53890b4e5e0740110a1a0b218a79f579bcf27528679b49ac739c46c6c1 |
File details
Details for the file crabpy-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: crabpy-1.4.0-py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a139f919938129e0c2cea14a689631c284ae67535f38433ebd91c2c2ed54d96e |
|
MD5 | c3d60d13fcef1eeefba315f7a99f109f |
|
BLAKE2b-256 | 54773af3e1baa1c8d2ca480c3e6258571c7a4385a6f668ed8ddabbb2716b4fc1 |