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.68.tar.gz (2.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_graphs-10.4.68-cp312-cp312-musllinux_1_2_x86_64.whl (34.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.68-cp312-cp312-musllinux_1_2_i686.whl (33.5 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_graphs-10.4.68-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (31.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_graphs-10.4.68-cp311-cp311-musllinux_1_2_x86_64.whl (34.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.68-cp311-cp311-musllinux_1_2_i686.whl (33.5 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_graphs-10.4.68-cp310-cp310-musllinux_1_2_x86_64.whl (31.8 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.68-cp310-cp310-musllinux_1_2_i686.whl (31.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_graphs-10.4.68-cp39-cp39-musllinux_1_2_x86_64.whl (31.8 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

passagemath_graphs-10.4.68-cp39-cp39-musllinux_1_2_i686.whl (31.3 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_graphs-10.4.68.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.68.tar.gz
Algorithm Hash digest
SHA256 c8940753a4c710207206359c4e4f85a68c2032899326469888c8d1f2b2bd8423
MD5 26f09a09cdc6df46ad63774edc65208e
BLAKE2b-256 c99f7b407d183d97383c2c7d53c144a06989ef80e20e2ed76f620e48453904b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 253a8bc0f4e56a110ed6045b67358054e588ae724ad34f5c417f7c259e3935fc
MD5 05de1e4f439278db1d4dc453254576be
BLAKE2b-256 e65a85f3f133145338cc5263814d2ede5aee2a883a6d48c797f7d39f3a10218d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d6a6a40ffe6b881fd3298af473efba6d9d64212e2080e31000d1b248e07a6596
MD5 c8f26fffd88e46d38fd5e3f3c2d54fa7
BLAKE2b-256 aafc8f62a683e3b8510e8e71e29d09ad4f0dc03634fcdde5c8e168e6f51d30b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f1c92a21c7ac19ba52ed1727d3c76a016d6fa3c1d2f92aec5fc53e97922fd4bf
MD5 1e0b398b159b0b2a4434a60097b02766
BLAKE2b-256 02ace960281fde96b569430873ebd206a4a489bb86e7e20ccc04f14289859f0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7bc578c2269cf049385e98c09324afb93d3407a2f94633d38b528114e6a65e3f
MD5 73ffdac0d8eac93a89d5a2fadc948947
BLAKE2b-256 0564a7db4abfeed7bec9f4cd5d41eef453289fc81f1de36904382ba54fff5a1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fd0fde5b379e26b0ebabf10b7193470630969ff2362bb55941fd78c752c14c90
MD5 a0d0cb2d6eaa9231fd44fd480594b7e4
BLAKE2b-256 656963f7254833a2e13a57d0a61999fcbe459246d9fadd0c80b53617b5b1c108

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f5f4a478887bf6599f8e94e09005c87edfff6ac58daa58fd44eb92509c095e33
MD5 fdaabf991da00c3a1c83dca7e0cace11
BLAKE2b-256 3b0fc96e1a0aba7ab9e7c62443576cd09022b7fbce77ff396c4f4b764ac7ac7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 edf9e0eaf61063a98f761ff1d68adc935345c4c4b020047a68eb1634ab95f80c
MD5 d6b1959941c0c8c78c06a6b70485dfd0
BLAKE2b-256 514aac86667cd2c3bba2cda9ab11d23d15ca4e6e6e7399520390b0ee240688a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0b565133041f96b719282c2d1da5abe36fdc11cd9d953c2fa21730eb28de413d
MD5 2161d6afa503e95c37ab9447bc07b2a3
BLAKE2b-256 22e30b50ff9773eadeb9728ee2bce800cdf4cc93da0c06418179bf7431b640a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aa1154c56ef9f84ffeb7eb377cdaf7ba7c94fbbddac00898ca7c680d543c5656
MD5 af9bc9c0e740d069b886feb749c72b5a
BLAKE2b-256 e268b931175fcb3eac19c4b0216809bf578a202a6d8f772ebd88f21d924b25ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5e376e04cc871c14b6fb946f03ed90b602e7891d483ac60ba0bf55b22932caed
MD5 d72030b31931981995dbee1b14220533
BLAKE2b-256 34c67b6c57993f360b986e3339bb1c9db5ec4e63de59f3f6e9e45f7cda562396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b6151af24fca8b9ca51879f013613c181c3384c22286e51ed49b4053616939a8
MD5 4540de66e401cbf13b665cecef8a2dda
BLAKE2b-256 7c5e6b4359561ad265abbf9ffb3e2c67f2ee4384bf9a15c67f92b2dd82c55cab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c5398fdaba07219798bcbbc8a95cc1d6d1939c472f8cf0def2c822f68f6debb3
MD5 58d479af44362148aebfa0aea862db01
BLAKE2b-256 02f21d89ca7ab58cf5d14cfa6d6191a5dc2a8c0464f6105846ad85c277d5f887

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ac8e23164b65997e552ee16b9f7d3751e328a1b8d577769598a812f7010092cb
MD5 2a851004de6c6a66087327ff0e4fa0de
BLAKE2b-256 fc7523e2a21e48a6b8f8baa8a9b7a7fd00febd9f617770ca4ff22197393dc4c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 79b9a02302d50410b821b477a00625988f3806620962afa6dc5342ec143e2fb2
MD5 7ddc81f4d2efaccca849c76a56016871
BLAKE2b-256 48e2312076bea54a10f91b718f0d1c930d8b9956aa8d2acff908134df7881238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8a990efd2b4dc2a2efebc3aacc075ba945b36f5bc0783a3b20da019497a2fd98
MD5 f83cb8e13d435a56c9e39e23ce1e0e9a
BLAKE2b-256 d147be3fd1cd0822204406bb90eb4b99b59f8f600fc9136bba3210bb8f668260

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6189bf4d27223a4eb7b36b3490d7f32b5a3b68f2191cd315bc4e7a6bd207be65
MD5 1877ae0cf405ea0b2fc7761bae46bbd4
BLAKE2b-256 122e76519e66cbbb23052c3c32c6fe86dd0455c7936cbf691f3c5952340636b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 63c3d31e7e3c83f7fbc4cddf783941274c6e084e69e3d130e2bdfb788595d637
MD5 f0981d3228bd66a40562d8a0403c8ef2
BLAKE2b-256 029fd9d5e63de23a41595e06e1c3d0043d100fa3c0c8c27c3fd455f6becad7b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b2a7751447fdcbb3b05af770089a878b071a1a31e6445ff8e0e66edff8364d33
MD5 6aa4f917b8c3bd631a5805bc5daa9852
BLAKE2b-256 e8b90cfdbe19242fdb987544bb2887cb94bd3b71f9eb772a3603772aec85ef70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fbbb8abe8777da2af064c0a4e7e44f1e2349fe50f5b8dd20147fc06dea3c15de
MD5 c19722292a58c97ed43a2a0ec9464c4d
BLAKE2b-256 99c0b6b7aa038f992a50c2b60556a5e96e3df95fcbdf2a76cfa9083818113141

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_graphs-10.4.68-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 993ceb477686ee16ca642ea66046f792d5e725427692addb5106f45acbad7eda
MD5 a00a75500d2dddc7557bf4fa23b70130
BLAKE2b-256 eff255de7e283fa858500852a8167abd9af282aadfe20df4266c825ab9da39fd

See more details on using hashes here.

Supported by

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