JQ dependency is too heavy for some setups
- Dominant language
- Python
- Stars
- 26
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Depending on the jq library makes it difficult to install kcidb in restricted environments, particularly in AWS Lambda, which e.g. Tuxsuite uses.
Consider other options, e.g.:
* Replace jq with a custom pure-Python implementation. Shouldn't be too hard, as JSON specification is simple and well-defined, but might be rather slow on big datasets.
* Create separate tools with streaming support (e.g. `kcidb-submit-stream`, `kcidb-db-dump-stream`, `kcidb-db-load-stream`, and so on), and move them to a separate package, along with jq dependency.
* Use a library able to print out / parse JSON objects incrementally, and instead input/output complete JSON objects.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by auditing where the jq dependency is used across kcidb and how the named tools—kcidb-submit-stream, kcidb-db-dump-stream, and kcidb-db-load-stream—would be affected. Compare the proposed dependency, streaming, and packaging alternatives; done requires a decided approach that works in restricted environments while preserving the relevant tool behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100