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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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.5.30.tar.gz (4.3 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.5.30-cp313-cp313-musllinux_1_2_i686.whl (27.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.30-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.30-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.30-cp313-cp313-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.5.30-cp312-cp312-musllinux_1_2_i686.whl (31.4 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.30-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.30-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.30-cp312-cp312-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.5.30-cp311-cp311-musllinux_1_2_i686.whl (30.6 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.30-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.30-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.5.30-cp310-cp310-musllinux_1_2_i686.whl (29.7 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.30-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.5.30-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.30-cp310-cp310-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.5.30-cp39-cp39-musllinux_1_2_i686.whl (29.5 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.30-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.30-cp39-cp39-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.30-cp39-cp39-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.5.30.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.30.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.5.30.tar.gz
Algorithm Hash digest
SHA256 4c868592a302ce5468cd9756ecc2f02d0b8000ac94e69c155b6d833f0eacedf4
MD5 f5efdb7ef73b08442a89c91c7c0b1353
BLAKE2b-256 46f6e1ec2b9d3d847367079842292bb655ab5039907f341413f6b82cd3ddfe0f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 938d01f960009f58170d12cdc5d03fae560c365c416260932e10d44dba5d1a22
MD5 44a86797517cd511cf1292a8fe773345
BLAKE2b-256 94f19d82700b3812aa3ff9d2121c67fa6399472da1c735a6e85919cce5206742

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 da0a205f976f1ff0785e74d1796eb3f71a611636fc199801d2e739f7c82b9cde
MD5 29b914f75c8c8beb2047c60c8333b5b1
BLAKE2b-256 cc8d244bb29408879a30c789963efd112f62265c6af084d15f92a185cadd6a89

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c1016f0389b93931bc2df1073c78a3570f94f53d6e2ae4a6f2b82a51e277c28d
MD5 332d9f3d8e6eed44786278cbc8bdb6bf
BLAKE2b-256 9df34984dc771cc68ba9762da8d406a3f22273c0f86707f5e004eaa815d1292d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f74783d8882a1ecf44e9b792d784c4be3d5feb32b252b3b87b18003eaf15cc8
MD5 150ae8535c619bda872ff366b4dd7510
BLAKE2b-256 1163ba7f9f41605c68bbbc88ced4cfa2576290a10c8073d250ba58a9ce2cdc47

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 fe8209b87dacb3599f17102c67280e50c268024775da0448e877061eac234f63
MD5 e9cc40c99b839a4638b978fb34093442
BLAKE2b-256 9c9b30ee06ad7ac40922622393d1b41e7fbb92e62345b3e4c80841c7fe0e1a6f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d4b398cbef884ba73d7cf27a92910d83f8cdf6e3cde9bde7e1b529719504154b
MD5 ac418d032037164ce45873aec43dbe63
BLAKE2b-256 9f1b50525765f320e7357b94deb8711da3d4796c5b58d2b76157c9e17837b59e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e17b8360b8ee325c894b824d5779422082b733c3768c6c3dbcf536fefcf66001
MD5 bcd72d4cbe6ddcfb7711ccc649e85739
BLAKE2b-256 75132e5ecb43cfc513070bce5ca243d811839d33d5f75d728cafb6aa721b1414

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af47c90e0949462c73006296f9102a0dcc2e25e22007358ca44ec16d000e9e07
MD5 56ded6d580b6545cbb116fd1e44c5e18
BLAKE2b-256 c65d0788d810facb17f6118715d6fea8cc93113389f25b28239654e9973dd0a4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 75e87d2839b1ffe5935f28a332f4322a2519b1e7b90368ab26e46386e5ac966b
MD5 35d7ff284bfe95846ba85586e56251c0
BLAKE2b-256 ace359cc2aa8682f4017ad3dd579c8b1fa6a26966c7a56115fec11ecf1552c32

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6fcfcd12f40acd3fe09a9fde2b45a55ce3db5136853e4b99a1321fa8f09d430
MD5 19f31f996cf13d6bcd1e7d4804775747
BLAKE2b-256 76e6c5595fa6d997ef95ebba4fd5e553fd8dc711d6b2e57681dec1f7c969ed49

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37ace24befba7752d175252e301817d0249002fa588945ab658a3758b0d4dfdc
MD5 abc3de484a60cc462edf8a47d12d8387
BLAKE2b-256 a8cbdfcc96c2b0d2f3aa5fea5693c7340a136cab5b735a70ee79146d04b3b9db

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 13585001719b1f149e26d0529bfe667dd4d10afae4af772a22ad15e2d33c204a
MD5 c38b42b43f028b4594891e7ff3aefc72
BLAKE2b-256 5ed14a86cf9c8426df318fe527d7557b7c2ce800bc79066969e1c68737db5b5c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d024a15a8a30aa2b198e1d07e43e8827b24965cbd64eef11b3e583a50520e7fc
MD5 1c37b45e49a384ebf21e9bd61d0634b3
BLAKE2b-256 ceea95f334ee9ab22ba386f3cf5340ec34cfc5dd7bac348492cf3544e2f86bac

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3008cfd648f71128cbffb9b291e00493f7371432e3a543e445acc867631a675
MD5 69e1c62600aa8ca2caceac9eee1cb501
BLAKE2b-256 d643725cb28f81a80926b38198e105d9f0a27d043d8fb41beade3d882d9833be

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5bf62117cf83c474859a6f5d481e08e8fb30df8532e8aed291ee183e63a11de0
MD5 fcd48f5ab4d69364dab4f9975964f147
BLAKE2b-256 7c44247033ed3a48e0963827de29afd10276c29a7225e96f8a884171bac5b746

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1bc3d625bedadd88ab428e2ef29cb1a253e3a8e8c82385cc8595beedf840fc2f
MD5 c3c73359c3efccb895aca35b3d2b8b7e
BLAKE2b-256 69f252254b8c121c86a24e03c151189619c27c64943aa17b2ed303fa633c8eab

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 834ad5f358ea663a03997360711037e8859768cdffd99eb758cad1d94a30eabc
MD5 171238908d499fbbee66956e35f123b9
BLAKE2b-256 6c336730b57613835f0b7023629aca9027e0f729e218580edc24410f80ad69a4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dda2323211a6137600ff3057bf5eefcee550a1358745f370600daff22273508c
MD5 1e9f7c74f5b2ac6798e1a0755c5b18f9
BLAKE2b-256 9068af80c6f7d62e4af411050b02d8b02cbb3511e865d76ecd22abb409f3025f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 420461317cae9bc2b2ba41f5b5a7856267252ec9a7e96f749ce0823a2db4c67e
MD5 6693300ef2583e46ad107af4ef4a0d28
BLAKE2b-256 696787989b459c7503961df96d9d866a388da04a4c2f01dc1358ead5ecb08ea6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.30-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.30-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 94bf3fe4a665c53929cea3e3793a511c579aad834bcf541bef3f5afef91ecdc1
MD5 143f56b5b737b160138a0beedb0acf45
BLAKE2b-256 c3f99e7394c78adcfe2a8bb463b93cb27ba276eddcece6947883eb2557edc079

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