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.5.tar.gz (119.4 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.5-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for libpfapi-0.4.5.tar.gz
Algorithm Hash digest
SHA256 0990f90f76f6102316e06021ec57c2d1799595c5f72739fcd3f97ae78f8e63d1
MD5 b673987e5c409b9615012a947c482395
BLAKE2b-256 ba4e686ba0de673ab9ff9dad8a3c326bf6692e172a02e1e8f0f39af3590c7e58

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for libpfapi-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 68d42768225ddeaf04238452f364c5d35cc288a5d0087cf135bb2b5013718f08
MD5 a351dd3aca8ee663b59d4b3a408f2f2e
BLAKE2b-256 d0e98428b0b09f621b8adc196fb93e2f7c0c22269120a1eb31327059f893ecd0

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