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.35.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.35-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.35-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.35-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.35-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.35-cp314-cp314t-macosx_13_0_x86_64.whl (234.5 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.35-cp314-cp314t-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.35-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.35-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.35-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.35-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.35-cp312-abi3-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.35-cp312-abi3-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.35-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.35-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.35-cp311-cp311-macosx_13_0_x86_64.whl (233.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.35-cp311-cp311-macosx_13_0_arm64.whl (219.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.35-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.35-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.35-cp310-cp310-macosx_13_0_x86_64.whl (234.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.35-cp310-cp310-macosx_13_0_arm64.whl (219.1 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.35.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.35.tar.gz
Algorithm Hash digest
SHA256 ccfbbde36fc938832d08f10a4c7fc2ea44fde84518a9e098dbad48835ff3b5b2
MD5 d101a09d28080ba89cc7d10482f48932
BLAKE2b-256 78ef3bebb71e003414a4e7098ad3ed68f78c29e0b874339cee7dfb8fa15037eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f0e6b0874bb2b286785906ce690fc5fb6f30c3c0549b4b493aa5ebd0266e991b
MD5 26879199552778cff98bf7f25750a8e0
BLAKE2b-256 a7fff350f388b9d6254d9fda91560f8a0028d8f72ad4cbeec9dc4c5156bc4b62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dc4468a21b4a89256eaba12281760f8a4e83ca205a91521d76dae4e5eb3e6659
MD5 4b6dd49ad0e75d1ae399b65574b93675
BLAKE2b-256 cbdbf78990436392f86add17b9a71d4dc2442e637f7277663d0a2b29be2237ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e259fc262fad0f6026dcb33291a4517662bc386f6ae4a851fb4abc272a4b1baf
MD5 faf96e633ed4c565e55080cfb82e8e9d
BLAKE2b-256 29dd4f43314bf75bc727d2f7f7d41e1c9a3c27714959039e1de15a15dc229376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a42d0df34c1f88b4c7bac5817d1f55f6f892472986c30cabaae738fd344b745
MD5 f961c2dfbf90ee64f7186375ed901bb0
BLAKE2b-256 05fc7491810fcaab7a4332b53a2ab84bcd69082405df626537d7f75ebfe2f8f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5c304dd625602707a093112f8cf050dc48e2eb3537f73bdda55bb6700c014c94
MD5 a032812a42b38148cbffcb958e9f86b7
BLAKE2b-256 f8d77757f31d6276f3f1ededacab78881da4e772524a4686340439b3ae61b186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 867be8ba4f9a336c6288e3fa4a3919107a04204e8fd6b87edeb8e0fad1bfd058
MD5 2054d669c7744ad8ea42a2c1182f14ed
BLAKE2b-256 1a0723e804b7963a65c78459883753d0376a614b0e312da2dd2c1ae2dc50aa7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2deaf3813b1ebfd706c488710935d810d03ad0bc48746c28ad4b78008e0a567d
MD5 a0aa05b2ebfb9ffca034f9c3c01d39e5
BLAKE2b-256 fd527a8dd00c7331a8de04f3edd58b02d274a65aa0aede44b50e6af6f1c610e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f5555bc53a53584e24239862509b382c664715036559b956f741c55ee7349782
MD5 9264c6a4e6903bd3a2ad0e5ff63fa7bc
BLAKE2b-256 e93f868e2b00adeb49b68dac1ea63d1d7235d2bd07a5e3cdaa689dfd10cda59c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca4dd3030c1cd9cdd2e54c92db089e6dda37452d266ddfaaeb17f4e3566cd8e0
MD5 8bd18a5e453959b237abf0ae2d9c0748
BLAKE2b-256 a8305a7c0653f4c4d269a962a2f6d0f99fddbf563122c95253c354b2a3df6ab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6fbd728ae96f08db170a5da011134ce487470dc5198396562010618501705fb4
MD5 a2c64ff679b965b2eec35da3f6176f54
BLAKE2b-256 a41caafcdfcbac082b3b6296abb9c4fb83df516309db2795482c5a84b1824f4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a16688338b20405ac6abe31b47e2fe0d86a43e877f0c6076da68747559966021
MD5 974d0f3cd6ac2e02fedf3745b9f06fcd
BLAKE2b-256 5dab64932447aa33473d7ab94b62087f0bc5296aa46eb1fd03a72eca5753b2f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 93f9b9f0159d0e5bc104f97d12de454563db9cc30d9c7cbedbac6c3c7e865983
MD5 c6f61bd85bed657cdc934123497ca40c
BLAKE2b-256 c03c85e4f3fc160c1497eb239e56fbbc305d0342f6c3ecc3dfda2265d4c36042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a815acf1b0a3c16efed66bbe5eb8a4bc15e5be2125ef237108860acaa572afaf
MD5 187762eacb88fd909ed7f130bbba9446
BLAKE2b-256 b536f2012ff5ecc69325180fe0d987c7a503481bd676f22bb86217e60ea6b3b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f6afeceb1ff2f616f05e5c8ae1a117023b118884905a088aba64056bcd813e65
MD5 9ac3772e113da1af09d34f92b8247cd2
BLAKE2b-256 c4f8308925b9e42c3520f7ca3eb16e0b59df00aff856ad7f9d5051ae981b2d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5d173545dea400cd500bb9f144889b7f927e8b5e22c0e84af0441e603ec6017a
MD5 7955daea1e3bb2095451f0f4e2c8197a
BLAKE2b-256 46bde95386454ba61117d6c9b05940ee9f1c6dc447947fa55e753965889e8fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a008e462448433e1073acc6a8203655d4a207689f26265d0b39b7bbde5f3f878
MD5 8c8b37f69dbb0b4f53a482866f3cfd51
BLAKE2b-256 e69de4870f6d73084153684ef25c54a1c23eb72b517d894b18adcf5102d4acb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ebfc78d75f6484cfc421dca91c384bed88fe658161794d6535a51cf5fcb8e84e
MD5 a9349c6f21b689bd4c99c26567406e38
BLAKE2b-256 1cc902a6e7d3baf456a064284639db4bf952c19399b16e8c4da713136c787c3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 34ab3ecebf0f7339a1ff81ff50dd370dd0d9c2f7c169a88212c13730e09fb114
MD5 0dbe91925fd920cae4dd511e5425975d
BLAKE2b-256 fae744214012b695d5c76125ad52c7c55a3d2d801c0d62654061dea68c58f177

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d873cf8762be5fee835c8fac5687ce86f0770c543df432805fbfe94ae786f6af
MD5 69c72c9624963f049b96b674f44d5320
BLAKE2b-256 27bcbe89042fd8674585f4a99c4948f9147064d0408831bf458cbccabd695bd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bd1fdfc574293e134164f7fd6a5a750b8e6bb92e9ab001194353e0ea398601aa
MD5 cc89f043516f9140f5c59a47a1427a03
BLAKE2b-256 b8b2cad524c0e7f7256b256f4a5925d5c4bfa189adcb9d2fcc770631661e2c39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 080922778999aa3862eef0091f71896ddea75dd8be872e8b5a9790a0202b7d36
MD5 4e0abbbaab14c49f166616fe38a69522
BLAKE2b-256 df5456d7b4fd271bd9afaf621a19e7c19d8d10e6fd7f158045bb75d93ce93e04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9a63813c02dcb9d308c1ac2108dcc3025cf8f81ccd1e6ffdce981f8ccc9b69ab
MD5 54e08164c37b8b7fd377659f283b879d
BLAKE2b-256 1d6f6ed0c879c6ad8bf6e5349d12ecd7c52d1d6c20c9d9c999a58b17b03f3534

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d1b1bdbecf969f9341de263fa6b460dae0f2dcf749729e85c395a8c5a98e51d
MD5 c823c99ad27e0691379ec0e7a9c2eefc
BLAKE2b-256 ded4139ad6ab045413b2fc01557914f2e4aab6ac67b00f088988a4e172870977

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.35-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 90636addcfd8ec7c8784fc3365e0ae8b3c07b4d3ee684d895dad384c8463be80
MD5 fd9d9b0c83845901794fc4527ca0d035
BLAKE2b-256 64c072a8e049c7e0977a589d60a1994383395502df7170b5dbb5eae485867428

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