Skip to main content

shuffle_graph

PyPI PyPI - Status GitHub Release Date Build Status Code Intelligence Status Language grade: Python Codacy Badge Scrutinizer Code Quality PyPI - Downloads PyPI - Python Version PyPI - License

Graph shuffling package in python.

Installation

Installation can be done through pip. You must have python version >= 3.8

pip install shuffle-graph

Usage

The statement to import the package:

from shuffle_graph_package import *

Example:

>>> from networkx.classes.graph import Graph
>>> G = Graph({0: {1: {}}, 1: {0: {}, 2: {}}, 2: {1: {}, 3: {}}, 3: {2: {}, 4: {}}, 4: {3: {}}})
>>> seed = 170141183460469231731687303715884105727
>>> shuffle_graph(G, seed).adj  #Set seed to make the results repeatable.
AdjacencyView({1: {0: {}, 2: {}}, 2: {1: {}, 3: {}}, 3: {2: {}, 4: {}}, 4: {3: {}}, 0: {1: {}}})

Metadata

Release files for shuffle-graph 2.2.0

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

Source distribution (sdist)

Source distribution for shuffle-graph 2.2.0
File Size Uploaded
shuffle_graph-2.2.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shuffle-graph 2.2.0
File Interpreter ABI Platform
shuffle_graph-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / shuffle_graph-2.2.0.tar.gz

Download URL shuffle_graph-2.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d0bd61039ac25bea40b547fa5e0f4174e643b0f5d92120127214e2c677079141
BLAKE2b-256 checksum
How to use checksums
3c7714f358e5891a63a419be69c65411acad5c11a9efdff0ed177e377ef3b91d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / shuffle_graph-2.2.0-py3-none-any.whl

Download URL shuffle_graph-2.2.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64085c484ab4866987418cf761d719243e00ff4465f85f9dd629c06e270584eb
BLAKE2b-256 checksum
How to use checksums
cd6e9039527c7a2e40e7c3ce458e9ed38e0b92dc0cc9c99306276b11e63a38ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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