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-2026 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64, ARM) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.

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 passagemath_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.8.4rc0.tar.gz (5.1 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.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl (235.6 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.4rc0.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.4rc0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_glucose-10.8.4rc0.tar.gz
Algorithm Hash digest
SHA256 82385cf67d49fc635813f59e5639a7fdb70abb84341d8a1e6389e88aa4321e70
MD5 a3222dffe9fc528004eb1dd641e9bd04
BLAKE2b-256 4df1db3628466a4751fffa300c6b4dbeb055df766ee72f870bf3315cbcde8f5d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d614cde1298253c5fda07ffca58aae69921677bd18d28f8534ea2247e51a8f01
MD5 54091a6ccb461af82dbcdd8a3301ca69
BLAKE2b-256 f5ffb18fb45e676be0e0a45e9efdc9d1187f14be8b65055105535279c7093a64

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d1623bffb22e70344fc7231bce1ab9a06a15ad64ab16d415258f279b70ea06a4
MD5 b36ee072c20713d974dd2afd2c9ce051
BLAKE2b-256 0a61b4a42b666cd36b042533de74bb9fed784a4a9121dd44661bb98e701c9a22

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a7a44050106921295442755d3d9da709263310ed923ba7d86f4e3d79063bfd90
MD5 b48ac6252f52beb2657b802a956f3346
BLAKE2b-256 e74daeb147947dc7eda997e1cb3d2517620d15e7485f7e0be4256e9d38a9b453

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebd2ce0d4983002fc88f569bbb96293eb9c1a28f129de65c3b9978c531fe3791
MD5 289298347a30eee2f511aaa1758ba7bb
BLAKE2b-256 6e3f5201c41ca52d74607789823468cb2c498b5ef83a7faa72571400f4b069e9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 362b83c72e026767690c53078a62e595155f303e85d437a1545760151991a1fd
MD5 c82c5173c36ffa898ce8d3c099efa6d5
BLAKE2b-256 c8fee82c4b4fd5beb6d5e1b5c99fbbff7f9093fb93d2f789990719706fe8c881

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c3863f0c9aef52d27336d47624e4f5537422f6dbc345240a3245c6e141d33a0a
MD5 fe3e86f6eaadc95c837873bfcce0561d
BLAKE2b-256 a8a44c5baab35f28b4583de2221db9082f354536032d14181db6002d3b8fba70

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b222e8e555a354c918d17b4b50dfa530682ed590dd8f66ada46179ebea960467
MD5 746b5ee4513f6db36f97cb6820a7792f
BLAKE2b-256 95989bdfee2743c88ee7130b21e85796a783d205cbc95d0756428d7e36803ad9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 63a218201a81074f4f128ab37810821705ed82913e659c983c4374c7300c0262
MD5 29744699a8e2999652c0bbc87640dc5f
BLAKE2b-256 ddd82e2074e4d918c0c4973d6781216dc44b3e94af1ab979bec484d4b3148d6d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a7afb43e779cb55467203c48b34993ae679d2e21c13bbe4697d3535a242d40d
MD5 ec1dd145a98cd7a8b26f3324eb592653
BLAKE2b-256 b2eb77dd77c72a5b987705013dbbfbabf455992019aca365d8fa52a9d5ac8d81

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a2b624ae2b8d86e6096f923b0935490b8ffd5bce05ab4db8125a1cd1a502e2c5
MD5 54f399e0771366ba10d4f9d3c2b57aad
BLAKE2b-256 7c8eaca622d036e5db9bd709e509aa5853d3f541920a5da41def1a1df680215b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2fcc405c9509d181f4e05813e965d598b6c15cba8fb3f0bf5ceec8c5e436f3dd
MD5 eef5d61d5d0d345d9ed2368742fdc080
BLAKE2b-256 9ff55c494b475ae1c73945e145425ca837e147f64dafa7cb07fd5e995c43584c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 786cd94492286c54832404e4d06e5678ed7b6f5023c34c975182d6e460093a7d
MD5 c0618eb412044b0f2b2d7741af57091e
BLAKE2b-256 7ca84f6ff9808151af1d2ac0021b98d5aa4b242e64a5d9df27a9f922d318e4a4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33dc3e9cc8b838b8548ced10b9d7ad8fcc71a6f563a81dfac5854b0581672803
MD5 8ec187ff17099a2720f0e1aaae4b5bf7
BLAKE2b-256 61b2e45e73f9ed140029671a5e2c551cf0e69a1e6b6f3022504e381b54c8a905

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 34cf679c5fca04a71d0ccfa7cc017c1f52d383f9843ad576887f5b931daeb6a1
MD5 f74ff69690b83dab35ed406eb28ecef5
BLAKE2b-256 1397ac5363b05acd127d259bc78196345552ec08550cc8eccf99a5a71c03a2d4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8cbd62b9dae894f5b00d3f5c33129425ee7d52be889b228dc369cdf3b1c6ce93
MD5 2b8eb0a206f345856874a048683d82ea
BLAKE2b-256 41454d77c27f11fee7e535d5739de7e2fa084236cfdd234678119d0683246ed4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 858574eb28e1e127b5f1775e563d0e40f9435165bed3b5fa5a67828f08112763
MD5 911701448495013ce8ba947dd5b68c25
BLAKE2b-256 82a8886275d8b9522decb3a58411cff07736e7da308986ab3f7b562428352a2f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d913ad6ca7663e8bc46ddc0f023c81155bb3da5227879f5f7c59de6f4d5fd84a
MD5 97fd1bf415d923c2335c5e7b42ecb2f8
BLAKE2b-256 ce37b021e0ab829804f7d4740192f550e961075b595d498abff4c486beb30253

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 40f5a9084f8b16518973ffb10bffcc8a47c59a48aca932cb67b4b3e2644263c7
MD5 f6c038dcb425f92c494208d23047b17d
BLAKE2b-256 fff482b11d1b545eed6d167831484ec8f5c9c7f813df082001d5166d4f8eeba6

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