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-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.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.8.2.tar.gz (5.1 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.8.2-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.8.2-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2-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.8.2-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.8.2-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.2-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2-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.8.2-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.8.2-cp312-abi3-macosx_13_0_x86_64.whl (235.6 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.2-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2-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.8.2-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.8.2-cp311-cp311-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.2-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.8.2.tar.gz
  • Upload date:
  • Size: 5.1 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.8.2.tar.gz
Algorithm Hash digest
SHA256 b03a90bfbcc897bcd4c9dd484480dbf52721dfaf8ab390c0aada0a198a292ad7
MD5 b94931a1d3a63fc309596cfb44f7ea9b
BLAKE2b-256 8a354a785180985b64583ecd15affd7b955696ab2543d6c1228fdc15c5f9111a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ad0a26868e515ba8873e3b7f96568869c90a786a8dcd766a57acba2ab21926c
MD5 098993d37b1d70624eebc82b3e3afe45
BLAKE2b-256 e67b5f95c960064a1f1d81fe48d68d62abc1657a76739fdeec222f68a6149c4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 71115367ae060616fa7e13e60d9c27a6fb0ffb583e9b15b0272338b1a1759b69
MD5 4255b39f28ea9f9b01e8ad6ca076053b
BLAKE2b-256 930df81305502b42a850cfc411056c340dc7e32e8da0b7d4323cbb9f5f6ff56f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 59e5008c823b614fc3e6358a861378d1384d4541efd1a811f5db0ab56ff1e8f3
MD5 24ea2846df323931e73a9388adbdd5eb
BLAKE2b-256 59f8482bcc8c4960b99f9985039c1878870cf31a98c965165b8e4635d5acb8b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7441c82fd4418be07908ce0e5ffdf0b9db195830dd7a4ace5eea533d4f55e64b
MD5 f7fb1bf044bb17ae18209af4596c16d7
BLAKE2b-256 e6162d429fa5ca34e114062aebdc6dbdc39bbd5a6af74fa1b4eab77986c039cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 313dc6df0b7c656e786372cb63478d6e3d44e7e880c3078583e519c3d84f4f12
MD5 ca0b167e06d8d41a02e5d27d72d606b2
BLAKE2b-256 6fddb83651f8fa2d4e3706aed8cec72718348b54d0ac93430a29ed3e3f688170

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 48afa298bc2b0303f34990c2a81fa7d17f109cc1107544dd62bc982551d28ce4
MD5 c711b30b82df033c67326438263d5941
BLAKE2b-256 c223723e54774f32a3d25cd1fd5a80a0f4d8dd5a6e370f82980a253ad7941c23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ed4efb13c926c06788255115552310d6e622eabdf2fead3861b6413864eb901
MD5 17265a40f0fccbdab45c9eceac9cf803
BLAKE2b-256 43675f72ffb8c3e7998c3d58ae09ee29ea741afe01da5416842948826a5e8e63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f83a234c97f7545caae445cc21995b5d8897ace48ad3f22d275330cdb85ffc5a
MD5 5f7ac1de231d156b413468e8f7913a53
BLAKE2b-256 ab4e7c0a2977cc685f3e3ff0f2f2ad55d141cc3771717d0007878e5a76bfcae9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1b79313bd94ea585f0a59150fc9a30b1684a4f0a386f68150874b2778aaa42c
MD5 80a43b18dadbe424898052340bd5fbdd
BLAKE2b-256 db9ef5a6c409633e479f5ab550465d8f2d7357e3e2a8e99fa1325e1c8195d6c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f634ba774937204c67771bd9779ad57eb86fc90c9937d43ca126d77315eb33b2
MD5 305fe983ddf9f6ef844ae71f31cd4f35
BLAKE2b-256 8c0e62ad723ebdc57fd4d755f417132381891ed48ef6dcbc09a4e48a41465a71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef2f6ef585bf318b7d6f3c829d331aa57ada05318b5f7454b4e28300bd1958da
MD5 13c2559d6c89ad67b1a519b7f36dba21
BLAKE2b-256 d00d544794b30ab6eddfa6a8501da686e77b3a5e2cddaf44b17a9c7b1675ce48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b3c3fe307b93260a536c578dae9c12b4d3939d46b71ed8a5ed55596b6db74d58
MD5 c57050a93d04fffd26b300b78add4434
BLAKE2b-256 040fcb3905e7a7b6f2709e4448a313ca7403485d47ebaf29edd117091b7f8ba6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1e0459429a348967c629eb7fa5d77b6950ac47ad2f7ea9b7741a2a398450cc82
MD5 d58fe79708f711e3ecc8f596bbd38f36
BLAKE2b-256 5b7a528b0f4071ebdc800faa45979cb063adae65e0478381ec9982554b37cbfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4c96b5e8e9a0a13710208363b6636d7664904215be221443282b4a7b34ebb7da
MD5 901b8f7a24a8ec176f1110e80ca90324
BLAKE2b-256 39c46baf3b9a68b01c72e9e083e604eff37f3cfd379da007ffd3939dc3bf77fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a188c9bdebffbd87fef2f1aa3cebeade5acc16c8d97f1caa784c64bf7c19fc3e
MD5 21160a3a14a53448261c2ec856877b40
BLAKE2b-256 5818c7b09aef7713ff74de4a952729806eaf60693e6f015ca8202e3d6208f4db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4717148fec96dff8ed42aa506e596607ef4f5b175aec13b3c5e550a3344c47a5
MD5 2ad6115281ff795aea79ba64ed65b053
BLAKE2b-256 bce47d34b56eaa849e15457da8016a4fc00d526949bdcbc63f7f876a282f2ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f180f7edaee0f715e8210e83fcd4e9bc3eab935b110a433a3f6c74401533284d
MD5 f2a24283c36a40a7cce0c04318eb4a06
BLAKE2b-256 7ac4df3cc28ed21ed57d2b8effd7e829d104c60dc3c318a8bb3e34d6d423cd05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4e8a466b95a66b042be76e5bd585d1a0efd7ce142115dc47428d5cd823d1e80c
MD5 944c98ee650f91413472d74e480aae16
BLAKE2b-256 130e595b91a4eca83be6d5fdde219c5af46536af7172b4dd9c0d94d355f690b6

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