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.20.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.6.20-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.20-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.20-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.20-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.20-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.20-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.20-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.20-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.20-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.20-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.20-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.20-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.20-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.20-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.20-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.20-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.20-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.20-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.20.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.20.tar.gz
  • Upload date:
  • Size: 4.3 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.20.tar.gz
Algorithm Hash digest
SHA256 5431de053003c0aaf4733c5d6bb84406dcbfc134b10dcda0c82fe260e0aea025
MD5 841aeb6b21c253cf475e55318ffaad0b
BLAKE2b-256 ef41781a2ec626d3c478264d296cb2533ad40f7d569d79452893aed382f364b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 205fbdcced0dfa08a1afc9e435625917518a4ee274a15957d8687f7190b54ca7
MD5 99fe653b27ed69ac334f3861d8b03b21
BLAKE2b-256 a59fded84bbf3136208ba523d9804d94ea508a7fdf8032589683e6620819f7c5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.20-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.20-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c334f9a064b782a8ba4a0757f4edf9087b5b6af4ad4af3f47117070344f71be1
MD5 22e052d59f42f91c32de13bf85901080
BLAKE2b-256 b62de6f3b0964818905127ed695820f816cff1e51a7f0ae368d3cf70e1db0b9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8bdb77e4ea91a57f1c6da5e73a5bb8977cdc2884bed8da53adf66d999d30468b
MD5 c895ef1042e37651c0627169fb38fb1f
BLAKE2b-256 d514dd3f1bbf400c2e5e7b9ebf37100a857efdb40fa255af100040e57f00a26d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4f7504df41c2f7ecc6f9295dd808b4107a72e88a23dc82472a7968db4459fa1c
MD5 bcd76c63c6a39931d5b252fd741dde6f
BLAKE2b-256 0eda3988b1dcfea7e2e31821256c1c63b4b097206ad9d2acac53f93a384de4ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cbfba7f87b24bf597492d7c2d7b671e4ca309f2ea7713890a6eabb7ba4c0cbd9
MD5 5cdf7d0ff3185ec9af7c116661e02682
BLAKE2b-256 5cbc191f723a05d17768899738cf624d30013307c3fa2a0500f7569fbe9cd92c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 daf6837f67fc1359d489a0c0383929ca319033de425f0d787f7c80e337ef644e
MD5 6cd66af40280627adbe8e5d1fea61e8c
BLAKE2b-256 51905458b5d4331752d72fb1e213f764a6a328fd9a0527cff5db6f1e0b18e75e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.20-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.20-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79603fd2c732fdb113e074c6b6009b0c876bf70dde9e683e10fd8f13bace26ca
MD5 5c275b0aba5ae53981612eff7feadef2
BLAKE2b-256 d595d98963d71c3ff0d6a3a86f9b61a88c5fe2d6b37f5919e6a3d8dfff275a64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a281da0bd80ec7405d83d6ea42943732f923f5bc0ec29d25583f6648ad7de3fa
MD5 39beeed6c245759c7537c22593dc562b
BLAKE2b-256 e434349319348095ea9d702a529dbf2b29d97c517354c59d85749327cfc02e98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f3d9634d2e845cb17a8cdc8885a77c15279694b25c15d2339bf8d3735a155795
MD5 836743f45cdd6bd5285364b272d85965
BLAKE2b-256 51487a9ba30194a22d8f5d2f95a5c46fc7f5c1f7bd005df4a45efeccca36a6c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b2fe1d3600ecabd1f564af188361588d19c6c441d164e51252dae235db1838da
MD5 610b2fd1bf2869ef976a9ccc380e1012
BLAKE2b-256 5f91757e439f12aeda061a706ea9a1b0fba82c4f37a7e2f04a0d1c3eec1f07ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2b8ec7307fb9e40820281e54cee03062cfb5cb4f35d39c3bba601d93e8daa21e
MD5 a69a050d7912805882e21f89143f0a06
BLAKE2b-256 362f70c33246ecbb6a86139a0f2f6fa782e7ab820f2f7e1caeaf061015771513

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.20-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.20-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55d8d86f5bfa29f4fc43a3f45eb0df7c885508f4b82a09f5711436fd6f314025
MD5 de1fac2e487eed16a4f8a543abe48d46
BLAKE2b-256 271c34d08602f3d20df3a2ad8a1af65b20222146e89fc2962079e351130dddaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9cd99885460d9c5fd6f9b02b60a0000f1b2c4bc19d7b3b549db619800eebe4af
MD5 755eb377e9c8a7e3f248d1dcbc1611be
BLAKE2b-256 ed7434fc7ee28e801229e0a2acd07409c983bf8f421355b622486f076a3f365a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 081c1882052fde19ee775a4e0bb08ef2c216ff38bca0276c730ab50714132cdb
MD5 38d0bea000ed52f01213309bd53cad3a
BLAKE2b-256 6d412b6cd9d1cddc0a522df4b1718f37a7a22ac95878d1e9d7ae071ad18d2326

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 adce3e02a945d68005d6ab5f46900e2f5e9924f9fe914c5e47da4aa56e66f465
MD5 2bc4a751b8a5aa87d078ce1847b02450
BLAKE2b-256 baad74c60a8aa8196ef3ad006241f5bb48a7c40f3317a02c07a3daaa8b0ed51b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3decca64f7321779b349599cd582ee056f7914c79750f99bf6b21d352d58adbf
MD5 1dc37e31465dd963314983e5cdc8a6f5
BLAKE2b-256 90832d619fa9cc2975a4502df0aa815e1edde20d1ee105d77edbd05304cfaa0a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.20-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.20-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d3a7a375f278c0dd2b936fa7fc54f94df9e941bca0be10e96595f54da343528
MD5 ba3f505372c5d7aaa47d254fb1c02bdc
BLAKE2b-256 baa6850e5aeb277169c05744ec9dbfd66dcd859e944997c7339d4544dc122dc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 852698e731a3b4ee355c98c0cd383f958afe622689797bab2824f4dcb4c39d52
MD5 07f9b3198ea28c2c8ab73fc16379e282
BLAKE2b-256 9b5d54b6ad36794aae6a4d1bd0ca96a619e58d90f3e9ae46f44b33670ee33125

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f146815f0dcfbaf37045dd7ba72877086ffe491128034f57c8c7f2bc8ca09dd1
MD5 92515adad0e8e866c89338f0dcad52f9
BLAKE2b-256 84d1eba755acd6b099f9b63aac40761759096a3e48ce2ee38855ef3563d0c6b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.20-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f521e722dedb7453ed487363624b9469498735a3b3f96632f5a1f1525fa2c1e8
MD5 003fb102d229b047a38b6519f77c50bb
BLAKE2b-256 03c72f894b4a8b27f3118ae21e7a9fe8b73cdbf05289405f723acdf9c01e540e

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