Spaces:
Running
Running
Lode Nachtergaele
commited on
Commit
·
4654ceb
1
Parent(s):
42f4c9c
use uv for packaging, test gitingest in test.py
Browse files- .python-version +1 -0
- pyproject.toml +9 -0
- test.py +8 -0
- uv.lock +0 -0
.python-version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
3.12
|
pyproject.toml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "first-agent-template"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = "Add your description here"
|
5 |
+
readme = "README.md"
|
6 |
+
requires-python = ">=3.12"
|
7 |
+
dependencies = [
|
8 |
+
"gitingest>=0.1.3",
|
9 |
+
]
|
test.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from gitingest import ingest
|
2 |
+
|
3 |
+
# summary, tree, content = ingest("https://github.com/cast42/search-x-likes/")
|
4 |
+
|
5 |
+
summary, tree, content = ingest("https://github.com/cyclotruc/gitingest")
|
6 |
+
print(f"{summary=}")
|
7 |
+
print(f"{tree=}")
|
8 |
+
print(f"{content=}")
|
uv.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|