Skip to main content

passagemath: Generating planar graphs with plantri and fullgen

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 distribution passagemath-plantri provides an interface to plantri.

What is included

  • Binary wheels on PyPI contain prebuilt copies of plantri executables.

Examples

Using plantri programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-plantri" sage -sh -c plantri

Finding the installation location of a plantri program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-plantri[test]" ipython

In [1]: from sage.features.graph_generators import Plantri

In [2]: Plantri().absolute_filename()
Out[2]: '.../bin/plantri'

Using the Python interface:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-plantri[test]" ipython

In [1]: from sage.all__sagemath_plantri import *

In [2]: len(list(graphs.planar_graphs(4, minimum_edges=4)))
Out[2]: 4

In [3]: gen = graphs.triangulations(6, only_eulerian=True); g = next(gen)

In [4]: g.is_isomorphic(graphs.OctahedralGraph())
Out[4]: True

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

passagemath_plantri-10.4.68.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

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

passagemath_plantri-10.4.68-cp312-cp312-macosx_14_0_arm64.whl (163.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_plantri-10.4.68-cp312-cp312-macosx_13_0_x86_64.whl (175.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_plantri-10.4.68-cp311-cp311-macosx_14_0_arm64.whl (163.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_plantri-10.4.68-cp311-cp311-macosx_13_0_x86_64.whl (175.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_plantri-10.4.68-cp310-cp310-macosx_14_0_arm64.whl (163.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_plantri-10.4.68-cp310-cp310-macosx_13_0_x86_64.whl (175.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_plantri-10.4.68-cp39-cp39-macosx_14_0_arm64.whl (163.2 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_plantri-10.4.68-cp39-cp39-macosx_13_0_x86_64.whl (175.2 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_plantri-10.4.68.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_plantri-10.4.68.tar.gz
Algorithm Hash digest
SHA256 0f6c7353c6b996e050216006312dd5af71f2cb14e4fdd3ae402806c33314da1b
MD5 d4224686f1c1c467ef90a0ad20cd1e85
BLAKE2b-256 307aa1a5177969aab758f7c4c2a1e19570a6ab20b232f718ae002b899587aba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e669479e3a0b1a3c1f2abb22e33df757aac30de24a5e193d156bf0e7b61e71b1
MD5 5d41f2c7d6b7b415c84bee7928f4d608
BLAKE2b-256 c53046c7cab485eeb51b56dca072ddb8aeeb58c0aaeb92d29e7489475bde607b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 524a572e147593308f10e50e036a9eeb019278066b2dd8915a725b56a9c3251f
MD5 8dad2adbb8fd6c0800e0c180b06b3116
BLAKE2b-256 bc36b604fe85ba4925312c85b1db87162b85670d9bc73f1577da060b603998df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a027bb12a73a20583442cbcf04c39def51d23a71d05ab9a1c3c0dee0971e60a4
MD5 6d87324bae211c5b975dbc9456586530
BLAKE2b-256 0de9fa56792b2d56f337b6f4e22a49c685042a233be10e2f5e14081e09191e5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7af522a52357ba4fbaa4a16b5c924d2d8344846662d6064d2a575934d8f90b11
MD5 537d4964148c0648c115b8ca00d4c64b
BLAKE2b-256 c0e3373338aa3779d3735d44237dcf2ffabf9c589de657197af28ac16a1198aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0633540d32dd324ad8a141c84fcbb3830123f582dfe8d07735bc4af2199ce0db
MD5 f25f06448cd828298408fe56fa1dab1b
BLAKE2b-256 2587274d3f72a9152661dd366feeb8580831cd871240998b9a8b177225efe550

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b7f048f6459d230eab078ebac2836dc62535f2bb6ba81b78e9089c46a70bd4cb
MD5 79d51c5b71c93da3e8dc4b5f087c6f5c
BLAKE2b-256 c6cfc41ccf9a3c3478f82ad00b123d98c015acf2bd5e365267bdd02a7d145c90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6b6298f52a9c0bb1bfcc95dd0d523cc83fe306616b3786e62a561f4ac23ad572
MD5 494a1461bc1cb09b638bcb0b8d8c46b0
BLAKE2b-256 be1b64d33478a57e651c279e3099cff74d5bf2dde804193ee5f8d320d15cfac3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.68-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b6a86d99abdc42a5af12436b13f45bcd25567a90ae2fe2221568996cd4aa037
MD5 49dfde614667e6f934b081b1de28e9f9
BLAKE2b-256 19eba2453d6ac03f2e2d4f71a78093b16a9575fa3b7750b254e3ffc6e1397599

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