passagemath: Find automorphism groups of graphs, generate non-isomorphic graphs with nauty
Project description
About SageMath
- “Creating a Viable Open Source Alternative to
Magma, Maple, Mathematica, and MATLAB”
Copyright (C) 2005-2024 The Sage Development Team
SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).
See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.
About this pip-installable distribution package
This pip-installable distribution passagemath-nauty provides an interface to nauty and traces, the programs for computing automorphism groups of graphs and digraphs by Brendan McKay and Adolfo Piperno.
What is included
Graph generators graphs.nauty_genbg, graphs.nauty_geng, graphs.nauty_genktreeg
Hypergraph generator hypergraphs.nauty
Raw access to all gtools from Python
The binary wheels published on PyPI include a prebuilt copy of nauty and traces.
Examples
Using the gtools on the command line:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty" sage -sh -c 'geng 4' >A geng -d0D3 n=4 e=0-6 C? CC CE CF CQ CU CT CV C] C^ C~ >Z 11 graphs generated in 0.00 sec
Finding the installation location of a gtools program:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython In [1]: from sage.features.nauty import NautyExecutable In [2]: NautyExecutable('geng').absolute_filename() Out[2]: '/Users/mkoeppe/.local/pipx/.cache/535c90a22321f64/lib/python3.11/site-packages/sage_wheels/bin/geng'
Use with sage.graphs:
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-nauty[test]" ipython In [1]: from sage.all__sagemath_graphs import * In [2]: gen = graphs.nauty_geng("7 -c") # connected graphs on 7 vertices In [3]: len(list(gen)) Out[3]: 853
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file passagemath_nauty-10.4.65.tar.gz
.
File metadata
- Download URL: passagemath_nauty-10.4.65.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0708e4bbcd4555bbda5bddd90a8d5f32c7652022ddee8501c33978ea0d3ca1 |
|
MD5 | 04d0740cbdf7aa88827fa93eb9a5e657 |
|
BLAKE2b-256 | 418a2d4d2af6ffe0b1b3dbc9471574ac3d967e1a5dd44255b3f499daa8efc59f |
File details
Details for the file passagemath_nauty-10.4.65-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 30.4 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae920a2098d57cc8cee0f952e375ca57f260c3caa0078fc14be37eb061ede33d |
|
MD5 | 26b0b9533716ee927e93d35e680c5b43 |
|
BLAKE2b-256 | 9057c5ed7f3926f7237a539f4e5a428d068cc6ab4aed7516297a6e65cf5c1e63 |
File details
Details for the file passagemath_nauty-10.4.65-cp312-cp312-macosx_14_0_arm64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81d52fe7db754fe2cdc55630d65211ea16cb566ccf4d1d7b3c14e3719dc7fd7c |
|
MD5 | 9e6cab7feec8499fddb66c3ede3375ce |
|
BLAKE2b-256 | c36a2c0d3f643c9fe5b019facc42af967778563175e284ba9c7b4d373b30dd7a |
File details
Details for the file passagemath_nauty-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.12, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60dc025d3dfcc81e90f5c8b04a5e142103b046e74f29fdf893de6db9f77cf07 |
|
MD5 | e2e188e123acb6a0317b506294ca4909 |
|
BLAKE2b-256 | d399862fe2dae35dc57a98360ad9bf2cc4c7c116e37a9d8d6bb0662eb68896aa |
File details
Details for the file passagemath_nauty-10.4.65-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 30.3 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d24d124ffee5dc75bf58211ed789c47fcb86770f9fee87b60d05d5eb61072a9 |
|
MD5 | b461c6c4d6d634ba5ecbdf151a0d66ad |
|
BLAKE2b-256 | 7a6ab066e98be0a6bbdb3d39a386135c7cc4530bb0bf02f0f034301f08e865f0 |
File details
Details for the file passagemath_nauty-10.4.65-cp311-cp311-macosx_14_0_arm64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17adc9b03dae39afd5f5e4df7fb06df767c8c214ddc4019d49651fd43f2311cd |
|
MD5 | fce721b45d3602a1bfc1a6e0c882158a |
|
BLAKE2b-256 | 50d0374210735cd56f929c818260f5203dfb0ee4355352fac387466dbd609cc7 |
File details
Details for the file passagemath_nauty-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.11, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88a06a1deca9a7665daa23d9897d6dfd3e082a86cc20d84882493b02313fc5dd |
|
MD5 | f500a9c014bf2bb658c756ecec8f0e24 |
|
BLAKE2b-256 | 8ee36ecbcc845dc457845e18a53545b822023f01b7ab59a7538093215cf922e8 |
File details
Details for the file passagemath_nauty-10.4.65-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 29.4 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e4479edc202d948ba2e285f2f9f326f8eb39a7a31d6d4ce86f4716d91274b2 |
|
MD5 | 454bfa461e6bc62f4a95a7a8ac6e5a59 |
|
BLAKE2b-256 | ac6bb76acfd0de72ac4c84e0091cce99d4965e0211b89594679cdc40288e93e2 |
File details
Details for the file passagemath_nauty-10.4.65-cp310-cp310-macosx_14_0_arm64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef15cda33eb4617706acf6653e422cbdc5d96bfe5504adaf8c49b2b0cb89d8a7 |
|
MD5 | 99cd314c00a0bedd5cb05ccfee6b9436 |
|
BLAKE2b-256 | 7012297fee6001e21176b1000501e5764bb245f0667a651c4ce41dbd4c9a5f22 |
File details
Details for the file passagemath_nauty-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.10, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ef1e6c1ba49248637a4c95e9274fcedffcf4dce2d664a09c658fa8d0a47e70 |
|
MD5 | b33c4d7d868bc3eb43e774a76beceec9 |
|
BLAKE2b-256 | 89dd040248045d0a8e95fb47a241c4e1dd104b596f936e440580713d7404b414 |
File details
Details for the file passagemath_nauty-10.4.65-cp39-cp39-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 29.2 kB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d46e90e2ab786abcf1ff3453ad6a0fe3e597afb6df446117e049b1c0011fc746 |
|
MD5 | 5d11d8750c0ce5ffdcc08c7964352e5b |
|
BLAKE2b-256 | c43f093a40e2bbe1f8ec828de050614e2d3fee5863d3214afbdc654ff6fbd5dd |
File details
Details for the file passagemath_nauty-10.4.65-cp39-cp39-macosx_14_0_arm64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp39-cp39-macosx_14_0_arm64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.9, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea6d0f1fd8806feaac5c4a35006ea9d2ea1b4f4c5d1a21375f104a0a860fd0ea |
|
MD5 | cd84b246a1fb518038b04b2dade9def9 |
|
BLAKE2b-256 | f25354b71477d7a215077ccf27d7c5de81e9139385a98cb23fa8e9351fc5c7c2 |
File details
Details for the file passagemath_nauty-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: passagemath_nauty-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.9, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404fb0473ff5d3b78a050c58c09a46d45db78b6fd75d3db976590ef7293639b4 |
|
MD5 | dc427f2f35e9b609c26c88c4f2c6fe64 |
|
BLAKE2b-256 | 7191fd4bb59aa97730c2c811ba85dc48993bbee4dd8b84fca4657e47597e0f24 |