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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc0-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.3rc0-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.3rc0-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.3rc0-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.3rc0-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.3rc0-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.3rc0-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.3rc0-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.3rc0-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.3rc0-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.3rc0-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.3rc0-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc0-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.3rc0-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.3rc0-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.3rc0-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.3rc0.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.3rc0.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.3rc0.tar.gz
Algorithm Hash digest
SHA256 8be63729961790aa16fa2bf54b3410915c4de8ee3a7f02e9ac82ebea91bb99cb
MD5 316142ee42034650a77b15dacd61a471
BLAKE2b-256 1c6768d55cd69e1950e88e675e127b05c1e975642f278e2f89da1d3a79311801

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f8d8939c8863e965c47b5735b5f423eca9c3a485fa4fdde663bf897313fea019
MD5 3838982d53fa11486cca5086c446ce1d
BLAKE2b-256 56d5c0152e2d3fc3dd3302b231352246f305f661e89982f02674f4e61d42b028

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d790a5fe92bbdf25441816be621ab9983925fcb6eaffffa9550aac540ce3993a
MD5 fc0e9c96f080e64444e1b0713134c348
BLAKE2b-256 191da9da9fcde012cc161fb2fbd9fe35f2acb2e2118ba487fecc9ede460d8909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9463ca4c8a0f1b7df1d712ecf28087921bb58893ba804006b954094179cd4649
MD5 0a8ecc1332e0061b8f8b14ec4e06f776
BLAKE2b-256 6a5a6b9f97b758944836ae7a539345a5f16251b3b109595bbae914cc93a47245

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c42e9440ac0ad70e63f364ac0b5d9a263e7944fac834d69139c0fa1d122ce758
MD5 67bc9c184c5c1dc3fa30e4e61f87ac91
BLAKE2b-256 5497764f9e2d12688bd7002011f0b6dfbf2bd75d2384bd5141efc63120ea80cd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7e45e7fa0dc9fedd3caed5b63ed6c090e0e00d7c42af4852fa53bf37dc5b79ff
MD5 1e124758d0802cea4b49fcbd5e8d887c
BLAKE2b-256 779eac9bed2d77883ab328c8769df7c4fda54c587b930ea12b0d65219ccffd0d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bbc92e20c247ee88c94c52ace4a89d389372f1c29bbe823b756ebf3d8f065f6c
MD5 67b1d90a714367ecd14d66d4de380a12
BLAKE2b-256 0b533f6412f8fbe07f584297a642e79a0b825cf8d659c3fa3919a0ff6d2f917f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d48c0e94c073ff2c854c88f80a73440a949334b4a61ce25f5d66a5be45bf2409
MD5 13fd9b4b9bbd1cba6100f9d66c3238f2
BLAKE2b-256 c59c47aa65770e994c05d3053385202b96125f5db2c5a80c7a95f4b24eebc0df

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1a56a923c42d235a70d690ebc1ced66b83c21cf93a1d4fccbdf5e04944c2477c
MD5 64692e73353c06171d38e0856e9e15bb
BLAKE2b-256 ea229af4a26c4e7f1285bca61ef5acf4cc7eb84c608c3e89201e0492d2c89044

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 186361d508379006a201bdcf2153caebd1ad339ff3e23f628163c959db61d42c
MD5 4429601f60da4251fb311525ef9e6cbc
BLAKE2b-256 90655c03257bb3dd77d82552213b837b5bb128ed3b5e7c24a75c2150e3f82f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e62bf04b77cbc8cf09dba1315b5a4358c363976739362fa256b718ebafa3795
MD5 6dae23721cc1fa3146171d02af5ea257
BLAKE2b-256 c8e4850a6a7e8a3e934da73ced44ca1ccb604cf1d729d871949199b2535d04b2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bb0d8222ecb53162bc10af6ec7761bb953d83f13174a898d436a6f066a054e4c
MD5 c964cdea572e65865d23892abe7621ad
BLAKE2b-256 37561bcbee8d735a852d281612f7f135a9d1d5012ec8ddb7dc75621bd03f2fe7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b737a1ae4a1d71c506f9ad43c8305fe922bffb39ec9fe9de6a2a69ff11d91e80
MD5 4c51b1877047517b08cb14dceed19a17
BLAKE2b-256 e4747610dd4263d844c56b1b33131bc61d354d3a976d1adf28d55d63d2b188d3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 44d13d6fffbbb3d649f232525241c0fc39fc25f85039af04a5d1e283c4ebe457
MD5 f6a7fd32410a2a9e76c7f0fc24d637db
BLAKE2b-256 95e639a1514c1783c2bf1bb86c4d07e709ec9fe3715925af22eec42f703c5d8d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ee474a3c5c906d6fa09dde82683c64bd22279bf32cad2ff4bec11dba8ff56ff1
MD5 173152738b2e4e3cb86e6aca9328512e
BLAKE2b-256 40ce587ac7a2861ad1e6561714a52b3c4d7b4a2ad201719994a8af9f52052b32

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43215dd5b36b756598ae9951cffdc0605537967a244877630cfcb72a0612d7a2
MD5 0deec2637cc7ded75d956d6ee1415ff3
BLAKE2b-256 a5a64c55444c2ea64deab252cf619dc1e7c15a0a3064735b3771c77fe9f1e075

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bbacb48a121a1ded4ee3caa4c65c8759fcb0ef3209a4f4c0ec5f424c5a15de48
MD5 6dac3e5a2885984f8249df36a95846dc
BLAKE2b-256 e5d837a99598d4f0c9fb63adc71666db99c55e9a5f4ffa66b19e78c8d0854bc3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72c31b4ec12f5a5b552890a824db878d8c27888e48566130b37b53279d6eadae
MD5 e08bf71f5405a44deade205713ab89a9
BLAKE2b-256 e42a15c74b018c4fa02fb1a722448b3bf23194ea164e2a2ff39ab8c77eb3e80a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1620bd387bb3ea0d7269a1419654dcb943d401216c9ac01cf4a048ad07dba0ee
MD5 1190fa51acb14d049cdf27a100bf3e3b
BLAKE2b-256 c672c63adb733e93a9521f6b822b79c76c59a002f421e88525532ccaf9e26fdd

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