@@ -23,37 +23,76 @@ A Python Library for various tasks in an EKG DataOps operation.
2323
2424## Metadata Parsers
2525
26- - [ Concept Parser] ( ekglib/ concept_parser/)
27- - [ Persona Parser] ( ekglib/ persona_parser/)
28- - [ Story Validate Rule Parser] ( ekglib/ dataops_rule_parser/)
29- - [ Story Vaidate Rules Capture] ( ekglib/ dataops_rules_capture/)
30- - [ Story Validate Rules Executor] ( ekglib/ dataops_rules_execute/)
31- - [ Use Case Parser] ( ekglib/ use_case_parser/)
32- - [ User Story Parser] ( ekglib/ user_story_parser/)
26+ - [ Concept Parser] ( concept_parser/ )
27+ - [ Persona Parser] ( persona_parser/ )
28+ - [ Story Validate Rule Parser] ( dataops_rule_parser/ )
29+ - [ Story Vaidate Rules Capture] ( dataops_rules_capture/ )
30+ - [ Story Validate Rules Executor] ( dataops_rules_execute/ )
31+ - [ Use Case Parser] ( use_case_parser/ )
32+ - [ User Story Parser] ( user_story_parser/ )
3333
3434## Capture Steps
3535
36- - [ Xlsx Parser] ( ekglib/ xlsx_parser/)
37- - [ LDAP Parser] ( ekglib/ ldap_parser/)
36+ - [ Xlsx Parser] ( xlsx_parser/ )
37+ - [ LDAP Parser] ( ldap_parser/ )
3838
3939---
4040
4141## Installation
4242
43+ ** Using ` uv ` (recommended)**
44+
45+ If you are using ` uv ` to manage your project, add ` ekglib ` as a dependency:
46+
47+ ``` bash
48+ uv add ekglib
49+ ```
50+
51+ You can then run the provided CLI tools via ` uv ` :
52+
53+ ``` bash
54+ uv run xlsx-parser --help
55+ uv run user-story-parser --help
56+ uv run pipeline-example --help
57+ ```
58+
59+ To install the CLI tools as global commands (similar to ` pipx ` ):
60+
61+ ``` bash
62+ uv tool install ekglib
63+
64+ xlsx-parser --help
65+ user-story-parser --help
66+ pipeline-example --help
67+ ```
68+
69+ ** Using ` pip ` **
70+
71+ If you prefer to use ` pip ` directly:
72+
4373``` bash
44- ./setup.sh
74+ python -m pip install ekglib
4575```
4676
47- <details >
48- <summary >⚠️ Troubleshooting: Python3 not linked</summary >
77+ The console scripts will then be available on your ` PATH ` :
78+
79+ ``` bash
80+ xlsx-parser --help
81+ user-story-parser --help
82+ pipeline-example --help
83+ ```
84+
85+ ---
86+
87+ ## Development setup (from source)
4988
50- If ` python3 ` was not linked, run :
89+ If you cloned this repository and want to work on ` ekglib ` itself :
5190
5291``` bash
53- brew link --overwrite python
92+ uv sync
5493```
5594
56- </ details >
95+ This will create and populate a virtual environment using ` uv ` based on ` pyproject.toml ` .
5796
5897---
5998
@@ -62,13 +101,13 @@ brew link --overwrite python
62101To run all tests:
63102
64103``` bash
65- ./ run-tests.sh
104+ uv run pytest
66105```
67106
68107To run a single test:
69108
70109``` bash
71- ./ run- tests.sh < name of test>
110+ uv run pytest tests/ < path-to-test > -k < name-of- test>
72111```
73112
74113---
0 commit comments