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.4.tar.gz (97.1 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.4-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.4-cp314-cp314-win_amd64.whl (205.4 kB view details)

Uploaded CPython 3.14Windows x86-64

networkxr-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (373.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

networkxr-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (365.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

networkxr-0.1.4-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.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.6 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

networkxr-0.1.4-cp313-cp313-win_amd64.whl (205.3 kB view details)

Uploaded CPython 3.13Windows x86-64

networkxr-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (373.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

networkxr-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

networkxr-0.1.4-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.4-cp312-cp312-win_amd64.whl (205.2 kB view details)

Uploaded CPython 3.12Windows x86-64

networkxr-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (373.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

networkxr-0.1.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: networkxr-0.1.4.tar.gz
  • Upload date:
  • Size: 97.1 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.4.tar.gz
Algorithm Hash digest
SHA256 280b4db911ef8f768899b23effa641b9df64418e53add6c520d11f6157c665fa
MD5 338fb21a7e910fe18b23b2aae76424fa
BLAKE2b-256 3a1b7f1f583656ce4c857d6153fae164fe92931ed721a2fbb5b16f1f8ca8e6ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4.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.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a83c001759cd74985f0a67fd4c2451691ae139f1cf7fbc9fbed2dad98693db67
MD5 7d621aebc841172076df6672b74f983d
BLAKE2b-256 f8e5fa525772470ee8f2261781295c7ba99f293c5967f6bc5a76e87613bae1ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.4-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 205.4 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.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 1ccfeae62fea236454070f599cded5c5d76c31ce96d04904e2c4bb70800a5e13
MD5 c7aec7507e0f8a413899bafec52592f0
BLAKE2b-256 417f83b7bf4dc2a48fd7cbee6771c8f6395b439be0a7bb1731d84a74a6772ed0

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9009ac933fcdfe0f631effecc7d1c79bc09096fdc527c29d482e4c9d44d2bd8
MD5 42651d112fff506bfbdc861eabddaabc
BLAKE2b-256 cdd00d75d74a4437d21811707f5dd35f2150b8fdaf886f148efe0803e37d51b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 56183e34ba2a6c86b60cea6504408a2c05aafe7d9b436aa66701407cb74eecde
MD5 02746d62e1b3776a1a52a5fad4da5f78
BLAKE2b-256 b75a9494b1e3233afb12541df4e1aa9fc3c57d20d87bb5ad6e44cc83f1f813b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-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.4-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 a897e2668fd607a09176079a9cc8e88edebd5919c40cdf03bede4655625fd52d
MD5 c7d1f6f19a79cb8e795900933e9259c2
BLAKE2b-256 e765d972e73a3048413f5aa7800e125c21579aa02cb839ebf4dc7b3d2aace6da

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a11e01a36dadc81603c2407d78c8f124abc6530a57894ea71ce3db6615c6cbcc
MD5 d95ba1774f40d7f051fbd832afd3b968
BLAKE2b-256 449349d84428e21b23463a70dfd0ed714adf4fe12b5080a53abb638101353286

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 205.3 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.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8503767a929abf92ff27514d5163bd32287b3757d051ad13527ff1935b224bab
MD5 2e049fab117e46ee3a236a88c42f50ee
BLAKE2b-256 baf1791f624850ee37cecfcaf397cd0d82f3b00ed0e8ad77df6b665c18e9d505

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b28bb38ddcbf1d7636ba8658d6d7e74067d47a3dff5b70a8eb9dbff4c8002b5
MD5 0add7345e9845d5a4af7c7bd7f0e1905
BLAKE2b-256 060144d04ac3f81e99eef73f8589a9fff761c9dddac0664feb06ebbc53cb528b

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0181ce642cca1f570be795e452552d7bc56a6807a105ab2a57c5575a1a531403
MD5 26c2b6c52e73ec33ac434aa8f332c41f
BLAKE2b-256 d695ee7a1f3a0e09915ec7a2617e7b265d7b2e04c0cd72e260d5ff9d3a716df9

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-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.4-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 600d638d9878dae6e74f6a7d70e7b3c5e53da2c3d7a413ac1e9662212a3eb224
MD5 5c4b305db1f9a55ab53a6f237c97e401
BLAKE2b-256 36d3ee8d15df27f047e27fa8d0a63e0989d2750266cf6262be2186e0508dea2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: networkxr-0.1.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 205.2 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.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 108757ba5b64f71d9053e7d79a6ea2704ee835ff47ae72b9128ee231d22a0acd
MD5 8b6867afb4d91e6248de3e466de17f13
BLAKE2b-256 9d6479b91abf25807ab07da53156b32a34e0bad6bb5dd0bd57f702c6529049bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3fc69876ad79d19b8d3b7cfd3ca209f1166e743c96245da038ac1564b7df187
MD5 0e93223339ea145a90848539fe383d60
BLAKE2b-256 3d487b8c505dbe9c75bcb7a5705bdfd5a37311bb6c871cdadbc89b4c01ddec7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for networkxr-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5243f990e494760a450d5ad4291d42f4897ea63b103de94f44e58c61633558f1
MD5 0cf0a157c9c666113efd92e7626bb9cf
BLAKE2b-256 dce95de130518d3a9bdfd7e3038bf8074095a4c163ec11fc74ebea741ee88611

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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.4-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.4-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 db6f85b455c46842b6ac874ba350465d2538b55eb1ccba22ed38b4ed8bd6a55b
MD5 f31856f4f44ae755fcd1303b46fab492
BLAKE2b-256 a5d12dcfb31f187d615a975a848d0ea482f22e83ed3a9e6fac227e65a2f8d935

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.4-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