Skip to main content
Incomplete provenance

2 of 6 files were uploaded without provenance metadata. View details.

cartograph-python

Ultra-Fast Native AST Code Graph & Graph Data Science SDK

cartograph-python is the official Python SDK and high-performance PyO3 native extension for Cartograph. It provides sub-millisecond AST code graph queries, blast-radius impact analysis, zero-copy Apache Arrow exports to Polars & Pandas, and seamless conversion to NetworkX & igraph.

Installation

# Core SDK
pip install cartograph-python

# With all data science dependencies
pip install "cartograph-python[all]"

# Or specific extras:
pip install "cartograph-python[polars]"
pip install "cartograph-python[networkx]"
pip install "cartograph-python[igraph]"
pip install "cartograph-python[pandas]"

Quickstart

import cartograph

# Open indexed repository code graph
with cartograph.open() as cg:
    # 1. Locate symbol definition & callers
    res = cg.locate("OrderService")
    print(res)

    # 2. Blast-radius impact analysis
    impact = cg.impact("OrderService")
    print(f"Risk score: {impact.risk_score}, dependents: {len(impact.affected_dependents)}")

    # 3. Export to NetworkX DiGraph
    G = cg.to_networkx()

    # 4. Zero-copy export to Polars DataFrame
    df = cg.nodes_dataframe(engine="polars")
    print(df.head())

License

MIT OR Apache-2.0

Metadata

Release files for cartograph-python 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Incomplete provenance

2 of 6 files were uploaded without provenance metadata.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for cartograph-python 0.2.0
File Size Uploaded Provenance
cartograph_python-0.2.0.tar.gz 476.3 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for cartograph-python 0.2.0
File
cartograph_python-0.2.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details
cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
cartograph_python-0.2.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
cartograph_python-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details

Total release size: 34.0 MB

Release files / cartograph_python-0.2.0.tar.gz

Incomplete provenance

This file belongs to a release with incomplete provenance: while other files in this release have provenance metadata, this file does not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0.tar.gz
Size 476.3 kB
Tags Source
SHA-256 checksum
How to use checksums
28bdedfcd4529d656caf40964fbbb99b46bc2948300c9a1956cca82c362e14f2
BLAKE2b-256 checksum
How to use checksums
4aee56a6cfe4d9094f31ffd47eda12dbe3458bea25dd43278f3b345c4f300477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / cartograph_python-0.2.0-cp38-abi3-win_amd64.whl

Incomplete provenance

This file belongs to a release with incomplete provenance: while this file has provenance metadata, other files in this release do not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0-cp38-abi3-win_amd64.whl
Size 6.5 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
42396677e340302d5d69b79b07cd0fa1f411b35f512cd9dbb695727a0c65b09d
BLAKE2b-256 checksum
How to use checksums
b87d86d12504565a2808ad1052b6bc6554fa9779d293d0325c67d05ddb43af49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Incomplete provenance

This file belongs to a release with incomplete provenance: while this file has provenance metadata, other files in this release do not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 7.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
206d867035489603fdd38e01cd6da53ea2925863a0a673820132578e87564948
BLAKE2b-256 checksum
How to use checksums
b5d15a12ec5d8152b32e9d26214a7c2a84faa9a33b71c4cc3aee5cecda8e7799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Incomplete provenance

This file belongs to a release with incomplete provenance: while this file has provenance metadata, other files in this release do not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 7.0 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
eca2fa9f01fc17070f6341f86f478d60e30ade826d09303fcbca34584bccd2ff
BLAKE2b-256 checksum
How to use checksums
6521f920cd55cfacf91477f979e893c90919bd76a4d65dfbff2940d5488e6cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / cartograph_python-0.2.0-cp38-abi3-macosx_11_0_arm64.whl

Incomplete provenance

This file belongs to a release with incomplete provenance: while other files in this release have provenance metadata, this file does not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Size 6.0 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f51fef5e2838ea301bf2a6716c0847f18b536091889a3eccca3e53437dfe77ef
BLAKE2b-256 checksum
How to use checksums
843b72ff527912555d3ea406d4c62a366bc0322ab610f4e49b3f257b56d8dbd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / cartograph_python-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl

Incomplete provenance

This file belongs to a release with incomplete provenance: while this file has provenance metadata, other files in this release do not.

We recommend further investigation before installing this file. View details.

Download URL cartograph_python-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 6.8 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
50e4d56d884372d51651730d7beb4c095811b3fde1ea8c129aaa223861e3d5a2
BLAKE2b-256 checksum
How to use checksums
121895c8448500b4c84e417efd6d1fd72996a9fad17637ae135eb279e66b4e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for cartograph-python 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Incomplete provenance

2 of 6 files were uploaded without provenance metadata.

Files with provenance 4 / 6
Files without provenance 2 / 6
Select from 6 files

Attestations for cartograph_python-0.2.0.tar.gz

This file was uploaded without provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page