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.10.x-3.13.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.6.1rc1.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.1rc1-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.1rc1-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc1-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.1rc1-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.1rc1-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc1-cp313-cp313-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc1-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc1-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.1rc1-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.1rc1-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc1-cp312-cp312-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc1-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.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc1-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.1rc1-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.1rc1-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc1-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc1-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.1rc1-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc1-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.1rc1-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.1rc1-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc1-cp310-cp310-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.1rc1.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.1rc1.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.6.1rc1.tar.gz
Algorithm Hash digest
SHA256 d22b5033b510270b2d76b3d1778bf242801d92ab9369d19f83a873d0301f9c70
MD5 f7fc149366b18a11946abdec56dfc89b
BLAKE2b-256 fddedb13a6aa49282b651d7a81f747c73100a4675376825ff652df32f1389231

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1fcba43caafcf6f01febb441351761a1e5eaec2735f14c855837832ab8bee5ed
MD5 4f30d85baa31a89931d8a34d0ce15a8b
BLAKE2b-256 d5d9e29e85aeced5bacec5b2bed279035d46988663273916499854dbaa64331f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f2440d3aaa43f69e73c8c72f8b3bd05eb76249de3ad38808269859ed85826702
MD5 6de95f0f7bf06edff3effa45e2a545e0
BLAKE2b-256 edb2ebafb76db5ab2a3de9727556d331f2e92801b296d44b377b84e621708f84

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-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.1rc1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a04cf9e15b1554463c7548b71e7a06b2c502e5ee1360c3b30f4c521bdd392131
MD5 2bbf25386c1516774612cd1a52bcf732
BLAKE2b-256 4845f19015b9dbaef14fb82a5a48e1f79ceb5cc33073317262a8664b3582a452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f9db052af4700b86b5c8e4faabd46729d27e691c54d7f3d9f10c4a762107faec
MD5 064a8bc4f35b6f69fb94ec198a356dd4
BLAKE2b-256 8d82a5b962dd68815af408419114ab6e32e6f52d9e2652da9f1498f989c2c8d5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 927df62af87215bc66e6b3866602fdd3c80540f158706a101a2e06fbef0eb7f0
MD5 242abb881caac584667f4aca74113682
BLAKE2b-256 78d036a82ec33cb08a4d3a6200e60638e9b6692b878289dd39a1e9a45ffddc73

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 126bd4e2e1bc744200126cacb0e7d4bd9ea98e49f9be862f81bc4410960f53d6
MD5 b7804e4882ec500b518d11737e2b51aa
BLAKE2b-256 5beb0628184943106ecde8069628b4f989022bd1856f07eb2f35553c6aa17f2a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cd36077b75046fc5b08317ef737d1bfde34f197a260fa97cfb041bec46f610de
MD5 65b0d64399aa277a06999b916dc7113c
BLAKE2b-256 60c33a4bde6fa2f19419237a393a621921cefcfb3d5223688a4740b14895b5bd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1956546808a7859ef91debf3142a1fa66d03ef7ffb0030f1765fccae3e16ce94
MD5 e420a2679a69f49db3029d32e2229e41
BLAKE2b-256 e557def4944598cfa340da8138d5ef5df817475f692cf8571f3f97153da84209

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-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.1rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 04cf95f5b8e84e20476f29f575f00c5b381a1fe3f02e5daf3fae5aaf27186ba9
MD5 2bc5660c0606934aa58a169348ba2a6d
BLAKE2b-256 2088c0de40729cf8ae72b13be91fc9f77ceb82322559acae1c7fd207692fed4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cb3875a3170d480824df7c387850a29db463f938fc62932a35350c91630cbe4a
MD5 3555144f0b1668692e228770c178c8ef
BLAKE2b-256 3b58659decce1b7a0bd2fd8d6b651ff8011396c1fe7effce326fe97128d4331d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c6bb518652335fa2f37cd44f1c162e9acd7bf759846a6f50f0150c4417b60d4a
MD5 e4729b4212634c188de1e1f9892cd24c
BLAKE2b-256 9945b68321f3bbf94f1a76822ebd3370564adad3e0c1adb0e4d013ef61ea9628

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 311d4a20b5bbb3565e10a7436faacc0d71d57ac78705df55add71170bd64f039
MD5 bda10244076c99b61e0fd7a6aabd9646
BLAKE2b-256 ea5ee4f8347c60158ad58c5057cbe7b987fceea8785ead6dfc8e05e8954ce60a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cf46d6e83d73013ed302cdea5e77d9e471d962ff624586e75867485d2697601b
MD5 735848aaf0b21f2e4c536c72fccee187
BLAKE2b-256 5a631f20610012271c0ef2737a158b7079b7e7c8ef22e223c4e82e250ab6b0e8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 463ee683f3b2e796d80ceb469d23270c1c4b26cd34b9e1b25441b94bda368449
MD5 b357cecdda699d4b5f86faef9f200afe
BLAKE2b-256 f9ea61ba5f2f7bc1e4e033d8c0ee4959fe44018cd7abb76551f5405925ebd4d1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-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.1rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b028459324be21dba34287c19fc10f70de984ce07e8c99aca5c40cd2228bb0d5
MD5 c229d670c35b8020a06f3dd1a0008598
BLAKE2b-256 884eb9452345a3f8f8c8bb342fc5fc8fe33cddeb10cef091aabb19023b434978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b1e70b3ec488c6d8e17bdc3912b0e1eaffa4746afb84d4e89abb425476ae026d
MD5 3e5de4335cfe0ffe2b80f655be6443bd
BLAKE2b-256 8c25d8850bba542e1e3e5aee8fc87aa97f7520b53c4f95f8b83be48cf5462803

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bfe2e24611412a0e5d53cdaca9376cbdbc6fc25bf587402ac8f33abea2c29525
MD5 93f3c8e3807aa87e576f071519c3f210
BLAKE2b-256 3acbe3dfaf26bed2c7e2828cfb1b28a0639a43065d9026e3dff87f7f567bb9a4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bd6eae207621bd9b176bbcc5cae71dcaf2c120d86eb927d407768a07b10cd371
MD5 9b8b1c1a154822a93c723427440ea658
BLAKE2b-256 c4b21b049f04befd9e29a9543cfc62b6a9b3b405d715a7bf874ee6d2e1524b49

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1bc3049120fbd9fb0a2e994c3ad486110e589e2a587107b89de3ef7810bee264
MD5 1fb6c97e3af316e78fbd870384a2d787
BLAKE2b-256 f653713ebc5c104c3210f8b481ce5f6d7ad3d77001964603d8db492a84c1930f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 36b8fada8eb497c6cf7fd09302d3ba713fb5102948b4c083b10b137506bef700
MD5 e5ac9ec782882e97abbb3cb9fee980c2
BLAKE2b-256 24f36ce426f00379c0b69de7cb29f879d41bb44b070e3f30324af62e3e03048c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-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.1rc1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c3f9773e6d2c1c3b42f509e47ccdd05ee27a1d3983941edaf38d7fb89b353a9
MD5 fa667ec003060292a60f675d303848b8
BLAKE2b-256 bae3f31136cbf7946f96837bf99243e393d32c41147e8de3cc40a0446ad874bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebfbceab120e34b0d4de12ea115df8580e5d4488343713997f1d4a4fac807d71
MD5 f7c2fca180431d1d70aee5172c7e9fc2
BLAKE2b-256 bd69e1967b849e754b527a68d6c6332cd3f5cb5546c37f7c32a698ed3f17f63c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ba5dbf1ae24e6337b091d527914052ae55dd866d06ee784798aba8b8f162f6ff
MD5 cd0d679a46fff3fd8553e3b3b6427a4c
BLAKE2b-256 50093cfe65d5d5e7d903fb702bf130fffa5b294fbdd4eda30c580774d708b72d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e110aea3ad4c73a6ede8ae8687aa9ddd8769a5b6e84d7511848436954bd97f11
MD5 efa263acaa492ca15a5b7d72362439d5
BLAKE2b-256 ee628d261eb2339009d4408081c813fc6e035df952ccded9f4858b4153dea830

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