modwire-extraction
Extraction implementation for Modwire.
The primary API starts from ModwireExtraction:
from pathlib import Path
from modwire_extraction import ModwireExtraction
queryable_map = ModwireExtraction(Path("src")).generate_queryable_map("python")
print(queryable_map.source_ids())
Public data and query helpers are exported from:
modwire_extractionforModwireExtraction.modwire_extraction.codeforCodeMap,QueryableCodeMap, and query result types.modwire_extraction.dependencyfor dependency graph helpers.modwire_extraction.extractorsfor extractor loading.
Compatibility notes
The public Python import paths listed above are the supported API surface for 1.0.0.
Dependency graph edges use normalized import strings. Imports such as
domain/model/user are not represented as the source ID
src/domain/model/user.
Serialized CodeMap JSON is intended for same-version interchange in 1.0.0.
Do not treat the JSON shape as a cross-version compatibility contract yet.
TypeScript and PHP helper build files are included as package data because they are part of the bundled extractor runtimes and reproducible maintenance path.
Install
pip install modwire-extraction
Python extraction works with the active Python interpreter. TypeScript,
JavaScript, TSX, and JSX extraction require node on PATH. PHP extraction
requires php on PATH.
Development
python -m pip install -e ".[dev]"
pytest
python -m build
twine check dist/*
For local verification, build a fresh distribution from the current Git state:
python -m build
twine check dist/*
Releases use strict SemVer tags. Create and push the tag first, then publish its GitHub Release. That release invokes the shared build and asset workflows before trusted publishing sends the same distributions to PyPI.
git tag -a v1.0.3 -m "v1.0.3"
git push origin v1.0.3
gh release create v1.0.3 --verify-tag --generate-notes --title v1.0.3
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modwire_extraction-1.0.3.tar.gz.
File metadata
- Download URL: modwire_extraction-1.0.3.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a4cc4de81f467e0665f4f732c9f1a7ff5e02c2f6d7efb3d1492401c7318e02e
|
|
| MD5 |
dc3a496af4319fe81af64c1fbadab101
|
|
| BLAKE2b-256 |
a0b7dcfff9177ba8935195e4fee8e588c329fd0956df2317da09ca0dbd7aff0a
|
Provenance
The following attestation bundles were made for modwire_extraction-1.0.3.tar.gz:
Publisher:
release.yml on 9orky/modwire-extraction
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modwire_extraction-1.0.3.tar.gz -
Subject digest:
0a4cc4de81f467e0665f4f732c9f1a7ff5e02c2f6d7efb3d1492401c7318e02e - Sigstore transparency entry: 2145742691
- Sigstore integration time:
-
Permalink:
9orky/modwire-extraction@6c7246349166abb8b5164c715fbb0235209129f9 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/9orky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6c7246349166abb8b5164c715fbb0235209129f9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file modwire_extraction-1.0.3-py3-none-any.whl.
File metadata
- Download URL: modwire_extraction-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d3309f0045ae51e3eb25ddd41625a67b2f1b5681327a53b3c5aa475b28174e0
|
|
| MD5 |
479ebe3c3f445d67fdba04ff21f7b031
|
|
| BLAKE2b-256 |
7fdaad9225ff6397b1d4faa3cca9cd0e5c6cf661409ccbdcc768737e29538bd2
|
Provenance
The following attestation bundles were made for modwire_extraction-1.0.3-py3-none-any.whl:
Publisher:
release.yml on 9orky/modwire-extraction
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modwire_extraction-1.0.3-py3-none-any.whl -
Subject digest:
0d3309f0045ae51e3eb25ddd41625a67b2f1b5681327a53b3c5aa475b28174e0 - Sigstore transparency entry: 2145742745
- Sigstore integration time:
-
Permalink:
9orky/modwire-extraction@6c7246349166abb8b5164c715fbb0235209129f9 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/9orky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6c7246349166abb8b5164c715fbb0235209129f9 -
Trigger Event:
release
-
Statement type: