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 Distribution

passagemath_graphs-10.4.66.tar.gz (2.2 MB view details)

Uploaded Source

Built Distributions

passagemath_graphs-10.4.66-cp312-cp312-musllinux_1_2_x86_64.whl (34.0 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.66-cp312-cp312-musllinux_1_2_i686.whl (33.4 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.66-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (31.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.66-cp312-cp312-macosx_14_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_graphs-10.4.66-cp312-cp312-macosx_13_0_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_graphs-10.4.66-cp311-cp311-musllinux_1_2_x86_64.whl (34.0 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.66-cp311-cp311-musllinux_1_2_i686.whl (33.4 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.66-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (31.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.66-cp311-cp311-macosx_14_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_graphs-10.4.66-cp311-cp311-macosx_13_0_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_graphs-10.4.66-cp310-cp310-musllinux_1_2_x86_64.whl (31.6 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.66-cp310-cp310-musllinux_1_2_i686.whl (31.1 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.66-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (29.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.66-cp310-cp310-macosx_14_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_graphs-10.4.66-cp310-cp310-macosx_13_0_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_graphs-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl (31.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.66-cp39-cp39-musllinux_1_2_i686.whl (31.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

passagemath_graphs-10.4.66-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (29.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

passagemath_graphs-10.4.66-cp39-cp39-macosx_14_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_graphs-10.4.66-cp39-cp39-macosx_13_0_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_graphs-10.4.66.tar.gz.

File metadata

  • Download URL: passagemath_graphs-10.4.66.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_graphs-10.4.66.tar.gz
Algorithm Hash digest
SHA256 6d6b2e9496cbef77ae4a120a9999d80b42efbcdf5d710be6a322e603de9b451e
MD5 cfa213b9452d64be18fe20950c24b249
BLAKE2b-256 bbc214ad3a7ed236ac73d61e5c06611b177de4d8e2b29799ccc3d50738fda178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ba483fbea48c1b26119663181dd3f9506f5b050466c63ed7557d3ebceb71c0d8
MD5 54f503ef1e42e6571dbdcf31f65e1160
BLAKE2b-256 76afcd419b6accb66bd8502d6505c1aabe3d8748032fbc48e76a9c81910f3ae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 646c7d605db9a9570af888b850af1eb62013162906c9691022bfa374a61ac8a7
MD5 7f59ba9ac109c6689b2d17256b262a0a
BLAKE2b-256 ea50bc9077b809840da7948eedd573f20c83048bf5650ba8aa3c456398711d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 dfee6fbc1d526e6576c99ae1ddf54214bbca2dff3c44c812e612df52e7206c46
MD5 7f07a6c49bbb9740e2db8f4e3f25dcdc
BLAKE2b-256 6ae56c1d306e0a49441e7ff3edf6753990439f85fd58189049f246eee4e23afe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9b0f0879444b278f5e82653124162733183ba0ec7fbd4dec0074e634fc433f73
MD5 6331f233988d9aa526c25f06c770b925
BLAKE2b-256 a0ceb45f0216fc648453270aeb8ac1ee5c776194e69f90c62485b29880bdc588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6de9e649b4dd80c47f146d1b5a7ae52764574549b286e14cdca80252e0c7361c
MD5 1f3a7aa5cc04f5e51390c70012f43175
BLAKE2b-256 92efc25b732dbcb9cff64746307985b6426bea2093e2c4a7256bfeaeb5d8b3d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 32834d3c05c892acdd573da1fd879dc050d8c6acc0c01af784b5340564096ee6
MD5 5d623311c5ff55101c856d7205087a79
BLAKE2b-256 665e3d79d4d16e5f25e7c7b414c7a011b209e8ef4bb493c2eb8ce9087da1f2ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0d04e42f9fc819e666e1a164d55a1f6ee098b769217e5cdcf2797ce21961bc9f
MD5 c8bc0adb1a5f1946b63ccdd23fe74251
BLAKE2b-256 644cd41be5d0304b163c231199f9eb46ad61456b1d7cdf87b8e7e029fea49aee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 dd63b0e1bb57511a4416a9a2c47cc98cbaf81407fd6e5fbedbf6b8c065089e01
MD5 cdb618c12b23396559981b95d42cbe18
BLAKE2b-256 5203eb839e727911330f8dddcb7b99e501709e59d01fcc5915d7aefcded547c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2d559977f6cbece8f7ad06056d50c9c4b1c3f9c56f82d86f1a0dff40c1838e9a
MD5 d22a8ac5797851797ebab17ea57acbb1
BLAKE2b-256 f7c027981e4bf2b34b8018f40246806bcda8c8a8b7c00e013425cdb67182ba8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 738138b29c49955e829575c8782f77b47e31a6ee29550c12547d3c4f8731f09d
MD5 13a512fff250c58dca94ccf17c2afaa5
BLAKE2b-256 b28e8778782fa656e7db8bb1b8da8102cec07cffe9cf2cfb0a79334df4e354a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 399a463dac0e9436ab78e746d11f743a7c8705e838e2be5564bd55d62181fd78
MD5 8b0edbfca95dfb4ca3fa15f7065e6a7e
BLAKE2b-256 84adb880277d808330e4a9dd1ac8d2a00bb49f3c1dbef52c788db2456ff8dc41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a31def82476624fda7f2a52ac7f769c1285d87f851fe0fdb5b0a639a205bd110
MD5 bf94580769acae7bfba33b1864ed8eca
BLAKE2b-256 defb2e87f7011a36608d3f0f0bc4505b57485473965717513c2affb759f94162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 33e350ed1048c8b9d65d9404d85161f6343ed6c763310a7fa11a60b74d0140a2
MD5 f6f29c11a0e756ca30f804e1c0b5ae7a
BLAKE2b-256 83cc9980e9f890d39ad2bfc8d92bde9d62ef86cee07e9da8a4d539f1dfb7daa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bf22fe48634c03d11a28f60ec55e18be6ba5957bf60db94706b8d57fde5c4d06
MD5 48e686df29ace3ffc3ce3cdc05af557a
BLAKE2b-256 eeb3576478795c95ea1b233a0fbb4b53b58141f00209c9a68fa0d3bf4ae29692

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cb06d1da05176d868f91c51a927020231c664a489182e09543ff1b36a2b86713
MD5 ef72ccc6144e89968cd088d66b239c8d
BLAKE2b-256 f7dc05d3f03a8306eda5781fbd5321ecac6a57e62e736ad30289183e1947d95f

See more details on using hashes here.

File details

Details for the file passagemath_graphs-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 07f1b8a78768e6e3296586f0ccb9cfb65bd56d9169750549bef4a7fa4a833d3e
MD5 90fb83a8d4c703621b565ed20bb31650
BLAKE2b-256 d7c58208f8be68e3c8fdfc76364dbc5f81cefe0eca205a2e8ddd62538634bdf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f73aaf764c96b0b1d1455b212113980891a6d366db52d126fd3b9b674d487b47
MD5 77979e0eaf59ec919c96f1bbe67b2ac7
BLAKE2b-256 d2b0e968b5a0d149a7de9ccb0f236d2fae37d902a86506cd05fecec4b33f824b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 783daf4cb5678b663a51506e2f900f2d06c3a4f6b0ef05d3d4e0ddb3d3cc121b
MD5 2d27fed68bfedeb59ed74b68bb0874ea
BLAKE2b-256 58c311b38bff7ab2b8762afe2bcf621a022028fcada7cf46883b3570d8b6a19e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd7f40762d8e7396dd92858c0bd19d237052dd6d94c3946d121cb07001be6a4b
MD5 03b9f92c5dae28bce4628a5bb3391557
BLAKE2b-256 688c24e4fadd774fcc85ec1e89d760088c3abb7d232ed3176ab6f03132fed334

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.66-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 89b466e098cd7460920031556f82493e1a57c1b5bdac2d239321a6f5aff180cf
MD5 734734bafa96747ca243e5c7a90ebf98
BLAKE2b-256 dca19c599fc85a013f9e46148820ced1368a2e5c4da0d746d17cd9a6bce5f81c

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