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 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:

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) 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.6.x series are 3.10.x-3.13.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 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.6.27.tar.gz (4.4 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.6.27-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.27-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.27-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.27-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.27-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.27-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.27-cp312-cp312-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.27-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.6.27-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.27-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.27-cp311-cp311-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.27-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.27-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.27-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.27-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for passagemath_glucose-10.6.27.tar.gz
Algorithm Hash digest
SHA256 76aaed656ea1e6520be539669208e7566d49ab31ee9571f2b98794db3efe724a
MD5 98c452b88e1a0569aefcc73cfd29e7ff
BLAKE2b-256 1344262b11a4193e50c510bc2c033c38fa63ba11f708bbc329b4e7e6af4ff6af

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d9caecb86638a7e2f171c49a06722d6849eef8024d471f3c526692e035a042f5
MD5 26c947a7aadf2dd263997452ac5b8504
BLAKE2b-256 08eeefee588304a5f858ad024c1b2102a9673ee6b7a6928a16e8aa71e0794653

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fe6de02b58abde3b3c6dc1812609e7aa605bc8b178c519a88b4671ae521e73ff
MD5 8829f829df7a521ba5b18b2d3752fc7c
BLAKE2b-256 d559bdb10bcdc6ba83c4452fb159dd3b680963dc25160541cb74ecbebea930c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7aa22250e1544a11fc3aa2b91f86ee3cbeee3172c00c1ce4c9547c674e572da0
MD5 504a7240665d282e4b2427136a60bb71
BLAKE2b-256 6aaed904ef3b784fd7faeaf6122e6f833c9e85584dbefec309b77846eb3e3b39

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6347dd01d1dade15717c7a1bbf047840a78e7a5b41289feac5555bcef8f1be32
MD5 37d64177d6e997455f06e1064d55e9ab
BLAKE2b-256 a4fc23930c7980d3efe2a850db21a76cce53b4c968f71389c598940b7ff85ff2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 01d0e4af1ff21b6453b78ed686e7a1d927fd974b50415c8f87413e5d4a955231
MD5 002eed7e055826622a1c1eea1a580923
BLAKE2b-256 423fb85a76d1444d2d8e8ad0a157bc742f3422ac550f39afefe91a004319b479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec7795415b7a443d31da815a032fd4c60251a7fdd2ab925bf8ac4a1b0d4af956
MD5 f665142e5204a82aaca108f27f42cde2
BLAKE2b-256 74413aa81e6465527806d7a181b8e1d6d890e8f7b565e178e8506562fe73ae0a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e6617bb5cfb986dcd6b8d6b384f13a36980d63d6502f8f54909b0ec5f61b84c9
MD5 4a60e7d2166057090afc46c618c7c7ef
BLAKE2b-256 bf8aae0a28bc19f1435b93dc11fc2ef49da6a887ea8516bb65e94e07f0963ac9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 83178ead46da5144fed4f4e29dd59c53a5389b23ce709f0303159b8d7334efbf
MD5 5e966661d9221c1e5498d487e1b2f297
BLAKE2b-256 9986c82a00d2a33a5cbc0d1bed3e2a73e2cc4e42b31f65997904e91d38e28bd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ceb1cfb63c92c2e0b2808de976207fbf4ec1c94b2b18772785ddd0764c553662
MD5 23c1780f6a8d4141800666a370f635a4
BLAKE2b-256 5a71f36e903d4ce9ad737ff195289110d3e7bae10e1f94e6e5ed676548506f8b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bd55ea71e824eb6480ab1423dde9c3d025df49485463793d4f361c8dcbe697c9
MD5 263decf6e91a0fe9c3e1e0e973dfd79c
BLAKE2b-256 5aaa6eba8d38857d48704780a584252b5ae840aea59e4d05e9170c635a5b37a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e61486a34b0c6ac33eaefa81c39cd20e3d4c789d33f0bdad2a40dd89029c93cf
MD5 091517888cc19102d985408f540939cf
BLAKE2b-256 8042c0e9662a07aa3321ee7a28ea26661edbb3f22c2b062ea70b9d5e8663e8a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3fd351e8fa7af17bca7adecdd8fe636d00667288e2d29df78b8bcf6dd877eb80
MD5 a92ae11cc27716125825251640ea49e2
BLAKE2b-256 9e44c63450f92286ac219a83fc7e68f311e2f08d179c2384ea1400ca97f81855

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 60f8276bf29eb39c2861bae92507278c88fb1f6d7aa6f261f06dfec5368819ec
MD5 1bbd1aa67e5e1756a88aec215cd503fe
BLAKE2b-256 fcd1c9206fe63eb4b19c22bc975b580ac0a2c4f5f06c1ec76bae5c1ff4798a0c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b2489cc0d14fa08efb090abc97ab9f1a3ee26fae51f8c797c40c0b5c81781bd0
MD5 7d28ae2dcc527a8e333461fe14f402ba
BLAKE2b-256 aef574d29bccfab275578eb28afc5c0bb8f55abe0b0032c692f9737d9734745b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d88ccb70239a7c5369e28eb53c66401c9b13a3cfa0682050c35da01742bf1971
MD5 525c40399a34eadde72370334b2a69b2
BLAKE2b-256 e81c4f6d41354b11e8223aae5e3372a8b2ed638d6f3f2e7a45044fcae8996c72

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 271029093f7485f5bc7fece42af225ff79f2e6fe9723955fa2e69334297443bb
MD5 4b5df28a4d8213e11caae7f4cc1b4c51
BLAKE2b-256 71537d7c93ed04f8d7b56900b0ec384d8edc512bee94c060232c29d753456eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2153681285203abcae722177ac1414100ffd71b4e76aa5bc1b7082810afe195c
MD5 82ce5d65bcd4970cec7da4ed359d7a33
BLAKE2b-256 0ab49fe196596d3a0a7555f3cd640a1808bf6211800268ed9599ab1ccf078b33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eca61612147cf042f143c13d1f300ee46b906952ae53ef0d0820d0b975763b38
MD5 57da4dc7e416b940bf7083db0e3af8ce
BLAKE2b-256 612ca595d91e0cd129c6b0c9916552dbd2acb9d4af6fe313068b010bf63f9fa9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e170efba571261f112635777b2071f822bf2d00eca4d7fdd8176d5f8f3ca611e
MD5 d228b787a8aab7b605c4d12b1f6e7d69
BLAKE2b-256 687313bcb4af8efc44c69c07b104b1a154bb68ea82acdc6036a402c73f478100

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 53ceb1d4657aeae5ff25d48c20fe39ffe77ac1713f54dda18327dfeda04d8a68
MD5 e2bc7c0fa4d9daa6a51d455502dd47d1
BLAKE2b-256 febb0b3c27d8b89bdeae06f108e6b232b1cdc47c898c9cdcf3cc830fa6aeae6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51c9146faa071338efc0228dce086996c338d11ef17f5aa5a77a7cb4a3590af1
MD5 7f4e5519e07cf05edce673cf69c2285b
BLAKE2b-256 c508b352a4f2fb481c933d02f94b214c446c18f221732f73bf129ae269f8584c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.27-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eee4db3f9de81e8fcaddceb9f5d4f761e631ff9337cc2cc9e83fa5f8158a435f
MD5 89c9c286ddc5e1b01a796874432951bd
BLAKE2b-256 2d029d52807d6f5bfd3c281bd42c0b5bed931cf0d43f3747655b35b31718c046

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 df7922138bf3fd6a87b2e93f70a4f3f9353887841d6c421770fc9e1bf3fff21c
MD5 2bf33c14647bef6afe918385a07a92a4
BLAKE2b-256 77f76019d0821850f5d6d818c27ee3a16f230c7c240076bfa17224098a2ed3b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.27-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 96e40950f31b7c937bc8b94aa8d44f85e7ad49183c93b7c263e44704b972bc70
MD5 35d33a09929853ec039f0d0529d6568c
BLAKE2b-256 7f6bca29274747707795254c9066f85b8947e597e14ae3819876df5107907682

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