BDS-sampler
cython bindings for Charo Del Genio's bi-degree sequence generator (https://charodelgenio.weebly.com/directed-graph-sampling.html)
which are an implementation of the paper Constructing and sampling directed graphs with given degree sequences https://doi.org/10.1088/1367-2630/14/2/023012
Install
python setup.py build_ext -i
pip install .
Usage
from bds_sampler import sample
import numpy as np
seq = np.array(
[
[1, 2],
[3, 2],
[4, 6],
[3, 3],
[5, 3],
[4, 4],
]
)
print(sample(in_seq=seq[:, 0], out_seq=seq[:, 1], N_samples=10))
Metadata
Release files for bds-sampler 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bds_sampler-0.1.2.tar.gz | 65.7 kB | Details |
Built distributions (wheels)
Total release size: 834.7 kB
Release files / bds_sampler-0.1.2.tar.gz
| Download URL | bds_sampler-0.1.2.tar.gz |
|---|---|
| Size | 65.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de1ff32c4c3b4ee3a76476d71b4ededf0a7049554981388932cbc88ec307a125
|
|
BLAKE2b-256 checksum How to use checksums |
d7d863b63f4d2f923d1bf981b5fe924d09bb4bc4c34aa0ece37f8726fd9c1dc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp39-cp39-win_amd64.whl
| Download URL | bds_sampler-0.1.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 39.2 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0d94de3175da0be5769c06540ba1892aa2b7b12b9ad3b4c0039218c874ccc53b
|
|
BLAKE2b-256 checksum How to use checksums |
c65b285cf8ee9899a41c60476ac8c7782f43f37a6a8e3b088367b529af9acc82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 159.5 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
8ba0b9e96fc53d810e5eb0a0a08498ef38a88f05651b3cc3fcb655892d7ce5de
|
|
BLAKE2b-256 checksum How to use checksums |
2539993c7f8f3bfd5ad1b6e86cc5d220fdaea314c67104f18ac698ba33fbfaae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | bds_sampler-0.1.2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 32.9 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a352cc56245ca646769ef98345555fa9713c53cc4ebb2c74dcb24d477ada8f71
|
|
BLAKE2b-256 checksum How to use checksums |
e685cbf76fbf3d7294764c1084351de17fc38bed56176d9b25d5f1b779e51a4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 36.0 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
700188a0c806f3e60346009dc47d6fc9d7ffac2a0b3031ba7d948d5a968e3251
|
|
BLAKE2b-256 checksum How to use checksums |
35fb1e85072ba7f3031efa312c63d45e9cda8cc1e23f6d02fad5fdc1da0f3199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp38-cp38-win_amd64.whl
| Download URL | bds_sampler-0.1.2-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 39.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
413b49908940725d61220d171e70a028b3a12ba52727356446fef715f1fe4907
|
|
BLAKE2b-256 checksum How to use checksums |
dfd9f6d159eeb805c6bfa1e9044468eafd31fb4e35eba885b5e604324dbb89a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 168.5 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
68d27bc9795da305b054e67333b117ba6a38578141a4e0f44fb717dfdc40305e
|
|
BLAKE2b-256 checksum How to use checksums |
98a67fc6ad1d72c16dfa64bd71d22b2a433dfc5fdf5c9dc93ab7275b3ca4faf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | bds_sampler-0.1.2-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 32.8 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ec2fbbfd2941c55b5b8439cedbd9d451afd64170d25fabff174522076d55152b
|
|
BLAKE2b-256 checksum How to use checksums |
607fa0e8c48228da6e5bb775ea85e3cc8aeae94bddf2230a03f81fbeaa7f41f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 35.6 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1362223473b455c35bb0f45d2594113a7d28993a646edfa9448f2bb697d71f9d
|
|
BLAKE2b-256 checksum How to use checksums |
206ee75ea5a7564b0599699139ba53510f5dfb445e90b11d5291545b6b5628bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp37-cp37m-win_amd64.whl
| Download URL | bds_sampler-0.1.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 38.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
de36671d43ecb57f82b245217325f5fa5da4f21e5ea27f52a4b86b16363f373f
|
|
BLAKE2b-256 checksum How to use checksums |
57dc2c07475de35877adddbbb2f429606a3f6ff7c899cd8a9da78c5aaa6420ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 151.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
49e945eab0a0e96f1e8b1a87c85cc376fc2f915267ba0b6b5d2271c81f165a38
|
|
BLAKE2b-256 checksum How to use checksums |
d08c50093419f282d2503bef2ac87b377297b972ec2fc55b36b296276ff1f01a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bds_sampler-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | bds_sampler-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 35.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
0386826fe08199b9b2c4bccfddbc8fd157161600a182823e175365130a04f318
|
|
BLAKE2b-256 checksum How to use checksums |
a03816ac38f583037b9e3eed0322c99a152ea4b5cc9118cddbcececef7c670d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|