A Python Library for various tasks in an EKG DataOps operation.
ekglib is not yet published on PyPI. You can install it directly from GitHub.
Using uv from GitHub (recommended)
Add ekglib as a dependency from GitHub:
uv add --git https://github.com/EKGF/ekglib.git
You can then run the provided CLI tools via uv:
uv run xlsx-parser --help
uv run user-story-parser --help
uv run pipeline-example --help
To install the CLI tools as global commands (similar to pipx):
uv tool install --git https://github.com/EKGF/ekglib.git
xlsx-parser --help
user-story-parser --help
pipeline-example --help
Using pip from GitHub
If you prefer to use pip, you can install from the GitHub repo:
python -m pip install "git+https://github.com/EKGF/ekglib.git"
The console scripts will then be available on your PATH:
xlsx-parser --help
user-story-parser --help
pipeline-example --help
If you cloned this repository and want to work on ekglib itself:
uv sync
This will create and populate a virtual environment using uv based on pyproject.toml.
To run all tests:
uv run pytest
To run a single test:
uv run pytest tests/<path-to-test> -k <name-of-test>
uv build