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.13.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 sage.all__sagemath_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.6.31rc1.tar.gz (4.4 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.6.31rc1-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.6.31rc1-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc1-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.6.31rc1-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.6.31rc1-cp312-abi3-macosx_13_0_x86_64.whl (241.2 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc1-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc1-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.6.31rc1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc1-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.6.31rc1-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.6.31rc1-cp311-cp311-macosx_13_0_x86_64.whl (240.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc1-cp311-cp311-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_x86_64.whl (240.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.6.31rc1.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1.tar.gz
Algorithm Hash digest
SHA256 5e7e0a1d199b5591158559ead448d150ffd3ef504f7c76de63f20d198809f8c6
MD5 94ca3ed5d6a3eab8ee43b4a1c8466a32
BLAKE2b-256 e4637528351d65226da92a2b19ad870541bea46bc5d2283a766e46c6ec0be025

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6707af4ad5d112afb2e021b5b58d9f731fc29eebe9f010f5d52d1dab1b3e14d3
MD5 64f224ab315c024b4d0a7bf5625a8b05
BLAKE2b-256 8c28d6db01c517988a096b189f9e274f1c4a6ef3f094b56e719ffa47e021d7a1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1f4c4fac57d17cf020a7c737b4babde584fd71f52e4afdf7521afc6ef0668117
MD5 a6b945c99ea04e3e532dc56b193cb6c9
BLAKE2b-256 7f2740dd90e005c3eeb5a7b0b5ec6f84459d763676ca3e326dd40e58378de22d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 becd8c18680cb0142c318578e1d6eb0894d30251cdc0d2b7d812e409697c054c
MD5 384f66c846d33b5ad2634b8afbb31a28
BLAKE2b-256 9886c529cbb13888f36f2123a68a3c06bbdae75e2aae8ee98f33880e0bcabc48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6019a3ea5b36ce791db7eb567f2ac1597f187cbdbc05643d0fb086165fb20a10
MD5 c62a14d439b683ca65fdf75432ef5fe9
BLAKE2b-256 e12ed3674315898951a051a177572f5e53c80937c537ad36e8f84b91cd1c4478

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0cb586eb48e2310d209dd7c0bac584c9fa18b1d7aed8de73734e1edb87651382
MD5 8e0316973e7ee4be6b55489fb0388e80
BLAKE2b-256 e746d5b0b76b075a146f223b7c8abfdfe47d82bf90e081c72cf329d1ec8174ff

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ff4c5fb5c6ccd7ee6eddf84486f0a381ab1a8d56c278bab9b46a6f8792c4148e
MD5 07d6113872f5b0b926007e247dbfb3ff
BLAKE2b-256 60fe6da3c6c368288cda53cf911bbaf292c70aed4b45118c2eb968570d2e9cf0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 03622c353f917aa16e3264e8102e69150223e2b5a32ca5af40c64339bb328afb
MD5 81c2e30da26bc48b7feed733d68e9623
BLAKE2b-256 441e26cf995f1a3e6a1c8b485b5c0f7686a49eb5f783e7d024f60ac2491277b7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 19b4e221c094b47488c54b2d99d46c203fa0e026f7ceb2e956c6c4dd81d596bd
MD5 c405a52357ee94d6e15078980e1bf280
BLAKE2b-256 b79148d639ca37ecf4c1d7409fbd07f4db73febc1406d3fd119841b28cb20ef5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae99135c0f7b308178811aed4dda88ce4c9e84f36677b698b0ffcaadc9f9772b
MD5 d6cbe59a2af841d123c615255218369d
BLAKE2b-256 6f9071e5c812aae481f5faa87f5f84514639dbc97885174cb09f5a097b32c182

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7dd3e2d6e37208e3d537ec8579e010b7d16fc907a2cb51cd2bbd0d049adeeb9f
MD5 0a79a51f9bdf0126d3686d224f2909e3
BLAKE2b-256 89ac4a1974e9d220398f9f039958aeb1221eada4fedbe3595550247cf9b288c2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 48806e18a1bf1acd8d5c159af8d2522365aae3dda13f6a400fdc0b02957184cc
MD5 cb26dab204f134f99410217b46ee1792
BLAKE2b-256 669ea58206486d803bf3dacc541f8fdc563b67637c4cfbcfeb1aa58966de118d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 58dff99825cdd09f608b37aa8277e320903e9a2817413ccc36afb35d96ff1c05
MD5 465536a159d1bede8f9ffa7e801c3dcf
BLAKE2b-256 a29234257a80aa85176f78e73bf0b47f3d72ccdc9631c658d801305ea9d8071a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d40340921415214d00c622c4738112fc2ef20640184426a770bdf8507bc2ef13
MD5 b4d9ce060cd7f4997543fb0ca76e5b6d
BLAKE2b-256 0ffaed8b1487ed1bddb75dd49643fb53b109e247a42c1d69c51c43559d6cd03c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5ac7ef4b164b7f1a18e84a3666b444c1edecc710d3c00959a8e5c8254bbfbca7
MD5 bcd4c9ca6b2d9d343073c94043327f1d
BLAKE2b-256 168c66aa4d8e8d7208ee31b18883f05abb360bd96002286592b3c49901890ae2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a3faa72ffdf3095e1451ebc48cb05438255599fdc3714b76eb182e1853d1b9b
MD5 09bc71bcc41ada83e27bd9c870d0611b
BLAKE2b-256 25dcb8e232d671c7c167950d5e222212f0c1d5534e19c25aabf602e49a47f3e0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 280a14f3f8cc937a4efbbb2aaddad6109342a942287b96ee4a5746b615f99061
MD5 d37a5ff7a8e3e3b56ab52cf112c39f4f
BLAKE2b-256 734b2bdc44bee7b8f1d068327770abfeb444b56ce8b9332967d6a15120563749

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 80fbbffacb95a97b245408f95becf40f252e82f00249c82ca7a81a1f7a2a0559
MD5 dbaf35fc49a2a2e0ee72cd46576749b1
BLAKE2b-256 a2e48159dc77459d7a05a974af94b42b769904639dfdbbe2e01c7b48d6276803

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 385f229d628bb2608c564e052db4d957e88bc11327571d6964f6cb8fb966c29d
MD5 81ad75bc397e607769bb1398001cc01c
BLAKE2b-256 5d5dd3b135458a64f0a6ad6a4d8b558971cbe04365a73c21f34e5665c981cc5b

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