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.29.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.29-cp313-cp313-musllinux_1_2_i686.whl (26.3 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.29-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.29-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.29-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.29-cp312-cp312-musllinux_1_2_i686.whl (30.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.29-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.29-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.29-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.29-cp311-cp311-musllinux_1_2_i686.whl (30.5 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.29-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.29-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.29-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.29-cp310-cp310-musllinux_1_2_i686.whl (29.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.29-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.29-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.29-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.29-cp39-cp39-musllinux_1_2_i686.whl (29.4 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.29-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.29-cp39-cp39-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.29-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.29.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.29.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.29.tar.gz
Algorithm Hash digest
SHA256 74f4c8c4c027ac0997f44c080fff1e3c96f01894d0725e9002d59bf7abc6b1ad
MD5 a3927516c9bded227a37f3dabfe8f23a
BLAKE2b-256 cccdef103e090fb19b9ca2aa9a0125947476051b5903bc02640ce7d9b212c245

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4f4683812441b966bef3829b542f19d09f53f8e0d3534b6b95068d8c3a27a31f
MD5 2dfdd2aa5fa23a945acd74e9775dd16d
BLAKE2b-256 2f84af2eff28f5a8fe678aec9ef24914c3ad68b63cc9c97ed23a193e747033c2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.29-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.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b15faa50621026b91cd6c404bead2bfddcf901aab32ad065878c692ee835468b
MD5 d1e0388518b930693f65fc08c7091ab7
BLAKE2b-256 25df6e991087b2b3461081ebebc53ec36318bd34ac563fe4fa812ae0bebce0df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 201f4bede6747db2f2553bb817f3b420871c5562a645557d6a55cabdd0160d4d
MD5 99763ac634e5be017e906f35d6cbcf04
BLAKE2b-256 9f892cb5ab7c92e5e224b0cf7625bf6a95981c6893d0dc26ce50f0ff65e0aa56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 abdf866627b6df0cd08ec8200faf789668907db2fe97b7688d7aac3791c5e2cc
MD5 6df0d6be487e123a6dd670318cd31874
BLAKE2b-256 9c946e2ccc7bc5e7eda56028d7f75a95b4e82a9b7051a182d4de7d51e2b024e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 aaeed1f497b526fc235cbcf1d6aa6116f6db1bc3514bb1a389ebd41a1e2ca960
MD5 043b2bb022a5986bc33da4e40e364fa8
BLAKE2b-256 8423afe6a19fb1a2a0f0179f447cafefd0986b7efad883a64798012cb40cf54b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.29-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.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cdbd42825a4d6dfce308d71e1f5d9487e5c57b0eddad42d10aa031e59d2f08ed
MD5 8da4a92d32f46c1d09f9a75679cebd26
BLAKE2b-256 386b2711d324d70073a34bc31429e42a7ce88dab5be6f1b86e04259c04730b67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bace6e9485d0116bbde8e6c0eacf7f3576d13582e76bd43d4f556f24b9809bd6
MD5 9ebc0f8d472e10208e2c20cd1af3aa80
BLAKE2b-256 5cc547f77f0780b48ea9a85158ee9589165db86d2d9ba41ccb907d87cce8cb12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9862a51ac47847c9fe958c56022c6d2748632dfb4e9645db05eda0f222da54b2
MD5 a4fd54b4ca34f5b02fee1a27c741cd98
BLAKE2b-256 f564879d4f793a90492ec6c83a22232980d9f867f2cbd22c19e901cd03a6880f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 797e54ad1ff6f40612e9fab1d17064405e03f4d3d87d5442987574200937a177
MD5 635b8be5c7375a8943d7d1acdb5d6823
BLAKE2b-256 df12c4bd6463fa7d2658d00c1891fb2c78979781e63d129a15949e1d493afb63

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.29-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.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 481c034925fb8b977597ec864d74003d5ecf9f362b8dab631ef49cd8d8f9d1bc
MD5 108565bb1db8a2e0b320ec396fa3b5ef
BLAKE2b-256 19b48c8d196b4c05584ffe3d9bd00c1d5b50a24bcbc2219ba2796cc47ef72509

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 16403a4564c7dad5c602fba7a6f603d3f4a5cd4642193afc24bf10ed81081040
MD5 bac12051843bf3e07792d0eb5b5c4a61
BLAKE2b-256 e155d00995b470a2df46b5e1a8230e547e63f640b6fdbc8a7c3358a9c3fb97d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8c4798cc53d35838825f8b03c567bd3624a6e9dc15ed574736975a60aa538604
MD5 b6192183437460bb5de533540babb148
BLAKE2b-256 93ccea983d9c9abe4c20e1dbd4befcf2436ffe4a1476cee49efca8538a8573aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3cafe9ff9ced417b7270c2dafa5a3819d85a2f0af515b18a39717412c92e654d
MD5 1cd21234470cdd0c15f339b962b7fb46
BLAKE2b-256 107e903e69f3288c4803d20cd3dcb0b6ad13c21721c92c118a25619dcc4b457d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.29-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.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0fa8e38b0946afcba0f64de3a3f6fd8751347d8f4bb9e13ec15cdb54bdd296b9
MD5 70764190f9da5f2cac78bc7132e4d0c1
BLAKE2b-256 b84ed90616d079cd8891f72344edde91baa2bb4ecad585a468f98f8937260ec1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b27efffe8532c011a50bb6549a26170f512826871181ec1328a54ca471a070e9
MD5 1654cf339b65e06270d6dfaf3ed8946e
BLAKE2b-256 95c55cfc4f567d71033440bf97972f08231ca2887436a5dee27b19be45469929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7b80a49e7be4494bbab89f236f8abda4d612136035b5a6faeaf8d6148bb6659f
MD5 2f03688a43983e3241fbf39595cdda77
BLAKE2b-256 31a2c77690dd8f157eb004dadf7ee2db4bda2999e1bb831d9249b8c5d118694d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d27b24e2fde247418ac2eae13f1e4a4879953cca38a090933bf222dbeb403794
MD5 5d375c684fc898f2bc21499a106f247a
BLAKE2b-256 4fe57f882961d966d37683c709013e6da37e83595d356f67a441b5596dbb08a2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.29-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.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ffa9c83b87a8d79e1597390668ba17c7bb28cbdb8ac2ce2e4a44bc9bc34242c
MD5 62ad6d8f86bd5a85d3781b7ad3a5eb97
BLAKE2b-256 c635fbcd0b7aeadfb62aaf69731c203209bc503f3fff74244b1662ad9e7bfafa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a5fd2a5b2e9af0da2e31ae8a7bf553f0a7cfc0b5439e6549bfec30a69b0ef102
MD5 6827b6146b72ad1c6e0dc74ebc1e0020
BLAKE2b-256 11e81f97c4605ee84492c78762b78983af5b94150356a26bb179994383956f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.29-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a87c07a8af4c946c56ec8aea2b735893ca661c7df88ea85d857e68d8d0f855fc
MD5 4225d6926055faba23c23628ecabd3f7
BLAKE2b-256 8ac995d554c91b2ac0967fe498d16c451a6be6878976b5c01bd3bc64655e5645

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