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

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.31-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_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.5.31-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.31-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.31-cp312-cp312-musllinux_1_2_i686.whl (31.4 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.31-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_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.5.31-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.31-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.31-cp311-cp311-musllinux_1_2_i686.whl (30.6 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.31-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_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.5.31-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.31-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.31-cp310-cp310-musllinux_1_2_i686.whl (29.7 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_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.5.31-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.31-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.31-cp39-cp39-musllinux_1_2_i686.whl (29.5 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.31-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.31-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.31.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.31.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.31.tar.gz
Algorithm Hash digest
SHA256 2fd9f9dd329102a11a9788a3b989fd1d4466be691acfcfe4495b0f9057dbfba0
MD5 e03d22729f3b299a324ed829abea14e1
BLAKE2b-256 1b9071e67c2318dae1560727f9dd9b5f164fb5c095531c33577c491f3ff1d995

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ba864a50c6aefc31de641d85a42a65bd298f487e007b6db49b668fb21ee8b65f
MD5 ec4041a1e0433c76c0735c8768380fa5
BLAKE2b-256 acd89798a0ffc675d882a91d3780df9c86e69cbba11ec4bb139a961d7005e553

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.31-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.31-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7287b8377716ae9a30cb3de4507f889c992e356180e63ec979af3efe6fce148f
MD5 c056c9a155272666dd059eaf09724cbb
BLAKE2b-256 058245e3b61eec4e25a87598ff778147f57433f1e21476da79ae9798638bf1dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e46d43832ec6404de3df51cade21db79555c35ae73e352ca9da1d6aa997e987e
MD5 5e5853512241c0aa798ceea47a71eaeb
BLAKE2b-256 7c1191a8d9fa3bad0577e7998dfc3de9c6f14aa58f998ce3987ba95e99959f10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3b40b88e4b7b20ea375103c2df41f7ad0f9196dbdaf4b53a3f5f457af1a3767a
MD5 9c7704d6b6abdd1f069c5fdeb809372f
BLAKE2b-256 cb55a29ab025414e300d798cf4c436ead60a4288593066ba09171ef92fa99538

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 00cc1dcab10e7904ae8d6315fa01f2cfea06f9dafb15a83cd644115b7884f3dc
MD5 e624619890b23939de062c294912641c
BLAKE2b-256 32e70f261477a2cc4a703e6ca87a070d824ca3ab9f6c52de91f82d49d533e85e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.31-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.31-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bec2630c379e7ae7d299fde0b2e4b9b117a763d66820942eb121d7fa3a273b1d
MD5 7c945a7ce9918338da0b2811838a9b10
BLAKE2b-256 892653bb26ef0483b632c6cf1e935f28aff6bf2e1833f9f4850ffb43498cee2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 09bc7e63a4865398ae8e659855c38e1ee5fd40b72bdf2c6cbd9095a8290f86df
MD5 ca6caab5065b4b4749b5e8915e56c642
BLAKE2b-256 34fee8033943ff928fb465b4b997618ede080cd96c65bc8b646b945dfa6d8a3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 816007213ad3f7d3330865f5ea1fd3c650f555e8103727b694a0e31d9ac08f85
MD5 de6f6877b4cf23766b62567e45deb763
BLAKE2b-256 ee6eca3b16a622bd994bd16509c34b2eaf1b9f979aaea68f13075e86e14a083f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d617e916a1b496b9fabea19138c80f68a9d349bd91d6a1e6c34917e810407607
MD5 d5a8f0fb32834898035d401696e01065
BLAKE2b-256 855552eb2f529f6a505a21289ac0a4e0b6f44069cc272d81954061c60f08e5ca

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.31-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.31-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9df97b63fd45a1add22db9883c13aad5f3004f49cd657c374be27b4cfc331aad
MD5 99bf5bd70715f56f0ca24fd0b5f61472
BLAKE2b-256 b92153a4e2d0d4258eaf16be235ee33ec648f41187d8463886e264cdc5133001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c900fffee2aecb9df37bc12fc0f7f3ac039158aa318b0410ddc1c9bb1a58460f
MD5 7ba93fb88bea65b252a753aec7a466a1
BLAKE2b-256 5dbd24c695f5bd7609d7c56e11c245e35af0c3c50deb8bd427c8b36d03165abd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 15595aed43eb4c54d37e74f6ed4ff02274aa36b3cb089d2871e9b08bb661985f
MD5 c27e7b1b4f271c836818712e03053b68
BLAKE2b-256 9b3eb93f736bad8e6b524e4df87816f06bf3df4b1a6d79e0927283c296d1cb24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c9fb10003965e8eb9146f85495cd843d138cede73fac321125d05e9b84c3c565
MD5 786a8c31a981665cdb49290108d76ba1
BLAKE2b-256 4ef23a0c76c7183eabbf1493f5400851338bc228316ccba07e25342a4a54e0cb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.31-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.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 65e5dd616e059ae9267053ca4ea29cd4af0ae2caea622831ac8f81b997f7a2ee
MD5 e14d40889e3f07a18de5e3672952b1dc
BLAKE2b-256 e1f8b6f3af381749c1fb2c7dceba040e0302c835ee658b6244132730ef0b8ff5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5fefca5b1d77964dca7cecf96aa93a3b51fd90ddfe49dbfb493708b21d0d9574
MD5 d97fe1225e508886367d5fed77c0d406
BLAKE2b-256 ab10c4ee8868b7132dd4f3e46f219164b7852060731f815d4bbbcc731006b22e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46f2dd65765a9698e41ed1d0b32a2a50f6c31bcf74ee83c73fc6609c7f7cbb94
MD5 7947cbc4b0a42e069acf8f37aa392f9e
BLAKE2b-256 385fdd48ce78ab7a5dc29be6a451ca4b00e0eda3ce8b89e365942460a88512aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 de13fa8ddb03f8d0a547125215aefd5cc6eac73982846fdf7c20055693962e14
MD5 7796c3353fb7d79e4335c22a0e87939f
BLAKE2b-256 3b1a0a500f075ae92a35252d5ab99b53d22b7a7ecb6212a3e071e6ec20afb2f2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.31-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.31-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36060b9164d90b538fdc34c227de66b77d47a7b2014505f1714ba2b9d8d0a822
MD5 723485b5aacebdedbc3dc1ba2c3055db
BLAKE2b-256 f67e516df712fb03245251297a0e866c792162e234a3d9747d6ca4f487e73bfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 64a05d30d4d0dbdc37dae5e61b68728dd32f7b88a652a56f933e34ccca5cce1d
MD5 af3470fb32e7c96138c77260bcd5a175
BLAKE2b-256 ec0640713e978e79d1a268162ca66ce265e1fd42d5d4d7636ab7ea84d2cfad07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.31-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b255180e0c5f56614b6019f9f137b339266efae3055d65ead8f5b9eda0dc5dd8
MD5 406e66f25d6dd0b479ba02248a8e48ac
BLAKE2b-256 65affca104d0df7d3af5e9c785253a7c0a22c52218b275f6821e567155591183

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