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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-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.5rc4-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.5rc4-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.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc4-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.5rc4-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.5rc4-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.5rc4-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.5rc4.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.5rc4.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_glucose-10.8.5rc4.tar.gz
Algorithm Hash digest
SHA256 bd2f6bb6054acd7423cd045b995dd673904ecf8fea307a7c44ba0c2b79c0fc6d
MD5 7a9d07b7e21048d84e9eb049a2c6853c
BLAKE2b-256 b6c926fabbe917d0d3ec9122035a81fd028717ea9982c5e79c4bd9ddad3430d8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8f7746ef9fa132e0fa155441a6154cf4e3e8165c391b57c5ee7f558696d2d71f
MD5 b39b2193b9639a89154471ebeca18a59
BLAKE2b-256 cf4726100b08e57c09aa900ba51e6df3a695d8c86451b2f8cb5b28a0c0abca8a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c7ec6df80c77e5bd377ec297661153dfd5371a1c751f753b46dfdc0ce3598fe6
MD5 444d0577957fec4045e4a8ef5b16357f
BLAKE2b-256 34c414b008a4061a7ee6b059feb90867b93ef33014ee93db8cfb1610a5989735

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4583387282ece9f67448487489fb0a51807c806a9e468f8855841220a32f6989
MD5 4d4cbcffc0ca3362a053592d6016c6a4
BLAKE2b-256 49d5619eb46f18d863f7ee281cff235fa3d673144f67b1edd31a1b287ab287e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a08d7ddf61d39c280def020cbc2691296ff0a9f7836a1a9f6b7091022a08a3ed
MD5 d5be1e39ec1a0ece4457d2a4a5208c03
BLAKE2b-256 8d30d4932c5af3cc272a43783084d5a19037f52790546e6429feca57e1b49f36

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e45bc5bce154a1ace37be462a9b2bb3aec5b200b877d46c646fad776e659e8e
MD5 0796b4a366efbd5d1c4a8dc4bfb812e2
BLAKE2b-256 042dae496a6739d07435fadb34887222331dee94444ec5cd77324399b2621d32

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 969e69e6ba14f7ed170a5c5fd486b89ee4855ec784d577ca5027d2518e004c6d
MD5 014a7f426d1d6344965c6e5d84df2042
BLAKE2b-256 e86deb55c3211d46903a2181037118f0c9e12c02a5a16a489774ce4045ea510d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14c444abbfd3b8472256d5635c628da7545e2fa4cb35d7dc8f347352e60c2289
MD5 e51dc5565eec157b37feb32f903ae392
BLAKE2b-256 5a10ab72483ddf2df17135fb6064e36f9938e5bd6cd8dc06962dc18b428ad8d7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 25799ef5be3e80d3e8e4b1c5fcd7c501de4dc78db38b93f352f3830661981440
MD5 0b9f9fc6e6880e5ea14188e753a16bfd
BLAKE2b-256 32b16f245d8d223f81b6e68e29d359583071dfe82b1393d4a365b4e31efe171c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4bbf3fc105ce736a0a4fce1f0963d362666f73b319168858135a7efb6ab7eb66
MD5 de246e34ad4e27e438fb06bcbc8356f9
BLAKE2b-256 07e63f49a2c7bfa7e6990dafe3a2ae4d4e946299ec8e3bbf0c08bfa69e1a45de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e2e935bc624de121e58159968ac9210ef3608173760cf74d9f4d315893b9bead
MD5 e8b09f948a6c78dfc83d4a7cc2e381ec
BLAKE2b-256 84361d5b5d653d415757fc68dad7768bc5ea5cc9cb60dcbc118d4b87bfd9b0b1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f3d1f991afdcf356190c954f391504d97d70981e49cc1c6aa306bd4e507ffb3c
MD5 830c92c8dfab7f40b2a271dd852fbdb2
BLAKE2b-256 2369b05cc64649e5f24fb3d96eb0adfbb5fea1f14f7058660cde1c0cab68c4ca

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2e31f7d8a3a44cd0eb91ae5f4520ad4dd1153b8949990e00430b365a31e70ef7
MD5 847932658d7711723f3f27096f150171
BLAKE2b-256 0a31efe6ccd396de93d6361b944b982993a790242d6953ff1f9703b7f275a931

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b49f411f117c11fadcb6579c005003752f50ef7aa9b5088e78ae89e57ccacd46
MD5 97bcc4e21c85808d87a81c43fbc6f6eb
BLAKE2b-256 406bba6e83ba750baacfc2d4f2f41c467b463c74df9f4d4e26f666c19e761b47

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 089560cffc7671f99c6db8c9e1f44b106c2bfe2b08a9c232ac3fc19d90c8ac1c
MD5 92aa9c3c26cfdaf1262c41f7f605a7f9
BLAKE2b-256 db4576d6afb40fced6df79e06055756d4a54cb923e1ab8e90be55d887ebadba9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e8c857aa02cd6a10b063a26e3895100e41302465af9abd64264c10c582ba05ee
MD5 e6ea78d15b98c33a7eb3653c593a3548
BLAKE2b-256 f0e4981791d9c241d297811a1b879a1915dc7c7e65c63a23b3911ac1d540132c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d23312936a508906dbe3b588648736505d8c1bd8a97543ef083026f3db6cc47f
MD5 0253d826f548aca08b166fdcb2a977ac
BLAKE2b-256 2acfa3947809cad04ccc0e9b65232d8e462b9b669548dd97a079f7ec4b15b5a7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f0964e88a0aae8ec51b81537f7caf60fc11370a697b4c298a23d5cf06c8b2d0
MD5 39f5c1af185e5838354719809fb9417d
BLAKE2b-256 d83e94e5a2f6507406648225d6f55d5b54b52f958dd23ec32dfd0180a96e6f33

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 10f3bc7adae00c79afaa80ea09a7d921deac3eb6e93df1229a11214b401076fd
MD5 3c8729b39e5207731e85f0240194c288
BLAKE2b-256 4b9069a964b1a569c681ef0cd3e1acf894d7adb96e7028363a165323f4967a3b

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