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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.48-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.48-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.48-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.48-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.48.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.48.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.48.tar.gz
Algorithm Hash digest
SHA256 2f89b6bdf5d90fb279c1a0478202f67ff5b28db90c1aa058892df6b9cef5f144
MD5 ec93ae34063188ccad86d6c6f53e37a1
BLAKE2b-256 450f497775267e24eecfcaf97ff4718d211a1232cae747a6dc38a75a55a11376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac7edcc4b2a7ac6a83103607d18afecda728145931c6ac5afcb15786ed72adf3
MD5 1f7cd24d686097a978922ef31ca5c085
BLAKE2b-256 655bf6937f810efb22cd421cb435518fc6907d4386b700513690a44980f4c461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7505929b7c18a7808ad4b555ad17d689ccd2d43a5893b394ea6727eb6ee7e3ef
MD5 a79809cea9fb962fd6c0174c9ef70e23
BLAKE2b-256 249b21f9c4f76731d00d4f5a529a47965efa888d550ea8e3a7d8d8d39b449c8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7d5e26c77434148c413b2fbf58f7c08e18dd4bc1e8fa4cf3e89e87e7bbc6b4f
MD5 5c1e804da4ef8660572d68a78c921d17
BLAKE2b-256 107f943b1d13aa831498fd1970563e9d77d2199932738e6563c793d130afaf98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2986c8d1aac148fd3667acfb9882a1c0afdf7f15394d4ab3a63541f6b95b2638
MD5 a821c835b4236ffe5767099fdeac1a34
BLAKE2b-256 b4a70f2b61cdff646b0ba692ed32bf0e8fd8b1e24c2ebea63a9396f3863cf5cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4043280dc2fe5ee8d44d4df98d82255c6261ff5dc4e5c491f02a6e4d43025d77
MD5 bcbd3ea7174a83a0dcea62f60fa2677a
BLAKE2b-256 b1b27fc5aff6d8310a88504fba335e0fbe9d4133764dcdedc520993f8cc34379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3eefeb661fcb4a98a24fba9f4f4f525c1acc4a62d5f240300653df71df50d213
MD5 0f493785a939587a6777cc90607c54a3
BLAKE2b-256 2d2723da4eff27680390354ad7530edb837aa8f40e84dc346c15ff7237ed5248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fab46228fd178cffb9646188d4f143d38deecd614b056d41c347b4d076efd8c8
MD5 9b7cf5a645113304c89e8e11ce5dfe49
BLAKE2b-256 61729b36640618f173ae4eca28e227f54d7d23ebdd15f8548e7a2343c926db0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 58879afc9750213362bbdaf7513cb7afd118947377a802a4eb2da1f47f188e6c
MD5 2385fa7ac341beefa5416190475f90a2
BLAKE2b-256 477ca3fa48e520e66d98dc4afa38a6ab7424fa00b942dbd05a13a612a889934c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 940d9e309b017b7fcb0d81eca9f88318153516fb4c1a685663973ac495f0fd9f
MD5 51085e5da83e57281c904e54e31386a7
BLAKE2b-256 fe3fac20f629efbe89a4ab971809f10f734aac650f7f2ee72a538ed3cbd1b6de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e720899112b71255461fca49446888e8b2566f737325714e1a1ff41d65f3df40
MD5 e6513b80651b7982cceca0d945f32873
BLAKE2b-256 45d997c4a7a13b46cd6e0081c100ccb0302be7a460a2e7456ffeb9a9ffcca3f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 18b29da67d028db23d8493d51336f0f966f3b0e87b9c15e093470df255267be8
MD5 4aebcc1a0f1ae6b4d8740887cf6afe3c
BLAKE2b-256 fb22d3b49b6b8a4affb01d8669bbc495e1502c5a47a8800f80cde2b4f0940a0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9f13bd86f34f594aba7d00803e20ec1dd6af14323a323177cc93707e8efb80f5
MD5 71964e77bc1d14def905cf6fb72a07e8
BLAKE2b-256 72da7da89a57f77157c4d7ef364d83beb829c3d97269a449366fd96a3cf1bd8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 99bdf1aac25b381106d32932fe2757974a4db75e8a43f290756bbf11c86f652f
MD5 682f2eb0db50ea940a648625fc4370be
BLAKE2b-256 b3a77c920c75e15ed3ec1e8fa9304c1abd4247791589a5d226f700d8433657fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 426d48013618314292fa491fd7168e116a7d4c57c8a27605a4de9a1c1fc018b7
MD5 61f84e91d9b850bd7cc8ad5e56ee4366
BLAKE2b-256 0ef7fe2748f898252b65b0d8d8310903ed8f52ee5c3525220bb3be1044f6d7f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0dd390d689022bb15620a8bd76954325de3ef4565ddf463c0925a3e573386d9a
MD5 22aa89ef4692bc562952864ccc2ec342
BLAKE2b-256 8f823788517b2f72c456ffe7c46664f8dd2ed71802ab67d39081f24a06cc90ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4245b26112654168cb20961c5fcb2f015519be7ede1d291afc4567d9b0000841
MD5 b001d303711467e36d72d5a48cb25be9
BLAKE2b-256 557cd88738ffc68e4438f98a68a5e7120f0c95e9a6581899e3671a0a3a77d8bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 40cded814190141e104270ef1b6afbf76e81c0a4dba9373f8ed0ada0f0c350d7
MD5 82328cab1f62b5a4957bc518d9e2f70b
BLAKE2b-256 c96562b9de9c9e19e3d15bd89501f66b84469ea10faa7fa9b09492c1aca54d99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1ddb680d2c4d8bdd308d20e62b38b31d9c6949f12ab451e00b03ec50fef32765
MD5 d0f5e16f6b47c0cc2c4c634b8d4ca541
BLAKE2b-256 db7685a22d23261664aeeae726724128bb6df4ce46befeda65409f0d0b0e4291

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 63d1a47c345a10c69fdefcf74b80bbc8adc61b3a30dd25aa8d99222b5c431bcb
MD5 db6989e786382b2b1f17d25ce0b38f79
BLAKE2b-256 117c1c8c3ecc39b662823c2406b48eb20f32509998f267f45dc44e512470dd57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1524d9e118562f82668fca9f952647508d9e2cf93daa91cbca5cda1f87db6be6
MD5 d7a7740c0448afa4c30abf2fd096ccba
BLAKE2b-256 45bf9365eab96cb40652c6037b8f4dda1d90be0ab8b44e87ec0c9f93c767c93c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 26d8188dbbd97b3b1c9cb6f133d2e2466376c2c854b58ba9b8e302b061901689
MD5 72739f3177a3142de52ea9a9bd933558
BLAKE2b-256 d652bb809f1fe52158acf295ee7b288ba800aaa6fe947f618b6e8e2d8b27f933

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 27211dd7d6bda0c8dc66521478cadf6d10c97a14b75d862a995532436f5fe295
MD5 9ea05af3ea02d503293d0b2fa798ade7
BLAKE2b-256 8eab4fdff9d2a0a5f0d2882d8b562ee4cd58a5807ac292cbcb69d4749d346a63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3fd788d4cfa1ee28fa3546b9d2bc4ba989ee5dd5b54eced0ef943add2b8f9202
MD5 166dbeeb61d6b1b592eb4d9eb11b5628
BLAKE2b-256 bf5491fea9d699903d11d41469625e2bd22f788f8aa723164801de7e2145a4ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.48-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b7c173679501a38eb1197b1f74e8d9b0444a6171ff8811ad22304297a3a502ae
MD5 53245917e0c7704562a43e4ad26a32fa
BLAKE2b-256 faf954e36e2ed7bbc0a3e22b2f168d8d8bf8eaea01326b270c7be11aec39d0ca

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