Skip to main content

passagemath: Interface to the SAT solver glucose

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

About this pip-installable distribution package

This pip-installable distribution passagemath-glucose provides an interface to the SAT solver glucose.

What is included

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

Examples

Using glucose programs on the command line:

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

Finding the installation location of a glucose program:

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

In [1]: from sage.features.sat import Glucose

In [2]: Glucose().absolute_filename()
Out[2]: '.../bin/glucose'

Use with sage.sat:

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

In [1]: from sage.all__sagemath_glucose import *

In [2]: from sage.sat.solvers.dimacs import Glucose

In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))

In [4]: solver()
Out[4]: (None, True, 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_glucose-10.5.28.tar.gz (4.3 kB view details)

Uploaded Source

Built Distributions

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

passagemath_glucose-10.5.28-cp313-cp313-musllinux_1_2_i686.whl (26.3 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.28-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.28-cp313-cp313-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.5.28-cp312-cp312-musllinux_1_2_i686.whl (30.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.28-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.28-cp312-cp312-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.5.28-cp311-cp311-musllinux_1_2_i686.whl (30.5 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.28-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.28-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.5.28-cp310-cp310-musllinux_1_2_i686.whl (29.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.28-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.28-cp310-cp310-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.5.28-cp39-cp39-musllinux_1_2_i686.whl (29.4 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.28-cp39-cp39-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.28-cp39-cp39-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.5.28.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.28.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.5.28.tar.gz
Algorithm Hash digest
SHA256 3d088f335a5864051f04a9c336a7b92f225bbc5d2f5c90768a34c17dbc20cd57
MD5 253e8c8cdb52035c8b487c569e66a6bc
BLAKE2b-256 2479253953a9d6cbe045def2ae8dcbbfcbbd0e9251c500666acf7fa08f35fa00

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 030ca9b5329f3ffa39af4918058593c46040d2bed1e0831f9f5b740d0e80fc2c
MD5 3be4038f48587a8887ff4323dab7429f
BLAKE2b-256 5156393e713a3566284124aa61cfb6c1fc5d06918895c6420f4fcb07688c436d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b66965df5b0938d3c1c8c8dc71266dbd5815310ae26518107012ab369f52d3d3
MD5 b022dcef0d60705739e9987ed16a2cf4
BLAKE2b-256 8218c899da7ef477cb8fe83d3cea9ca1fd16f30899020561fbdb67660e584540

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 63d1005c60615de2adcb6761c29a902d9457417b95e6417932f809922a92c57e
MD5 6f2778c6349dfdad585669972dff79ab
BLAKE2b-256 10ef1d41c4187040499b52e01df160f6bfce93082a2a933a9abf7cfc94e0cc90

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bfd64330dcc1be4bdc5eb5135cedd4bdbc8166763c4076f9923dd53e6989ddc6
MD5 d60bf10410e9bbc2ef5420b7b8552196
BLAKE2b-256 3d14435203e60047e7fa5eff932882d301ff7727db3d2e42abdd210b20c60a59

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c1e35fa8d6496e1262ba86ad869d56b9cd258bdc9ffbd34800b3a0ff35d829b6
MD5 bc9ba9ada9e7728eb227d1e35ccced7b
BLAKE2b-256 5f1c4aef03ba33bc632069aa363070d5c4a020bb38c1d30ac612531b14d702ea

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e02c5ba7e958524816482242833aa0e0386d1cc1796a3ce3716923b4f58e4b61
MD5 a8592e361d91b88ea55c8fead104a898
BLAKE2b-256 18e8e1a2e0c2ab48f8b3f7a0132f878ed419f9808217b4c11399859527004696

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 98f8eb0c8e0238b9cf8bd2f589a9ea37043d885c14b4a2e8b4edbfdd8e1007b8
MD5 a530a69c9cd9ea3e7487f6dc38232664
BLAKE2b-256 ea9099767f6fc5705e0250524daf303386cfb40431c35cf7b4e0dfe2b66cc943

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e8c6d6644873470a8e4d6f4458e365b0d2f4cf04509384b0c6b337fc0e1c5a51
MD5 3176b82590b8aafda68305709e5f2a52
BLAKE2b-256 5c7ef3c247a47c37cfc232719a47f5e87e5368432a26718bd404190b44bfd5e3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d5b8f6ee0018758a24abf553e9bfff9ecd3f498d8878a04ed7ef20f0912b5bb2
MD5 ed57185a1258ded028695dc721762dc2
BLAKE2b-256 43ea5973e9a281e87db107ff84b066ed4565958b8514b6beb7d4bf08666e8b6e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a25ae72827be85af31ba1a7d7e7a60349471ed057f9b0ef55c47c2a02233b610
MD5 029c5c6ae396da9f0e97c2c7d6683361
BLAKE2b-256 24c78bee8a87be2898a68424d8d5adbc3e855a9c1120f07c079e20f29dffc947

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2c80a055b6b59c8fab6df6e41ad1fef64f086d9d37db5189dad8b93e6b827f85
MD5 516b4f15081b917a9c3f269b025119fa
BLAKE2b-256 b6344397a057406d8842d7923f1df88e55a71c97fb67f05e18836699551b9c9c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9957c2ff73d94e216faddfa6d5c67aefd13c6c374d07ccbf0560cce4f300fc0f
MD5 3a311c6ff721c1bd53bfe4c1ca26f8d0
BLAKE2b-256 840c6159d42af8d521c56a868ccbbc2ec2bacb94551ce1134cca901d6dd98046

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c747160362d23de38291b3460539ebfad700f12b18c3a8769148b243ad06f4c5
MD5 12a31b7758f2969275fd055719de8b41
BLAKE2b-256 5a12f89634f801330cb3de19b41ae2be85ffa75b90db722bf77f0c9c598f05dd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4708ae6d06b3fa5e1c29279854bdbbb30308649bbfb5560b3eabbeadc7ba316e
MD5 30e481c345840cdf501b0347277e7c5b
BLAKE2b-256 d958bd0ed317c3f61a1d0572a9fc65b59244ec6e90749034425825c1418ff6ed

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 89c89df96e72aded892af7139f426376c86a6ab3f0cdfae67037523075d3edf0
MD5 0ff8de1088efcb67a88bd59081e1e9b7
BLAKE2b-256 2eba7746bc061d1c93cb727f47fc9295f5af09411949de54c1a1d091f3bb6dec

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7e7542dc858ba1049ecb76adebfdabf77f0db945fb10ec6878e2114eb6e23003
MD5 519534d202988cbf741891914ffbfe59
BLAKE2b-256 f935088438bb9d8edcc025f513d56a6fa7671b3f2f7ea720a4396a3f1d99d86e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7770110045a50270896cd2ab3fef021729edfe69c4792892a9a7716fa01a5bc3
MD5 29029e373152c88ad6ac3154c4b036e7
BLAKE2b-256 ddeda3c76c53b84faebaa7610680b48ab07046d8c49df731cbbb7551446cc171

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c947aa8cc11852835d36b7976ecd8f88cc36a44531c6a5f19f7ab28da14473e0
MD5 f082500c251ba09a9b195249ab49eeb3
BLAKE2b-256 6b98960d32ed6f2857fc8a13648a6beb574805a9e9b16bb55fe1604cc99c80c3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 14d54b4b2b4d189f314c3e469b71ebc728fab0b0723fd6d3b2bdc19768956dd7
MD5 4530d4f6c81f87a9be897e7ecaf5d09a
BLAKE2b-256 6459037c5f8108bc3dc56f90bd2977f24cf2e9440f43fcd7d9adf330a4fab3e1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.28-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.28-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1805b86a2067e08ea0ecf01d69911d9326929ac30586250df87c22dd639a43a6
MD5 b77d2f38448cf8a64743e01ea40ef1a5
BLAKE2b-256 6d0c1aa0f114635441914c4bbb22fa2e8821ad812dcb9444477e045fc0cc716d

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