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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.44-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.44-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.44-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.44-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.44-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.44-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.44-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.44-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.44-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.44-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.44-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.44-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.44-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.44-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.44-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.44-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.44-cp310-cp310-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.44-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.44.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.44.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.44.tar.gz
Algorithm Hash digest
SHA256 4d47b8c4ed9e54410bfcd2a63740669c9ccb648023518a523454c7c022a39d75
MD5 d991c29b83443df6e10c2573e5e6d4df
BLAKE2b-256 ac7a0f47bdbcc75b94c5d30ff201715e7d0c9fd038a30492efdf948dfc8b1e29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 724f8c39f6342546feb108c1a12b7706dfc960b47c33c2086df1e39e8f84f3f7
MD5 85151174fd2e5134e544bd2cd26e7d57
BLAKE2b-256 0040dc177c037d6d86dbd606af4306e4ec5dab70b3244778d524bd77be9bf038

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 01f06f8e2ab85c06fbfebc0adcfe47e637bf018544a5da73956e65873aa82a44
MD5 0038b732f7c1ce71c3cb4156d8f54fc8
BLAKE2b-256 830a9a3e3dbcf9e3a646d3ff441a499ad1a399919ece23ffae42e1baa85c725b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63c9f96daaf51549bd398ceb34df2c2c1468b0dd1261a82643c99c52826c1626
MD5 8ae6104d6503f2e14aca5715e43a4efe
BLAKE2b-256 6b760bbf060d5b4b24381e45a3ac51495eea35621ba80a464e7555c09730bb7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 89385ebeda16746ed4b3c0a18a85236bb9f5bb6290990ddf68ca3cedf3cff004
MD5 eafb280fce32627a74d08d38bbeb2a44
BLAKE2b-256 7b85e139665f503cb1d466884e7f4d6acfc968191ef8bdcc6addc93333f49c6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8f1f90cf52f7789cb4c0beec6143fe1894d809659a8b7e12a7b14560050ba1c0
MD5 c23007aa5c2f5cf53fc2a0b932b0c599
BLAKE2b-256 c9047343e9d793d493ce1bdbbb65ef938f88227caa3bc98ede66ddb2946dcccf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7831fcafc344ddf242d320989947ef0df928a4236a12afd823344178cc70e59b
MD5 a91a035394df90401fa2800d1491f9fa
BLAKE2b-256 b6d43ef7f8c22d35e6e2b7c96806efd52917cbabe832767eeca4d338a6ad863d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5f260065c520e0a3eec8bbca4e964cc5e755b81afc2e5f3e156057c4436c74db
MD5 83ed63fd9da25cde02aed9010ab34d45
BLAKE2b-256 8f817b6464772d938bba14bb288bb0f67ce084b8fdc3760b4b85e202418be538

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 36dfdd02724449937beef4f836b80952a746aa6e14d28bf21cdb22484ef7692e
MD5 fe7b584d13dc2c70fe795026f3989231
BLAKE2b-256 2d2f61974dbfafd58b48cf4466719ba5706e6520439aed9a55c57dd6c952df26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae73e5b45d847dadfd2bfa5781f80df6affd1dbd9aaa15917f94ffad578dac86
MD5 e3ab5012366ca7963099f56bfb80df1f
BLAKE2b-256 7e863259cec4c8fdc772deca1151105a4492fdc9f78206e18e5cbf3da54ee1cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d06bde16a5505663f26346259feae35c24bdc14622cfb89700ce3715227440b5
MD5 f512bc269eb8645402694f7cff0c2b40
BLAKE2b-256 8e236a53f2135fba8b218b5202ff1f3d67653470ce62125392808397a376cf8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4c56c648f19ad066641ed06f54489d0e6b93117a7e8882672b84e93ae64e88eb
MD5 e04d505d3b5ce5b69ccc75e99d6e9735
BLAKE2b-256 a98a30b0adc44af2cdb6c5d0a960cee4d8dea3f7b5f2123923349a9df7b63394

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3eceb3f810aa6b01dbd1449671d47bc2263183608f611341efc5d68f222060a6
MD5 fd3242224d420cbcfb32fb946215ec07
BLAKE2b-256 dfd22a95b1bc2b8b97a0320e212fc21aa9dab03de32cbdd0c65fe1eddc034a1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 06bcb2272480347a309c9010474f0ff63f583c4a488b5b0f28fdd33aecb1c282
MD5 90c0930186d01b00d73f92c377e92784
BLAKE2b-256 4b6f1af89aa4c1b80828232e54e11802575c702d6007903023fcaa8915c017b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b3fc673e57f837421fd8805838aa6660e121ca9a5e1bd05339d191bad5c5b8bb
MD5 6ce3b0159052815bd509f87b3defac27
BLAKE2b-256 6aa277c8c05f4ae25898d915b95c3850f792c5bdb1690cd7cb04b67f473159b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2937b01ac4087a808078f3aa476ea3e42791ad70968adc1f8de9ca67ce9489a
MD5 33d6665dc2984413e764845719392952
BLAKE2b-256 20f1789232ab7ac7a916e62189b087e46f4996bede8ea312e2c725ecf4df0192

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 abde8e9dbe565cac7dc5aa6262dd2cc77cf3821efa53fe359f2d6be3f31e09e7
MD5 7a0c84fe9b8343b9c164362ad803743c
BLAKE2b-256 4be80441787faa6ae558fa4ab757292730ab4f21d8f6148a9f136317f8f38c22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0a8be627ab95caa21c1b28cdd5d72d6fb24028f5b76059c14ec765cfb4134a4b
MD5 b0577a05ba4f372aa711779c722e45f1
BLAKE2b-256 84358b45e3a48798c85bc117608590839ec9d5d4a0c6f441db523d89b2f243f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 025a877c2f418d24b5ecd293fef489db3e99e25cfc633b0f2fd249cd2097e380
MD5 15cdbffe7c4c2f9a6a864feed0cd4d26
BLAKE2b-256 b0fca0c3fcc4d1a26475834e541c7165a43ae20fbe44eb4b415ac62f1352fc59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cb1a32d39f8933bb0856b9496eca4d4ccc4afde9dfc7ec6dfeeec298016ec9d5
MD5 6608537eff687d4be6769d938754ce43
BLAKE2b-256 67a7565bfaedeb2b981eb5afc537122396d6ce42569e6af27d9f786e3b97d366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ac875698fcdbd0022d80f4fc747f39b97fa0f90ea3b48ea425e380e00ddd92e0
MD5 c2aac52ec890aa91ec48b75d39cc57da
BLAKE2b-256 02ddcf33c46aa59e7f5e766bc4c36488d1c2fd7f333521f4240526ac915f0482

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ba1f7903714d370684ca14bc4695511d5cfe17219ab9fed815759829d07c0ff
MD5 b0fe526b28211918289f4e6d5e9a3ec3
BLAKE2b-256 664742fa9c0877025cb50ca10025b4562b8215958bbe62698183f893ab302af2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e812db5681043f7c1c3a1b6d22618ec8d1cce985759243a9ab9ba8e2329d3a24
MD5 b8a5271da0d526c2dd26852dfdd4b2b6
BLAKE2b-256 5d0a2d450e75164b0cc2637306bb636d068d4a91246ae139fca31afaf3184b68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9b6afa4b98d69b60985f8f4e69ee8329239d77db74fd131255ee183ff3ada5ea
MD5 e36aa92bfa8ab855066f945931e957cf
BLAKE2b-256 641b7d0245e221cde262fabdd7f72796246ef248c690a8695f3b047f86fc3fec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.44-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b2225730a1425c2d032a7adb629570f3257e0201d3ab047e051adfafa1bbe57b
MD5 e3f0349eff36f21e88eb0b28b198df6d
BLAKE2b-256 e6044e52fa4cad683bce67d8e1b35a2bb32c4c629494c49b6871fa5a4df3e687

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