Skip to main content

passagemath: Graphs, posets, hypergraphs, designs, abstract complexes, combinatorial polyhedra, abelian sandpiles, quivers

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

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 package passagemath-graphs is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library (“sagelib”, sagemath-standard) for computations with graphs, posets, complexes, etc.

It consists of over 170 first-party Python and Cython modules and uses the Boost Graph Library, with additional functionality from NetworkX and several other libraries.

What is included

Examples

A quick way to try it out interactively:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[test]" ipython
In [1]: from sage.all__sagemath_graphs import *

In [6]: g = Graph([(1, 3), (3, 8), (5, 2)]); g
Out[6]: Graph on 5 vertices

In [7]: g.is_connected()
Out[7]: False

Available as extras, from other distributions

pip install passagemath-graphs[networkx] additionally installs NetworkX <https://networkx.github.io>:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[networkx,test]" ipython
In [1]: from sage.all__sagemath_graphs import *

In [2]: ## Example depending on networkx goes here

pip install passagemath-graphs[igraph] additionally installs igraph <https://python.igraph.org/en/stable/>:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[igraph,test]" ipython
In [1]: from sage.all__sagemath_graphs import *

In [2]: ## Example depending on igraph goes here

pip install passagemath-graphs[mip] additionally makes the mixed-integer programming solver GLPK available:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-graphs[mip,test]" ipython
In [1]: from sage.all__sagemath_graphs import *

In [2]: ## Example depending on MIP goes here

Development

$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
$ cd passagemath
passagemath $ ./bootstrap
passagemath $ python3 -m venv graphs-venv
passagemath $ source graphs-venv/bin/activate
(graphs-venv) passagemath $ pip install -v -e pkgs/sagemath-graphs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_x86_64.whl (35.0 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_i686.whl (34.2 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (31.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.52-cp312-cp312-macosx_14_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_graphs-10.4.52-cp312-cp312-macosx_13_0_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_x86_64.whl (34.9 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_i686.whl (34.2 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (31.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.52-cp311-cp311-macosx_14_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_graphs-10.4.52-cp311-cp311-macosx_13_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_x86_64.whl (32.5 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_i686.whl (31.9 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (29.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.52-cp310-cp310-macosx_14_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_graphs-10.4.52-cp310-cp310-macosx_13_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_graphs-10.4.52-cp39-cp39-musllinux_1_2_i686.whl (32.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (29.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.52-cp39-cp39-macosx_14_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_graphs-10.4.52-cp39-cp39-macosx_13_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b66be90dc94f440a8197455ce968e6cfffbd45a0fdd6f0333e79de94e6d0af21
MD5 2c0b18f920c0940d15043463d0f55a34
BLAKE2b-256 109055af705ac2c69fdcd232e5f47bbc7e393cf625c1ab532fed0558e31e8afd

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d4a98d939081ba8c679149bcf28d648a09892aee1a8b4b2bfe3440a7b8d4ee64
MD5 697346652b01a580ff6c262d0aab6fcf
BLAKE2b-256 9569eeff0f9aa2479fe60ac7068cd4bcb599dcaeb0b42333625ccb7863ab4dd4

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23248a30b3c1023414aa7ea7659091d7b152ad56a530a8c6f5f82b7cae003d26
MD5 8a980c2060b1c24808915f8d20ef3236
BLAKE2b-256 4c01c5ea9fe0bc12472dd47c295e80b4db78c303433923aa6d5ddab3e6a9fb1a

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3f7a9eceec06fc3c453164e4ff50c523ed16f8ce8d9e31ab6b5a7f1a1914b8d6
MD5 a596a2448da9700f5cc7c59bf85e8806
BLAKE2b-256 a97329d76ebba353d2079f3e1c431cf77e049864e34bd0ace8f1b34bcadb3b50

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 709a0b108af51d660698fa988dfc4d1445b3b2763f76985ed7a9d220eb3eb7a3
MD5 53e5a491d904ecfc3094bb16d3f5da08
BLAKE2b-256 ed07d1960e24932beae38d97a4250d7d192c9122a9c697465b8b4182f3a04607

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 646332198fa9db91d8853b12159945bb70e598cbcde3395aa1f9629e751c2ebc
MD5 f89a6a660cbb289b06aaee155c230355
BLAKE2b-256 0dfd20480ad9eb08f5bf3e805c195b9d8a0a97bf8ccd7fa0a8034df3dfe51978

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8d8a42cfdc5376eff45dbafa3be925576b2496c99f1b833726b4634f0075f6a4
MD5 35d92f9aefba8b6cb024861cf2e0ca10
BLAKE2b-256 91da0158b52d0e73482aa97dc18948319483002b19c9466ca16d6b58b7a22525

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0e1f37027410762f017a3638493395960c780fac3f0bc60348762e407e962032
MD5 574602004ddd9db1d932f56b4a0f125b
BLAKE2b-256 d65d2009d850f5573c6cd89bb8632039d093ef74101e289d95bfa25d49eea8ff

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 573b10d28c6fc98a0f2ecd9a3578608ebe58cf9976f8db762e89f6c444943614
MD5 792268a8c0950e48829b6aa59de73fd5
BLAKE2b-256 f8f3136c04938005b325dd112791c7f614a87427b81df48ae9f3fddec57af645

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c7f281b3e5f3e2e75bad78c9cbf9cf4cde041923e57ef2231b59d2529ee3819e
MD5 586db4970678d46cdfc186d04b33cdef
BLAKE2b-256 60588684e783c695937173fe7c74aec41c88481e3bd9934eab65ed6b0ba22f45

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1e4472e0e3be64018654a0a8e08f41bbc511b0598a5e88b75ab48342639cd6c3
MD5 b22d80aff1b6f3a939eeef015314727a
BLAKE2b-256 09faaf88f6d04b4922c78f643d22feb698b02d8acf515b1e351aea133a42010e

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5d6c43feb0f7df800993e3b6e5acecd8177dbc606497a268dedc9532e1672cb9
MD5 f8a0b5fd45aa23daf005b09f5615634c
BLAKE2b-256 7a615b36742a2bd20a69d8ed850e7e02b2d8a6425842064e4c6d4b673d6383f1

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cc0cf4bd46ece23905e7a506c8fbd719d9b48980d91c155c409d74261266bd79
MD5 ec27e5eafa701ec61568f88ebec940dd
BLAKE2b-256 f25d97864267072cc017b030363f86fdb76586f4510d41259f455bd52bee75a2

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7d9700a4a71a140cc76a55083d0e6449f9a730f669a6ab22aeb6d8f16676a3b1
MD5 16067095f98c6327a5826f6a918300c1
BLAKE2b-256 b24aa6b69b00227129891de55a8f6fd355356002cdae12799bb3c05ea53b940b

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ab21420b14853855ead646d3bdb06e0a455ef3fc2ce1a4bc61e767dd2a06879
MD5 9a7b8ed2c4a8a4839e167b6af06b2b47
BLAKE2b-256 eb13dbd07ffe85c8ece04209bba9e3d47b4e1546603282b5085743f37336127a

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 09ce0364155fdbb5cc4e9783bc3559ab4a7c1ca6cf355b37eeff939fb20eddcc
MD5 7971d264bdea45b0cbb2b094fc74b08c
BLAKE2b-256 2901ecd0afe2cfad0bae687e5df9601008da506d8f1e9751298268b4a7485d35

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ce55b7f798df2bcdda53175b9556e37d803c2aedc65a21adcfdfbc569fcdbef2
MD5 1503d5b6aaac2118eba86b9022992237
BLAKE2b-256 6cc49bf7f6aeb23bae324eb58e990d080e6ac1ae550ac864562d0b62d8cf272c

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b8fbe67bb7a5be579df1b43340ce25bd707bc5e8e561844fd37dc5c0f81c37ca
MD5 3ac20e40d76acd524764d1bed9a5ddf0
BLAKE2b-256 2e3b12dfb4be8367f735be8a0d38325a86ede7342c75edaf3253cbfe8e193f00

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d251e9e311b0fd20cbebf85aa44435d562fd62ac724509b3e2bff2b34eca73b9
MD5 f99eeb868ec05afddbc385c7cba11950
BLAKE2b-256 d878f760d6d985a1a834f8dc81e0545b63e69a71a6d53609e4360a24ac4f574b

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c231273bfe9d99ab75c77364c43e89c06d04ce308ec56dbdf708799c37c458b
MD5 595667279264f959f3dcfe775456e775
BLAKE2b-256 bae6d5054d0e2cc238abc417efdc1565928161692507713b9d391152363310fc

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cfad0a6e52d0cdc157d979dd149aff3003b5db07e263899f67ea0c769cd7e295
MD5 90701ee09f77cddc44a5e56151548e79
BLAKE2b-256 810aeb5ceb67d2f88ec682fbdf2d1e9ea3a0d5261217c627a5c106be9ce026da

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 05f5efa974a698fa75b028387a47737bce8c69c66c3faf4860b0eea851f3f5b8
MD5 9fd95435f1630c46f4e815764bcf8649
BLAKE2b-256 06bd50c92524e5de26b326c2ec010f9aeead3197e78a07078014dd2010db6885

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.52-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.52-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a5f4f118eddfaedfc83587b1946610db53292a153839cdcacaaf26e1602ea7df
MD5 d42becb55ae8e154d784b52a56ebf149
BLAKE2b-256 3e600f8b67500de71624718b1185585f356c40ee1a1852501fa10b8b4b4750fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page