This commit is contained in:
2025-10-24 11:21:01 +04:00
parent dea3b0ec7f
commit 052557537f
19 changed files with 34 additions and 467 deletions

View File

@@ -3,7 +3,7 @@ Name: herolib
Version: 0.1.0
Summary: A Python library for HeroCode
Author-email: Kilo Code <kilo.code@example.com>
Requires-Python: >=3.12
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: peewee
Requires-Dist: psutil>=5.9.0
@@ -33,6 +33,12 @@ To install in editable mode for development:
uv pip install -e git+https://git.ourworld.tf/herocode/herolib_python.git#egg=herolib
```
To install from a local path (if you have cloned the repository locally):
```bash
uv pip install -e "$HOME/code/git.ourworld.tf/herocode/herolib_python"
```
## Usage
Once installed, you can import modules from the `herolib` package:

View File

@@ -64,10 +64,6 @@ herolib/downloader/scrape_scapegraph/scrape_md.py
herolib/downloader/scrape_scapegraph/scrape_search.py
herolib/downloader/scrape_scapegraph/scrape_with_local_llm.py
herolib/downloader/scrape_scapegraph/scrape_with_local_llm_search.py
herolib/infra/tmuxrunner/model.py
herolib/infra/tmuxrunner/process_monitor.py
herolib/infra/tmuxrunner/task_runner.py
herolib/infra/tmuxrunner/task_runner_api.py
herolib/tools/__init__.py
herolib/tools/extensions.py
herolib/tools/gitscanner.py
@@ -76,8 +72,4 @@ herolib/tools/md5.py
herolib/tools/ourtime.py
herolib/tools/pathtools.py
herolib/tools/texttools.py
herolib/web/__init__.py
herolib/web/doctools/__init__.py
herolib/web/doctools/html_replacer.py
herolib/web/doctools/md_replacer.py
herolib/web/doctools/processor.py
herolib/web/__init__.py