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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc3-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.2rc3-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.2rc3-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.2rc3-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc3-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.2rc3-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.2rc3-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.2rc3-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.2rc3.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.2rc3.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.2rc3.tar.gz
Algorithm Hash digest
SHA256 53600b726ec937895bfd4fc5188ae92f934457d4cb70f9ad31e11af044cdf362
MD5 2726c8bfb3dd7df5720d9b753c6dc079
BLAKE2b-256 71130251b016b2f17226b79c26a80cfdad30852f56b751a20023a9ee92914152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ad5b10d9f6332c6f8c61944a1c2f3530dd536e15868eb638f793790368088c2f
MD5 0bcc2900c2f6a15a50dd8077cb3146fd
BLAKE2b-256 5e23a663df1ac25a82de8da8c549526dd23f2d84b5150ddcc3ce8f1144c6791f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 31e263e39cc01840c556904f2427ba277c088552f966f41b9e562553f164137d
MD5 f05683ced4005a977662a9359693dad4
BLAKE2b-256 89cd2c8de7c098761137eb07eaf2f35ee4b67598de7e16d3a9789bd69477c3d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ca93fb674fd090861b31944c268dbd75e75293b1f06b246f499c1dfeec88081
MD5 030a83f62cc727902d479b40dbda4873
BLAKE2b-256 8ed7789b0f44a04d49f12f8099ccf6801b7006a05736defab42bf13e86f21770

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6fcf428123b9b890f6a8fc16528292e1a8335ebc17a1edaf171ebc78af356915
MD5 e6fde90b06ee33b985117c794c909d82
BLAKE2b-256 6302140543aa02e6fba7e2a557989a90cc11f51fd691fce223f6aed733b34e0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 34427979a5e1f2bfd9b0600806072008295baf4af580958c4761b16997f46906
MD5 fa1decc4f35ed6699365d1b78825f75f
BLAKE2b-256 407af5cf0bedacb678a33c673ec1a802748408f6b11559d35e4ee056c13cb877

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9e05123cccd603829b58f7a918b34cffe1fef0eaff8d27848fc7dce3ebef46a8
MD5 bf4cabeeba0d9c2080c8690308cc4afc
BLAKE2b-256 49595351baa525f913a98b39519334f643e9415e26a32f55b428e5de240424f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 18d917ef3d96ad42fc57c400f80f48c186b55c4028e11b239cf4e09590a8f449
MD5 be0a4a12a060d78547459af1ac8bfdcc
BLAKE2b-256 7e6edb108ac4cc9a90c117d02ae7b5f3ead683948276c64db021b96058aac007

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 98083e95112011332fb3adad3c086d5dd0c1b25420c2a2b11ef44be2fec3eca8
MD5 676c8c2ebbb39c2030676b932a7ba653
BLAKE2b-256 11170e3731897eaff8a88d01885c2a4fe2efb1cf0c3dd9f6565bfe3934cefe13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e10d9cc66818617dcb42aca6abebecc7e39a0e02b46237c94d3514f85f13de9f
MD5 e708e2505c6d11e341f7fe58b88df698
BLAKE2b-256 dbd051618d4da2b0f7c8c604fbc811857ad5ac194fd3f7bc6c7be18ad0e154d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9fa56a48d995ac25b4c6a4d228f66d5b7179164a7e490a9d408e42953bad19af
MD5 1b76d028532ac77c5c66e89f811faef4
BLAKE2b-256 14e2f4a386f85eb7da2b277fc5da67ad63f7b4d11a050cb5c774f9afbe56f98c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 132f31f7aeb422a59547d6f6322b7fa3042c75767d3603e3433fc75c061315b9
MD5 417509e8a448e22a9b08986dd3f3612f
BLAKE2b-256 7161a99a5306a860f73ca7d79ac048c67719798e97c78d5aa2b93c925fa5f210

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 38e9187f30f04677d94a08024865ebabdaf2fa7e844e7f604231bc50b106f992
MD5 15f723512e17ca688cd394f4bfed83cf
BLAKE2b-256 bf5c27f25d2925e0e69191f51fc9e913707e751c963a0df3a364522a0248176b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ca65758b62245c971faefcecad82422d60f077ad7459cbf90a205123b1fdcf5
MD5 6ef52f03d4132d11ef351834b51e5ff9
BLAKE2b-256 605863f7c352dc94f164142622b0c8b776ce3a9b96e46bc6058f9d4796ff778a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 70015ff48ddfe59b3dabb3c55543c284d8af5fb1e54016fe4983ff8f62bcabdc
MD5 7eda60682d7afc43f07da8e238e7eebf
BLAKE2b-256 ad7896d1ec5a21e0b1bf1d56f12d985278c762e8de34dae9bf0d0064398a4736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7ca2532fcb602e51553e1e640abc2f77d1dec3013be4da6447e840dbac9f1f9
MD5 447473d027fd52f7d2184733955c09bd
BLAKE2b-256 8e5c7c1c952dcb7cc746b8f14ebaf729297d07361c62687e353eca13bdfc052c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fcc2f707d579a36cefd1cbf00dead914880efcb55465d1136f6a489b497b4303
MD5 dda156fedadb83877cf2afb99f1a1771
BLAKE2b-256 6804399d517fb193f5102bab745e84f00123d31f01132a83a8b605646563b29b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4ec80568c5cf5334218c739e6d148d627ff68babc72c44a47c7692ebf82a2042
MD5 57496d8118515f9a8d1c6e8c1336a370
BLAKE2b-256 e7944aa006538c24baf27c4df79b2b1189491dc5a793706b90e69efc40ba233c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 595cade8cf13170b8e4fc701b9b465ed2635fe7575242c1add1dcfb39f56d9e4
MD5 a8901a848e4f95e5b796498ea03d2809
BLAKE2b-256 3e3367b665d7f67bbd0868f0e8e28d8971512d5ed7a6add2f2232a80b0b027b1

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