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.67.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.67-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (204.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_plantri-10.4.67-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.67-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (204.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_plantri-10.4.67-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.67-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (203.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_plantri-10.4.67-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.67-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (203.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_plantri-10.4.67-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.67.tar.gz.

File metadata

  • Download URL: passagemath_plantri-10.4.67.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.67.tar.gz
Algorithm Hash digest
SHA256 5974533c86ac14d2710af19433bb63675d2ce7770762b6050082ae0393f46e44
MD5 4aeec1e36d71b9e6318c0eea2a0a6a03
BLAKE2b-256 3ef2637e417fe984f7f31e23319f0ff44bc2b9b866cb3d18105f2a758b116152

See more details on using hashes here.

File details

Details for the file passagemath_plantri-10.4.67-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e174939ea89b0f05712fbfe83b606cb86ffc2d4797c2482119205fd2cc5e36c2
MD5 2f9ad31289bfb897300925ef8cc00789
BLAKE2b-256 5834d56cac3b3527c73bd550b38ebf5bef85f5b5b5be3d123da5ce1e572fdf71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eeb28df12066f45743101a5ee96bcd565b7f95630d94b7425da82628fe7ef64e
MD5 0a121b6f691365e25e209462186d2e0e
BLAKE2b-256 6fcd4f05fde64ff2fc657f568ed72d51d8ff2cf8ab38e4ebd0d06d35bf16703c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7e612d5fe0039c29b78e5705c872d21bf41390c8980fe8aa23bce120ef2d98c
MD5 33091ec85a44c527d188730c35f35570
BLAKE2b-256 160c286c5ff06c17f2ec8f84421148290ec997e88a5aefde4f4d6e91a0495575

See more details on using hashes here.

File details

Details for the file passagemath_plantri-10.4.67-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7dbc21ce6e6a07b8827e38e5f1b6ebd397e13c98096df6ebdfaa7da7af6039e6
MD5 d2aeac83d794e52329df911be4570b53
BLAKE2b-256 16159bca494396ffec11fce6fe3883a9575761dbb1257f8d2229f326bfc1c25d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 07de878ba33b5f5ea94977e75a69cbfd41dc2fc23cf6da174de5a05212408403
MD5 38e2dc2d80b49f55cf1c28c45304e90e
BLAKE2b-256 a76d55f560a78ddbb2f63bfec8e70f5c30c91d1f2e89416b7988dc74e3b59ee7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d4a6ed8fe730abc73d8a28235035fd5b00e51026703c53d5549cbadcd3bb9eda
MD5 89e7f3bdc7facfdf2c9a3f2a3bdca4c2
BLAKE2b-256 69ccc995cbd6a20649f65ff8ad6a6fdc78588690c2b5c1042fa5c1f0953994d6

See more details on using hashes here.

File details

Details for the file passagemath_plantri-10.4.67-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 992a8cbc8f3381f289f9cd42f3a517c80d6f55b0262d351e6a8ac822b82af475
MD5 340ad060955a1f8cbc70035c12eeced5
BLAKE2b-256 3c71bed71e1d530f1afa1c88984ce04e36e0b73acb315c67b67371d72ce8dac4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 024e6ea2d069e1011d1c8f76c2573013a0f737adff5dabe3f35392015c088b30
MD5 6c70d627773e1a3b9da9f49846218776
BLAKE2b-256 9c305619b2eb2886648da5845c545bfc6412b9c90f555d58f7041bf14505c270

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e10f01bce65dcde5b78627ad5035f8e310ab1d184bef02a1c8adf6a995f84a2f
MD5 8b4e33a79bb952d5a0f45f49d01e8895
BLAKE2b-256 6eb80c1b8617ce583baeb87a405b086702d927a647b081328f4e741d9530f653

See more details on using hashes here.

File details

Details for the file passagemath_plantri-10.4.67-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 83ce6c07ede554848dd8c135016c157275509a2be1469c135d677bcbd7b1a542
MD5 860509ec762502b3f9be960192b5454f
BLAKE2b-256 ee4a44836d6f40054ef32a9c957d0e921cf0042aba4f58c891df01bb1a9bb7f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b83829e56e7bd720c1a81c6ffd1adb3e4918dc9c7f85012b9e0727c1b7d02013
MD5 3401ae093b28c772ebeddfffcb58c8aa
BLAKE2b-256 05000fc7dac58b820d0048341ec0746d70fbaae396ee2b9d4e0c26636d6c75e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_plantri-10.4.67-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c38c505062d6639818c5ed37948ff954f175140d732848057cdbb3d19d39312c
MD5 07fa3848c9319c1b79ebd7dfbb5bf706
BLAKE2b-256 f4f66085e167115cd9f8a34516dc9de84916046eaf712e8e0860916371abd6ed

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