Skip to main content

Drop-in replacement for NetworkX (Rust-accelerated)

Project description

networkXR

[!CAUTION] 🚧 Under Heavy Construction 🚧

This project is in early development. APIs may change without notice. Not yet ready for production use.

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.

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

networkXR natively supports Plotly for interactive graph visualization:

import networkxr as nx

G = nx.barbell_graph(5, 1)
nx.draw(G, node_color="#6366f1", title="Barbell Graph")

Customise layout, colours, and export to HTML:

G = nx.cycle_graph(12)

fig = nx.draw(
    G,
    layout="circular",
    node_color="#06b6d4",
    title="Cycle C₁₂",
    show=False,
)
fig.write_html("graph.html")

Note: Plotting requires plotly — install with pip install networkxr[plot].

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

networkxr-0.1.3.tar.gz (95.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

networkxr-0.1.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (363.8 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

networkxr-0.1.3-cp314-cp314-win_amd64.whl (205.3 kB view details)

Uploaded CPython 3.14Windows x86-64

networkxr-0.1.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (374.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

networkxr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

networkxr-0.1.3-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (644.1 kB view details)

Uploaded CPython 3.14macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

networkxr-0.1.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.3 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

networkxr-0.1.3-cp313-cp313-win_amd64.whl (205.1 kB view details)

Uploaded CPython 3.13Windows x86-64

networkxr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (374.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

networkxr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

networkxr-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (643.6 kB view details)

Uploaded CPython 3.13macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

networkxr-0.1.3-cp312-cp312-win_amd64.whl (205.0 kB view details)

Uploaded CPython 3.12Windows x86-64

networkxr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (375.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

networkxr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

networkxr-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (643.1 kB view details)

Uploaded CPython 3.12macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file networkxr-0.1.3.tar.gz.

File metadata

  • Download URL: networkxr-0.1.3.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for networkxr-0.1.3.tar.gz
Algorithm Hash digest
SHA256 249626b6884f71cb046750454b4e9f30caa01fd5d0702b3c1765c228fb77d5b7
MD5 62afdb11c92350eee8a87370a66619b8
BLAKE2b-256 a2c02bf1aec5ba81627c00b6799d58fa120d3aa1360a206995f5929082671c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3.tar.gz:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8fcc4db2c7d75ca28292b5dcb51beb056b909dab4b6c551e197a727a0d368f1e
MD5 6263d8e7b0f3ff174cb4c65a6c4752fd
BLAKE2b-256 a2f4e3d75ac78114e6dfaf62efe6cac6b5f981bd98b53f7758ab7019bc79ea2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 205.3 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for networkxr-0.1.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c956ed996980bf4234beeb565de2e4045bb7511e8c58e32e9336b97210393ace
MD5 806b51caac20a684725336efecea5406
BLAKE2b-256 d8a67064427fc4aaf638f7d17c2260399f18c6a9aec8bd49e6b722915652a36b

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp314-cp314-win_amd64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50d224403ad4200997e9529c93ef27cb66180ef98affe184835808d3d5057cb8
MD5 efa164c4027796cdba49376980bec76c
BLAKE2b-256 8a8a30432e13e4a361503f99636d6dd30b46a707f09a4f7eff18b24e025ed3a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 65913e23c0138673f8cfb1e7e36b1ab9d0c443ef50453ff04443a61b179bc5d1
MD5 335f63f70985eeed15a0cde20dbb13f8
BLAKE2b-256 6239921a8b216ebdf498ad0e46773dd7502afbaa0a958518a38cac96228a12b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 fd53114d063ae1d7ba9efd1576b2198e0b0a04f8d4a4bd1b21c72bac21666665
MD5 166b951b53aa963bc27513c34751e58c
BLAKE2b-256 b7a783908623c8d1bd18a09b84d7d9731757219c20efdf5109db176123d64903

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 955852037b3107979780ff7bd67f9fcd11205aa5cae8197b8ea8519d2c17a886
MD5 de0908230309a0e88b3e67ce3ded0aee
BLAKE2b-256 f2627da71b4e1c0d9f45008eb61924eefb550b06c0b6289e611071c91099e1cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 205.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for networkxr-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4b7e5116e99c849219b5bbebd3a95c1d1b93103b8e86bad007f53ce063112742
MD5 b9bcd2765cb77f64aa071459b3afa159
BLAKE2b-256 07e5994253d20dbf3d98395b24f112a54dab522788fe188f7f18d39e9a4a0bad

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp313-cp313-win_amd64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06d21466b1b602b73ef17027539866129e15d72b98b996a2aacb1b8cab35bf16
MD5 e8710f9129eeacd96cd093b1c0ac2032
BLAKE2b-256 807716cec497a06a25d1cc4887d9a9ce6d556fbcf616fa50801927738d9c261c

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aeb5c90cf66d86001fb29f8de0270615f802465c6dd683c0f9686353c93b73b8
MD5 e74aa7d180ac20530302face24348242
BLAKE2b-256 00a8c99aea1267ba5e6c056e859bda8186d69353cd6843a81116e2f321d0e03b

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f0922b3efb7c2592f707129f8f5929dc08e95cb2d5b70126afd5cf0045f85a60
MD5 3904820df9256c20562d84f456391f3b
BLAKE2b-256 cfe08f3a024a3d56405579847af8f70a42b2b6a6bdd0b999815a90476bca3fc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 205.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for networkxr-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2313b3cfa126440ee86ffb1aaac0eeaad3ad607cb8d4673bfb50421c85330182
MD5 76be84cd227a3e4fdcd13dece025573f
BLAKE2b-256 e48870057b6c8d968bfb7b794a2b70e0e339df604fb002a1711976563a5cd035

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp312-cp312-win_amd64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae94409bddb8250d20b54330fffe864b3bfe7bcaf8ded1a478cffcf68017cb96
MD5 cf61259d60dc2ae7268465c1017ed8e0
BLAKE2b-256 febddb69ca2529c90cfaf340e0bfce26d58b5d28e1c91b97b0aee95b30cdef2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 96ed81990ac77ccea74f51369e3e64b880b730cf6e262db58fa46392dd715f1f
MD5 bbe1ca58813b76e8cf88f86cc9e67ae7
BLAKE2b-256 2ece57ecac83bc8b043cae95bc274a789ca8da4cd56a55b66bb56be34f96dd87

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file networkxr-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for networkxr-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 6d7587cdd120a2e8eddc38831597b8476345fbabe7d19fb0103e98e56db0b561
MD5 575b9481ee8b2200f5af7a328fc16a84
BLAKE2b-256 cc3ee0cdb79f5fc23785b9639d9064347c1f446073ce43f2ac5b52193b19ad1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.3-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: ci.yml on bmsuisse/networkxr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page