ontosight-codegraph 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/PKG-INFO +3 -3
- ontosight_codegraph-0.2.0/PUBLISH.md +34 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/README.md +1 -1
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/pyproject.toml +3 -3
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/uv.lock +20 -20
- ontosight_codegraph-0.1.0/PUBLISH.md +0 -22
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/.gitignore +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/__init__.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/cli.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/query.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/store.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/topology.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/topology_display.py +0 -0
- {ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/view.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ontosight-codegraph
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Visualize CodeGraph call subgraphs in OntoSight
|
|
5
5
|
Project-URL: Homepage, https://github.com/yifanfeng97/hyper-extract
|
|
6
6
|
Project-URL: Repository, https://github.com/yifanfeng97/hyper-extract
|
|
@@ -15,9 +15,9 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Requires-Python: >=3.11
|
|
17
17
|
Requires-Dist: networkx>=3.0
|
|
18
|
-
Requires-Dist: ontosight>=0.2.0
|
|
19
18
|
Requires-Dist: pydantic>=2.0
|
|
20
19
|
Requires-Dist: rich>=13.7.0
|
|
20
|
+
Requires-Dist: royalsolution-ontosight>=0.2.0
|
|
21
21
|
Requires-Dist: typer>=0.13.0
|
|
22
22
|
Provides-Extra: dev
|
|
23
23
|
Requires-Dist: pytest>=9.0.0; extra == 'dev'
|
|
@@ -25,7 +25,7 @@ Description-Content-Type: text/markdown
|
|
|
25
25
|
|
|
26
26
|
# OntoSight CodeGraph
|
|
27
27
|
|
|
28
|
-
Read a local [CodeGraph](https://github.com/colbymchenry/codegraph) index (`.codegraph/codegraph.db`) and visualize call subgraphs in [OntoSight](https://pypi.org/project/ontosight/).
|
|
28
|
+
Read a local [CodeGraph](https://github.com/colbymchenry/codegraph) index (`.codegraph/codegraph.db`) and visualize call subgraphs in [OntoSight](https://pypi.org/project/royalsolution-ontosight/).
|
|
29
29
|
|
|
30
30
|
## Install
|
|
31
31
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Publishing ontosight-codegraph to PyPI
|
|
2
|
+
|
|
3
|
+
Maintainers only.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
Publish **`royalsolution-ontosight` 0.2.x** first (see [`vendor/ontosight/PUBLISH.md`](../../vendor/ontosight/PUBLISH.md)).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install build twine
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Build and publish
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
cd packages/ontosight-codegraph
|
|
17
|
+
python -m build
|
|
18
|
+
twine check dist/*
|
|
19
|
+
export TWINE_USERNAME=__token__
|
|
20
|
+
export TWINE_PASSWORD='pypi-...' # scope: ontosight-codegraph or entire account
|
|
21
|
+
twine upload dist/*
|
|
22
|
+
unset TWINE_PASSWORD
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
After publishing, bump `ontosightCodegraphVersion` in `packages/ontosight/package.json` and publish the npm wrapper.
|
|
26
|
+
|
|
27
|
+
## Troubleshooting
|
|
28
|
+
|
|
29
|
+
| Error | Cause | Fix |
|
|
30
|
+
|-------|--------|-----|
|
|
31
|
+
| `403 Forbidden` on re-upload | Version already on PyPI (e.g. 0.2.0) | Bump `version` in `pyproject.toml`, rebuild, upload the new version |
|
|
32
|
+
| `403 Forbidden` (first upload) | Empty or wrong token | Use `TWINE_USERNAME=__token__` + full `pypi-…` token — not the literal placeholder `pypi-...` |
|
|
33
|
+
| `royalsolution-ontosight>=0.2.0` unsatisfiable | Parent package not published | Publish **`royalsolution-ontosight` 0.2.0** from `vendor/ontosight/` first |
|
|
34
|
+
| `ontosight-codegraph 0.1.0 requires ontosight>=0.2.0` after installing `royalsolution-ontosight` | Stale **0.1.0** on PyPI depended on the wrong distribution name (`ontosight`, max 0.1.9) | Publish **0.2.0+** (depends on `royalsolution-ontosight>=0.2.0`); users upgrade with `pip install -U ontosight-codegraph royalsolution-ontosight`; yank **0.1.0** on PyPI |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OntoSight CodeGraph
|
|
2
2
|
|
|
3
|
-
Read a local [CodeGraph](https://github.com/colbymchenry/codegraph) index (`.codegraph/codegraph.db`) and visualize call subgraphs in [OntoSight](https://pypi.org/project/ontosight/).
|
|
3
|
+
Read a local [CodeGraph](https://github.com/colbymchenry/codegraph) index (`.codegraph/codegraph.db`) and visualize call subgraphs in [OntoSight](https://pypi.org/project/royalsolution-ontosight/).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ontosight-codegraph"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = "Visualize CodeGraph call subgraphs in OntoSight"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Programming Language :: Python :: 3.12",
|
|
17
17
|
]
|
|
18
18
|
dependencies = [
|
|
19
|
-
"ontosight>=0.2.0",
|
|
19
|
+
"royalsolution-ontosight>=0.2.0",
|
|
20
20
|
"pydantic>=2.0",
|
|
21
21
|
"typer>=0.13.0",
|
|
22
22
|
"rich>=13.7.0",
|
|
@@ -41,4 +41,4 @@ build-backend = "hatchling.build"
|
|
|
41
41
|
packages = ["ontosight_codegraph"]
|
|
42
42
|
|
|
43
43
|
[tool.uv.sources]
|
|
44
|
-
ontosight = { path = "../../vendor/ontosight", editable = true }
|
|
44
|
+
royalsolution-ontosight = { path = "../../vendor/ontosight", editable = true }
|
|
@@ -127,32 +127,15 @@ wheels = [
|
|
|
127
127
|
{ url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504, upload-time = "2025-12-08T17:02:38.159Z" },
|
|
128
128
|
]
|
|
129
129
|
|
|
130
|
-
[[package]]
|
|
131
|
-
name = "ontosight"
|
|
132
|
-
version = "0.2.0"
|
|
133
|
-
source = { editable = "../../vendor/ontosight" }
|
|
134
|
-
dependencies = [
|
|
135
|
-
{ name = "fastapi" },
|
|
136
|
-
{ name = "pydantic" },
|
|
137
|
-
{ name = "uvicorn" },
|
|
138
|
-
]
|
|
139
|
-
|
|
140
|
-
[package.metadata]
|
|
141
|
-
requires-dist = [
|
|
142
|
-
{ name = "fastapi", specifier = ">=0.115.0" },
|
|
143
|
-
{ name = "pydantic", specifier = ">=2.0" },
|
|
144
|
-
{ name = "uvicorn", specifier = ">=0.32.0" },
|
|
145
|
-
]
|
|
146
|
-
|
|
147
130
|
[[package]]
|
|
148
131
|
name = "ontosight-codegraph"
|
|
149
|
-
version = "0.
|
|
132
|
+
version = "0.2.0"
|
|
150
133
|
source = { editable = "." }
|
|
151
134
|
dependencies = [
|
|
152
135
|
{ name = "networkx" },
|
|
153
|
-
{ name = "ontosight" },
|
|
154
136
|
{ name = "pydantic" },
|
|
155
137
|
{ name = "rich" },
|
|
138
|
+
{ name = "royalsolution-ontosight" },
|
|
156
139
|
{ name = "typer" },
|
|
157
140
|
]
|
|
158
141
|
|
|
@@ -164,10 +147,10 @@ dev = [
|
|
|
164
147
|
[package.metadata]
|
|
165
148
|
requires-dist = [
|
|
166
149
|
{ name = "networkx", specifier = ">=3.0" },
|
|
167
|
-
{ name = "ontosight", editable = "../../vendor/ontosight" },
|
|
168
150
|
{ name = "pydantic", specifier = ">=2.0" },
|
|
169
151
|
{ name = "pytest", marker = "extra == 'dev'", specifier = ">=9.0.0" },
|
|
170
152
|
{ name = "rich", specifier = ">=13.7.0" },
|
|
153
|
+
{ name = "royalsolution-ontosight", editable = "../../vendor/ontosight" },
|
|
171
154
|
{ name = "typer", specifier = ">=0.13.0" },
|
|
172
155
|
]
|
|
173
156
|
provides-extras = ["dev"]
|
|
@@ -345,6 +328,23 @@ wheels = [
|
|
|
345
328
|
{ url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" },
|
|
346
329
|
]
|
|
347
330
|
|
|
331
|
+
[[package]]
|
|
332
|
+
name = "royalsolution-ontosight"
|
|
333
|
+
version = "0.2.0"
|
|
334
|
+
source = { editable = "../../vendor/ontosight" }
|
|
335
|
+
dependencies = [
|
|
336
|
+
{ name = "fastapi" },
|
|
337
|
+
{ name = "pydantic" },
|
|
338
|
+
{ name = "uvicorn" },
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
[package.metadata]
|
|
342
|
+
requires-dist = [
|
|
343
|
+
{ name = "fastapi", specifier = ">=0.115.0" },
|
|
344
|
+
{ name = "pydantic", specifier = ">=2.0" },
|
|
345
|
+
{ name = "uvicorn", specifier = ">=0.32.0" },
|
|
346
|
+
]
|
|
347
|
+
|
|
348
348
|
[[package]]
|
|
349
349
|
name = "shellingham"
|
|
350
350
|
version = "1.5.4"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Publishing ontosight-codegraph to PyPI
|
|
2
|
-
|
|
3
|
-
Maintainers only.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
Publish **ontosight** 0.2.x first (see [`vendor/ontosight/PUBLISH.md`](../../vendor/ontosight/PUBLISH.md)).
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
pip install build twine
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Build and publish
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
cd packages/ontosight-codegraph
|
|
17
|
-
python -m build
|
|
18
|
-
twine check dist/*
|
|
19
|
-
twine upload dist/*
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
After publishing, bump `ontosightCodegraphVersion` in `packages/ontosight/package.json` and publish the npm wrapper.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ontosight_codegraph-0.1.0 → ontosight_codegraph-0.2.0}/ontosight_codegraph/topology_display.py
RENAMED
|
File without changes
|
|
File without changes
|