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.5.10.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.5.10-cp312-cp312-macosx_14_0_arm64.whl (163.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_plantri-10.5.10-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.5.10.tar.gz.

File metadata

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

File hashes

Hashes for passagemath_plantri-10.5.10.tar.gz
Algorithm Hash digest
SHA256 2dd0a10a6849130d972df0af957d29d01f217c0e58786aeffb456bc3406c9edd
MD5 9973c80e1eca37154065e33e8de12834
BLAKE2b-256 25f33156b7954fdbb28a88b9f41c7d5e0dee1ef6a10145033f627ad7b4247a94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cefe96ba4b5a0b51c0ce6b2b0731f6b6272bcece98e3a5935edbddd9e2919eee
MD5 c7dbe11120f257b6e4fd9877394ece59
BLAKE2b-256 cc11ee9abbbc6017e09c88e24d71e34acf65585de222cd21fff14a4222530ec1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 87da40f707556200a5cc32a926cd601f5e66ba3e383cfe9b3b4aced034ab1b62
MD5 9049a242732fe424c6857db9a8f5be78
BLAKE2b-256 f45b6f12b5c6c065021f9a389847a04f13cf6b660dd5f85d9db2c4a9e1d15ecf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd9a1a671cd6fb1432fe8c038cb418551fada8377f2417daefea9d8cbbc1abef
MD5 6b5e78539358281368ab5d790a44a43d
BLAKE2b-256 ca994f7b54396f8bf0ee31320ad374f237ee37464f61be3b0a34fd8047353320

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 068d6ae552246fa6d8cd564b30b89b6ecde2fdfdb1fa4bb56d76fe83da398083
MD5 49ed93a33b7e51368cc83c2e31884f2a
BLAKE2b-256 5708dff61db97bf1fd4cd49dc55f0acb9c9c57d233e5c702486738d66c321cce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b5ceadaf7b64c5dda2b6037481570dbbb7b9037bfa3d9b717e3149687b7ceb1b
MD5 0eb83cfe54f57f948ca614a893f2af2f
BLAKE2b-256 b5356273c132e8df5836287cdd0690ed2685e916dd0c9753b0a0b839d4f24f70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a10f860c9c7d5aa1605c7de9deb25f31e6aee7834cab7fdbf4510d2a082c484c
MD5 25626f3b9be04b83379cf938c4f67bbb
BLAKE2b-256 a4c8c03e68e1509c7894c768610f66cda515e1c40bce90b155763f662d449c71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2ae0e30cb1ddbc2085406c596e50231088658e74ddd263b35406c1e3e959d89e
MD5 4f9a310a556670258db756f2dfc4b189
BLAKE2b-256 f9fc356e6b11e48025503102a9e4934563d1f851a6671fadf5c4b017b7564c2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.5.10-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc00ed58d4bc1df4810d7ef9f1606d366401ce11c6b71034f294b7bbcc50a0be
MD5 5b24b3901d6fc17cea5d01a4113d8c37
BLAKE2b-256 bfaf22b43999d7f82d5a8cc206a7552f6047f80020b112a4d25534b77b604746

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