networkXR
Goal
networkXR is a Rust-backed, drop-in replacement for NetworkX — the popular Python library for graph creation, manipulation, and analysis.
By leveraging PyO3 and Rust's performance characteristics, networkXR aims to provide a fully compatible NetworkX API with significantly improved speed for compute-intensive graph operations, while remaining a seamless swap for existing Python codebases.
Why networkXR?
- 🚀 Blazing Fast: Core graphs (
Graph,DiGraph) use RustIndexMapinternally for high-performance processing. - 🤝 Drop-in Replaceable: Change your
import networkx as nxtoimport networkxr as nx. That's it. - 🎨 Batteries Included: Comes with generators (including fake data), converters, isomorphism checks, and a rich Plotly-native visualization engine.
Installation
pip install networkxr
# With interactive plotting support (optional)
pip install networkxr[plot]
Quick Start
# Just swap the import — everything else stays the same
import networkxr as nx
G = nx.Graph()
G.add_edges_from([(1, 2), (2, 3), (3, 4), (4, 1), (1, 3)])
G.add_node(5, role="isolated")
print(G.number_of_nodes()) # 5
print(G.number_of_edges()) # 5
print(list(G.neighbors(1))) # [2, 3, 4]
Plotting & Visualization
networkXR natively supports Plotly for interactive, publication-ready graph visualization out-of-the-box (no matplotlib required!).
import networkxr as nx
# Create a beautiful graph topology
G = nx.barbell_graph(5, 1)
# Draw it with custom styling
fig = nx.draw(
G,
node_color="#6366f1",
edge_color="#cbd5e1",
title="Barbell Graph Visualization",
show=False
)
fig.write_html("my_graph.html")
Note: Plotting requires
plotly— install withpip install networkxr[plot].
Rich Data Generation
Need a realistic graph for testing? networkXR includes Faker-powered network generation:
import networkxr as nx
# Create a realistic social network graph with user attributes
G = nx.fake_social_network(n=50, p=0.1, seed=42)
for u, data in list(G.nodes(data=True))[:2]:
print(f"{data['name']} ({data['email']}) works at {data['company']}")
Documentation
For full API reference, examples, and cookbooks, check out our documentation website.
Metadata
Release files for networkxr 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| networkxr-0.1.6.tar.gz | 99.3 kB | With provenance | Details for networkxr-0.1.6.tar.gz |
Built distributions (wheels)
Total release size: 5.6 MB
Release files / networkxr-0.1.6.tar.gz
| Download URL | networkxr-0.1.6.tar.gz |
|---|---|
| Size | 99.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe97a00590b3751a24863e92c9db0e517e8f4c759efa5cd124acc0295bb5488f
|
|
BLAKE2b-256 checksum How to use checksums |
96c0c55a690719a789b48551bb828d09e0e521fc7c12f1b499c1134f98102bce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | networkxr-0.1.6-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 364.3 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
16f92b7ca27b6038050cdb1cbc1db3f5574daa55bad0de21cbf652aa0711b26c
|
|
BLAKE2b-256 checksum How to use checksums |
8510bf5220961e77f1b6a2c7e044f4deb77156305827fbd4911d5716f135f758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp314-cp314-win_amd64.whl
| Download URL | networkxr-0.1.6-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 204.1 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
704b0e7363c8d9785096d65026b91a411c008f67d64eb34ef2daaa5e07790a5b
|
|
BLAKE2b-256 checksum How to use checksums |
987dfe1c8d43b572ba198d0534e37b8ddc245ccb87c620842504030b2629002c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | networkxr-0.1.6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 374.9 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
07aa96d9f881e92d26db812728d8e3332891e321d01c036f9484b253e4627e9d
|
|
BLAKE2b-256 checksum How to use checksums |
4bd5608dc39847eab8d5f7b2b0946c130ac4c04ef901fb6265d8d16ff6f29114
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | networkxr-0.1.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 365.5 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
1981706fa8abbcac96ba69ca30057e5de45564658789a623743c01778824209a
|
|
BLAKE2b-256 checksum How to use checksums |
d151018680c0aeeaa42b734ee834c9b1090c269040bf5fcc6e20ddf560636ee6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | networkxr-0.1.6-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 644.6 kB |
| Tags | CPython 3.14 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
db7514a41ba659b4fb1b4a9d5a4c74fe638fde72be014bcf5c8568f2d543d2f1
|
|
BLAKE2b-256 checksum How to use checksums |
77b405bb22d648dbe4a6031cd9491758210a52a7bf1ef44dab313505c519c225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | networkxr-0.1.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 364.9 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
16225924449a20f64d6af0b419331c78b70776f97e4ff9dfca061332251ffb23
|
|
BLAKE2b-256 checksum How to use checksums |
29a86fb5f701e69fa8ebe255e0049fe592222ec3654d652cb6e12b0c56b2036b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp313-cp313-win_amd64.whl
| Download URL | networkxr-0.1.6-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 203.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6416daf53139daea6aa2af913a9b2a63b7766832b3b68109f4a53207015a526b
|
|
BLAKE2b-256 checksum How to use checksums |
d65256ec4674279c5ad3e4ded2e8dea78bd2b150e4c465e37dee96e8be5ebcf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | networkxr-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 375.1 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d00c68d67b56089e74e74b9b2aae5e66a45bde325de9b37bdfa788f40ed0d90c
|
|
BLAKE2b-256 checksum How to use checksums |
11b87acb9ebbb9fd32f21ede3165ca9969a971ec38c6616cf99c7952efd0c487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | networkxr-0.1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 365.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
989bd8859c603dbd906f3d3275af705e661f160d6d451b493b84742da7544dc9
|
|
BLAKE2b-256 checksum How to use checksums |
18223a418dd8c0ce3d58124fbffb4c24f7755a3b37486b6ea4e990aa67c67547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | networkxr-0.1.6-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 644.1 kB |
| Tags | CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
627b2735311fb43f9f3621f884ace0e04478266cd9573f4bb8716dc14b5d08c7
|
|
BLAKE2b-256 checksum How to use checksums |
4041c4a159afa9855a0a1a6455cb61625201d833cbd11f9f30692205130918df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp312-cp312-win_amd64.whl
| Download URL | networkxr-0.1.6-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 203.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
347f975c77b344ef32502321d00743799494f3f2b1211954bba112c4feb183ab
|
|
BLAKE2b-256 checksum How to use checksums |
4df41e4cdc80ca4a8375c9b4219c5514d2731cd0b0a91a1e5663743e9f524e4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | networkxr-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 375.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
06e15717ac52069a2a6aaa045e409df9733c75e37ff3cb5808d521d2bca5cbf5
|
|
BLAKE2b-256 checksum How to use checksums |
ce183762a567f3f9d1c321d029c3eb8da398cee60e6531100e772ca5b1a4d73d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | networkxr-0.1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 364.9 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
a21ffb2c7f7e47cd7d499cf507c628356ac5fb58c90d51609e5e39ff012a1b9c
|
|
BLAKE2b-256 checksum How to use checksums |
6eb7a3f549a3dd49c7eb74ef84b42e437896abe312b5c5188a3869b8e3d9c9a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logRelease files / networkxr-0.1.6-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | networkxr-0.1.6-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 643.7 kB |
| Tags | CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
044c43b7c66f1a41b6c2ecbedc9fbe02e10b51cfc8268977c926d6c3a97a0a88
|
|
BLAKE2b-256 checksum How to use checksums |
bec762d511940b6cf6eebd4f71bfd1f14009fc8d6ce16b6d34ca77e3dcf30e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 2, 2026.
Transparency logSecurity for networkxr 0.1.6
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.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for networkxr-0.1.6.tar.gz
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 Mar 2, 2026.
Transparency logA 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.