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 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.6.40.tar.gz (4.7 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.40-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.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.40-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.6.40-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.6.40-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.40-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.6.40-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.40-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.6.40-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.6.40-cp312-abi3-macosx_13_0_x86_64.whl (235.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.40-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.40-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.6.40-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.6.40-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.40-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.40-cp310-cp310-macosx_13_0_x86_64.whl (234.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.40-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.40.tar.gz
  • Upload date:
  • Size: 4.7 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.40.tar.gz
Algorithm Hash digest
SHA256 e5a4eec1c4d3711117e1443108293f9dce2870866782da92feb057f8c5c1fe48
MD5 cd055e84571bddba850c24148ae737dc
BLAKE2b-256 6e6368063de44405accb4f944c227a06524345a86d57188dc2bcd887fb9e322b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 345f7c62a3ed467f9a0fddda33039e181f70a7cccbe12327f24b515646d42f42
MD5 828c54b8e11b096c4992b3575f14d157
BLAKE2b-256 d442d305f078e560a991991f1f954dabf7755ace81b001a24ecf388278695844

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 11ae0e4013f2b25fa6279fba8c881df86009835bff2a3d9359b4bf60a631b51a
MD5 80479620927bafd565bc6d9943e98349
BLAKE2b-256 b214da21597a1ae2b6444039d794ae2d2db38b31084725ab0ca372d2f008a511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2587610a4348bd3b4dce734fe2204fb3b0c5841aa9ad2510449c4857cd4e373
MD5 4490619fbdca9b2fb14e09caad2975af
BLAKE2b-256 e950bfad20a6db9c0b39ec985d6768db9ddaf4ad794e692dcea66e722b5b8d74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f123bcaac11475cb428e44ae6da88b54ecbd095ac3e3e6d3bafe986e8fe5594
MD5 e181d598f1a2a8777e98ce1e5b20ac29
BLAKE2b-256 215896fefcab7fc627df69f0303c75160a881e2a6daef2682a411ce57f93e682

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1e9dffe5aadd64cf4a24ccc644687eaddad65d54d600b8e2c03e854c881aeb74
MD5 2bcb5de579a85d81d266dc2254ab3c1d
BLAKE2b-256 753f2bbf0ef525ca60bfa6cc2ba86f4f014ecffda3701b2a4e9d04d1fa6e6dce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5e1eb99b1364a985ae075be3d89729d6611a1d831178c95fa1f65e55646890c8
MD5 88d0515c17eb10e619fa8fe88b841acb
BLAKE2b-256 a95f04867be0edc340505e3a310d282cfce0da86254e4e6a639f86c35a364043

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c057d09f03c03c9ab2d19e739e1caa5d71f1273b3c81dfd63b11c1ffe99a41e2
MD5 e5664c36cd3cfecb923229ef32737ad9
BLAKE2b-256 722882e44f78e09b6b6758716375ba4b8cea9cb68ad4d4d10e9af31ce051b3e6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 493a96962d3aa8bc330624b357043fa605205d1c88ed9dcbd0738ac4a6f0fa32
MD5 d446b8e94dcccaad6d104638bed6116d
BLAKE2b-256 24ee1fe05f238469f71e929e0e153eedd056954e2f69b9e7fd272da7fb774869

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2136951cd8c32136d4852983029a43fceabdc733eb72f5b9b24bb808993ca10d
MD5 469cefd0c3a8a1ff50924fbc1f21834a
BLAKE2b-256 fd4ecd1fcfb705842a3bcae500753be364ac1ca6b88c621027c51f51adeab047

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8e70056afe39605d9ef2bd91f820a111bf7ab575d3609178ab29c9ce2cdd150d
MD5 b54055ce167053065d27db6a9209a8b6
BLAKE2b-256 3e9720aa97732122ee69551bad893d663d020e0562f79ea94b5827abdeba365f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a25b5d9e01b8311f87ff32cbad4071250690b239876594f03de05f2ede998767
MD5 883c8d0cf02bc4f02f17834c8be405cb
BLAKE2b-256 44fe484a328e696e85d4573791013279c9cff265952f0ff1be5e13b155ea852e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7bdbeb831f58e6e106465c8c2dfed3556e31b5964f3738cd052b93c68844c2c1
MD5 b39ffa771a485cd2597df71ae2dd041a
BLAKE2b-256 596a709534c8ed6daf9fc14f2c6e7baad80c6506c2eb55d2e17e8cc31ade7449

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 61c21d8fd7fc967a51fcf351f34b678e6c5b03004ca387d1289365df3c346483
MD5 b4363da40382be49f2e3da25b2a0e173
BLAKE2b-256 7e04ee0ad194dbf273f6171c7637877a869d78b3a8bc6a2399a337816818a51b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ffeccd893998534205cfcbaf3fb4fbd3a810478e4bc025fc8b20c81c27ee8138
MD5 68d1b0007005029c8b30ec4166fd9bc6
BLAKE2b-256 2dc442f5bffaf4febd343785caac9dea6f91fd74c474880d5dd990ee75829456

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f30347a600a4010b2f3b820d5e2c4591c4dea9255c4bb819b29d79578402377
MD5 756ba44c0d9b233d547b9c9fa49dec07
BLAKE2b-256 5293b72040dbf223c11975fb372e61927eccba402a8f61ac5f18f710a4c5c862

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 525ca52beb2d28a4a7122c312dc1f456e0d409c58480c17c326c0737f6a87cb4
MD5 e27ce50d858fac3616c396ed67d07ad7
BLAKE2b-256 bbb67a888a148dc01e4e19945266a2e97ebd95247ed2bda1fb9f96a71f7ea8de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51bfa2d2746aa35b7132eb411df6417f696a310cb87defe1a76001dd61e93855
MD5 a53ca040631ec4f05de77628cf6b8995
BLAKE2b-256 86bfae1093982953fe71ab6d737e97a041408370d224b809cbb1524804f8eb2d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 868aae2053a282823236d20b8b4089bf987fab6bc766e6fabf2a8aa9d9103d5d
MD5 a29399631b2a7e82fae4dab30a486d22
BLAKE2b-256 ea2ae20478229d5a0b57a1a8de86762a50d1c2ebbed0efa16af59b1d8b669cd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 359df4feecc574ff67c0991c3bf360d61e3b7f0c69668a1e3cb81533140879ff
MD5 7437e35e8ee1dd83a375ca2dbcd8f545
BLAKE2b-256 bf9d6f76ff6ef321294c6692e68442b734cf052340c62d5b3eb425fbeab2c3cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 23fd4fe5dea061076e8ab7e33b58a5cca6ab0cdbdaf30a516f9f61f1ecbffecb
MD5 df1431af57097432a98df72e0c9228ce
BLAKE2b-256 56a9b2293061feb45c2d330153d2eff98d64a65779c9f2374b105200ab7837ce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b3bc3ef3b0d264329a9b3a8bfe4798e8d74f16e55e8441742c83582de043275
MD5 84875d80fda7865b08c350e3653a2ade
BLAKE2b-256 29fe763e2f90df3c5ef0e5425c94d93d6f2513ad6c526d0e80f98f1f8c609c1e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e2aeb1823d7cba1d20b62b46affa72ae6fd38caf0560cf17dcbb16d84ed52898
MD5 2640e0f40609cf4b4f1d979842e57232
BLAKE2b-256 c63f28a9cd2ed646a7d21afe94f12aee670778cc216e4f005ece4e6b1faee93f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b2032db100d7f4667358c1af82ee5dc111b10010e1704ebe44e407aa1d0f6d0
MD5 d7acebd03f6bc71f3b9ae3e1b69b9c62
BLAKE2b-256 b9abea01abbec8cdbd4ce68c26916746c204edb5606a1fe82aa9e52761b8906e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.40-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.40-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d2b34077e7e8d2c2e29937526e8462692e43fa11410832da7f0bcae79dd98173
MD5 648a2304df59341d33307a32d9a67b8d
BLAKE2b-256 47bffc9da5e108f563ddf27c766f60347ee74d8c7776c2424536a47fb7933fd0

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