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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a2-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.1a2-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.1a2-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.1a2-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.1a2-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.1a2-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.1a2-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.1a2-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.1a2-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.8.1a2-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.1a2-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.1a2-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a2-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.1a2-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.1a2-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.1a2-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.1a2.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.1a2.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.8.1a2.tar.gz
Algorithm Hash digest
SHA256 71ba504761065a83a3d510512d2abb7b938aad9a2de8015419b492e5ee3ecca0
MD5 93f1cad21dd3a8bdac8fd7ad8618da9d
BLAKE2b-256 808b12f557a1d3c000181036e0ff112fdb4216d05b0c172c4347b5f2aefd9f80

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3c71d00c87b61117063d906adc4ff39e020f15d6970f56f4c1fb60d63d9940ca
MD5 5a4acce46c797aa61e4362a0dc29e07d
BLAKE2b-256 ff24ea2332b631a9617e8a8da21754fd64096f55fed604032e11e0eb64a537f2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 07008ef5a2ca532e21a0d417ec4be93438e8e1cc815cade707153d7ce2efb11f
MD5 dbe830d446568aa004f5ee1cec74bc85
BLAKE2b-256 edd74ca376726514eca91dd9117d8af1e9ecd59a7f65b75887b409954d329de7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa9bd315159749f01cdba903e0a71ac3957ca379f297f4febc05d4d2d83642a1
MD5 51fa4cc019ec01f7201ac5da71d368fd
BLAKE2b-256 a1692ae985021587f7b294affed7f89e833fadc408f31b1184440482284536f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dc6c0ae5fe3cd36e1915f8f1ca81fa9810e8ef0e9c815f9e1505a93308c0307d
MD5 70b025ce4a12f906b5d048c81eacc9aa
BLAKE2b-256 355f1603e8845e681834173c55e461bdf1aa31db9370b327c514a3be2cc78df7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5a58ac2347918a1be88525c23f13d6932f4de272f083f80cff91a7b101a976a8
MD5 825784d3e3efc9a1e0083c29e064e879
BLAKE2b-256 c3546c5a18bdf28d0837108353fd6170cca2e4251b47c0b581b0dc091ea22ecb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8a9a541fee81492b6f7695987744be5dacc575cfd0b8ce781cdf018ac8f5c4ad
MD5 4a3115eab778829778c075ef69900e96
BLAKE2b-256 8de4cf3dc352f9ae3b8460468130230378ec82e1014b7eeee7f7f11451a6f254

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e9365a4f06450cc1f6d537a62da0e8718957e318ee658ee50affe0bf12d3d124
MD5 e4f0e50eb7ad9419937ff6eb9c554342
BLAKE2b-256 e006b6d23d081c93cae905efcb18e0048b44b431d2df1e0f32dc31624ae0fb02

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f9818ec24694b480a9a7c69c2927a5ce4c3635ca767610618611170706915ac0
MD5 d8ec9d7db91c1b9c4e519c9d1ecee730
BLAKE2b-256 5f6eb1b4f9549ef32085f4bd362e0d2ade4e8fd6c7ce465b13ef8b606858f8fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 703ed35d94b33bcddac805e49801f8f083ff360423aec3c5d708cec7e0049f71
MD5 299a1d45fa46e67d679bc6e8326e227a
BLAKE2b-256 56699084a5e22b0671ad32d583e3fac8e8751b4d46de377ad0a2a79685309777

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f5f1cd11e7f36bffae8a32910a741422d1013e160abb16095c092cc55d5ce03e
MD5 57181e2e8f889e0ee24af5c636f646cd
BLAKE2b-256 a27ac1a8b4214e84839a47a0f59a3518261e7762b3e1f583a580cd2bb1e93764

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7d1ffb7929f581523e183926dbf7145c3d2b53c733fd72ef1f46fa2c795d144
MD5 a2f86f46f2927c6e47bf1eda17a4d7c7
BLAKE2b-256 4c5eaa639797a6fbe6124f226be09de93fdc32445377893a51360b93cdc339ef

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 722d0c6bd6eef82188427a66f6e7e2a631cd38a16b695a020faa75827847e3c0
MD5 d05ec8ef9d3f04a3d12cf69efa55b069
BLAKE2b-256 3922e09f162574c79d21c2c4bf78d3594d1006180e31e9167581dae8868dd1e8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bf14d7e624711c2def78ac7a13b8825da1f25c8e795836f6ea64694bbee3704c
MD5 e92bf472d26329435ea0e49667ddb683
BLAKE2b-256 efaa79b65287e621af3261235c442f7a482c42f0ae807f81f860846a6bc978fb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e99251331fb66649223fd6e24bfe596a9335e9d745a825f953a841fde8a758c3
MD5 99f9187a7614c639742d1fc2bdfffe4b
BLAKE2b-256 5a2180b8965cfac0cf17bcafcf6ea6ca32e61a6fe4abd8f485ef30cba7011eb9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46d70fe6a0b73da83187300813b47310f0d1bfdf66d1e5748412399f333b6b28
MD5 dfc675951de70c60996ecb8521b7f0f2
BLAKE2b-256 f9460f08a2647cba2eb8477985c45f8d2aaf1b5cae3657525108013f6eab3ed5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3c0cda4b6f512a29db10430b2bdc14da87024dbd04581fb757839ca8b2d55e4f
MD5 00e6ac39459dcc0ae7aa401b9c84f2fc
BLAKE2b-256 7d7997676feba3d641d28e5ced70ce1148fb8d15117db98194bb7c66c8906b6c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a7dd75857ae835f488618068ce36a6b7f0a00a33062139de80c76e0ee414470e
MD5 d268fac8263704bed222224a1643b686
BLAKE2b-256 2cc378c5013371769d4172156e9909ae89678a1871beb514d2084fdc40976ecb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8698ad75ec6123af6a37150a9eec2353104639f5a214aa6f4bbc8c369e749292
MD5 28db9345b8d5f6e0d8d000714dd8c6c3
BLAKE2b-256 0b5b0a67dd87dd370823d44c62eaee3778a61381d17f75364ee5ada56f0bc295

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