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.2.tar.gz (95.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.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (363.9 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.14Windows x86-64

networkxr-0.1.2-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.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

networkxr-0.1.2-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.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.4 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13Windows x86-64

networkxr-0.1.2-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.2-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.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (643.5 kB view details)

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

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

Uploaded CPython 3.12Windows x86-64

networkxr-0.1.2-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.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (364.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

networkxr-0.1.2-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.2.tar.gz.

File metadata

  • Download URL: networkxr-0.1.2.tar.gz
  • Upload date:
  • Size: 95.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.2.tar.gz
Algorithm Hash digest
SHA256 54d8fefbb5b3361eca828841ced6186ea69af968764b8af58a332c431245b3ff
MD5 e115b2c6e00a7408e055ede834f6c4ae
BLAKE2b-256 d5fbae588473defe76c4ebecc1a2a3eae8d0e9da75e07f251648028e77c1c708

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e7bea4cb0e0956536efbac372327ebeff74a29df29ac884db24aade2baf52ada
MD5 5d27b75897665d8ee20aa00446c81a1b
BLAKE2b-256 160a82b37c5bcf0654bbac1e11f9e1b435fbf27ac056d390b34a4fe3ea960ca7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: networkxr-0.1.2-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.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 036f4406f68913abf7692e207a16ca3775f7f41b66d03c0b45b3120119b0fe80
MD5 b51f1a0e4d4bd4e9416f5440ceeac338
BLAKE2b-256 46b51c12e569877399ea2db22be8333ed168c49e78b866a06805f9b32d4cb42a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 76abae6aa2802699a9c87e411cfd3b2aa4e8ff82b8d5d0b61e64eb9e69fdf367
MD5 31b3b784ef4a3446af2f12c344736506
BLAKE2b-256 dff9177cba9eb7e2c70310ce37abe910de6e8a5889904e6d4f9c2030814eaf23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4d4d4b5cb221184af10178c2d28693d577b02354f2730feddfe7c721af071b0
MD5 7f496369899445b484b1f2eabfa833e6
BLAKE2b-256 1df313a73ec63e7ab98542312d41543218e622d95796945608f860b94046e7e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.2-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.2-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.2-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7e076eccc4caacd14a51f5bd2742ed2735cf23ea94f2d57884d15f54cc95c360
MD5 49fd693567cb537fbc9cf3ed59f5d625
BLAKE2b-256 208bb55837f1c01268b4c7b8eb027a71302d99662f792b1ba8c32c454f2fb78b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e0a484378c199803568aec03d4db04324f715e360e941550dd375949679f712b
MD5 20c9800cf43bf0db231b884e0b4a14c7
BLAKE2b-256 0d23fab1b8d0c9b80b0d16accca7773d320171d4e722596a00d2aaa8c170365d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: networkxr-0.1.2-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.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dabc859441852d5bfdbcebb18b16f992c9b7869eb0157e398090777f51d65d11
MD5 63d6d31b928dd05c6bbed7e8f754529e
BLAKE2b-256 569b93e20b3fc352b9efa949754232b60bf7b0ec0452fcb2dc5f0c70c5e4a70f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6db66c3699edb0af9edadccbb75513b4771dd248e8d88a3b06a06bef33adb966
MD5 aeb0e916a4f23c58e5c95cb2bad4c42a
BLAKE2b-256 69c12d8f4a5db501ea665e5354f36f5b02726675777325a9cb3c23155b8b462f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0414c3e1ec4476b11098e1e2384c4490be9e31d8218693acadfc2f0031a3d4be
MD5 5424b832e01fab42725e4d6f80814af3
BLAKE2b-256 de059cc98cd55bc9a8a99b94bddd479a136265d728da2edadfebe9acaebcf9a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.2-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.2-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.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 46262626d87d8bbb910b5c8428ae4701103be2084a8663a4e6b22892ab0ce8b7
MD5 51f78a6e58e8b793abe6414d0f547a98
BLAKE2b-256 b6c9495e91af5a70946726b933c647645438a86db8a07a6eb78c0133c92f2d0c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: networkxr-0.1.2-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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7529f34f76c368055e7cee24c16109fbd6a48fbfde70a9e53f30c008d624af37
MD5 a333f2c2605932e07e2b6e8e4d1abb12
BLAKE2b-256 8ce084cb0f2cabccb8545cf8e4413c9e973c9078bc9762bd47456939af7f47c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfa43b17f129702d617cbd990739fdd32c0c5008e243c3e313daf28fe7dea842
MD5 fc99c09a5f43bbf66bfbef3e59016384
BLAKE2b-256 a792ef6b03afd1c59e6cece1bb02a93f2cadc508b34ce78d3d0e70b1b8e33489

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for networkxr-0.1.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1c8fd33099ac53381bf26b82fe4bddeb2162cbe760ba37cefd5d0019d5152a7a
MD5 258270d9f21458c7c7605d6f267612b1
BLAKE2b-256 64e6f95ff7b3dafe024527fdb16b53e9234a8166ba92988411078aff52bdf2ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for networkxr-0.1.2-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.2-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.2-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 88e0db49059ff2df36fb52f278a4844bcf42a66d7b27537ad87472786b0ebf7d
MD5 39748d363fc134475d12268ba4d5ba7a
BLAKE2b-256 67099411626008e20f41681741c5c7a8e26bee7c91bf105ef16b234b260d52b1

See more details on using hashes here.

Provenance

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