Skip to main content

Base library providing basic pathfinder REST api access utilities

Project description

Base library providing basic pathfinder REST api access utilities.

Documentation and examples available under the doc directory, can be built via sphinx for easy reading.

cd doc
pip install -U sphinx
make html
firefox _build/html/index.html

Script usage examples are documented in scripts/README.md.

Baselayer workflow (upload + update)

Upload a new dataset:

python scripts/upload_baselayer.py /path/to/layer.zip --name "Roads v1"
python scripts/upload_baselayer.py /path/to/dem.tif --raster --name "DEM v1"

Update an existing BaseLayer source file by ID:

python scripts/update_baselayer.py 123 /path/to/layer_v2.zip
python scripts/update_baselayer.py 456 /path/to/dem_v2.tif

For detailed options and compatibility notes, see scripts/README.md.

Testing

Create a new .env file from .env.example and change the values. Just run the function from a python shell or from command line.

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

libpfapi-0.4.6.tar.gz (122.1 kB view details)

Uploaded Source

Built Distribution

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

libpfapi-0.4.6-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

Details for the file libpfapi-0.4.6.tar.gz.

File metadata

  • Download URL: libpfapi-0.4.6.tar.gz
  • Upload date:
  • Size: 122.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for libpfapi-0.4.6.tar.gz
Algorithm Hash digest
SHA256 40ae7fb939f87fd700bc18d7666d61e7945b5793dbffe888d693310d6766f053
MD5 608d3f192a64d2f98c2105fa4dd18fa6
BLAKE2b-256 527be781e345d5f12c04a41e1bc574922c3d1995565e5a2354c4000383c4f374

See more details on using hashes here.

File details

Details for the file libpfapi-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: libpfapi-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for libpfapi-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2b0fe91cf4dc76e7908de8badad00748edb5f6e6f770ec36cebbe825391e6177
MD5 1c07f01a21cd125e79d2dc45858f3358
BLAKE2b-256 01bc4745e4804c72c9d10db662ade4586c04d4b4559f0fc0cefb4247ef06b076

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