Parse OpenEO process graphs from JSON to traversible Python objects.
Project description
PG Parser
Python package to parse OpenEO process graphs from raw JSON into fully traversible networkx
graph objects.
Installation
TODO: Publish this project to pypi.
Development environment
openeo-pg-parser-networkx
requires poetry >1.2
, see their docs for installation instructions.
To setup the python venv and install this project into it run:
poetry install
To add a new core dependency run:
poetry add some_new_dependency
To add a new development dependency run:
poetry add some_new_dependency --group dev
To run the test suite run:
poetry run python -m pytest
Note that you can also use the virtual environment that's generated by poetry as the kernel for the ipynb notebooks.
Pre-commit hooks
This repo makes use of pre-commit hooks to enforce linting & a few sanity checks.
In a fresh development setup, install the hooks using poetry run pre-commit install
.
These will then automatically be checked against your changes before making the commit.
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
Hashes for openeo_pg_parser_networkx-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19ebbb4975f5868c9861d84f95402fb0f08eb4e6311c6c8e836887f4d6aaa8ce |
|
MD5 | 731163eeb0ec15e7365b4e83738e68a3 |
|
BLAKE2b-256 | 325ef3f3e9da7e0cb7b9d15a2f2807e6ad5adc5ad10afcc4fb583593e5e4e223 |
Hashes for openeo_pg_parser_networkx-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e3834dc2c3ffbe6d9625d5a51c12bba05469a5ae3160c56636455b4fa3ff3c |
|
MD5 | d72245012c89ff6036cf9b073ca2f5d1 |
|
BLAKE2b-256 | a2823e7a999ba1003c7278ea0ea5ceab01193ad8fc338f718089c222db6d7a1d |