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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.45-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.45-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.45-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.45-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.45-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.6.45-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.6.45-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.45-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.45-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.45-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.45-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.45-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.45-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.45-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.45-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.45-cp310-cp310-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.45-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.45.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.6.45.tar.gz
Algorithm Hash digest
SHA256 c3ce66be425e0188c47eb09acb5a286774f4ff800d509ceb0a912b2889b20c41
MD5 57fbe7ac53090a43d248bb15b1928a87
BLAKE2b-256 bf8981a1b62eea323299755b25738e764a54c8243561e5eadb81e55852d8e34d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b0fdffa8660ab2a67d37f794ad16effb7ae982fdc55534fa3bdf442d8e570fff
MD5 7d84c16bd2f0a515fc70dba4f9b12fd1
BLAKE2b-256 5546f5f3f7557105787bb36e4a002673518a6e6a01051339e3f9f87c566aa1e4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5c539ecc5ab2157fb651877270474d638d3ad6e755a5e95bedacf8ff4255004a
MD5 5e2060e9327eb5e73c13d95b00216e23
BLAKE2b-256 d3257692f161121eec5aba05c5d13f2e4092d75dacfc951ed14c248882e4ae1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c94813946952305f5440184db6c5a12d794ce91b00156cd2375f27253490d7a9
MD5 6d8ccfe5ef0c0cd449e9bcc2b9f7d7a8
BLAKE2b-256 6da9444c205cf984d34340acdc2b54b2fb01397db260695251d61f8882d7532b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 93fbbaee3e1128e3a36f2390ecd15d7d5114dd9a4795c4373cb7db4402c3f777
MD5 d2a402099d55cf3dd475384edfc9585d
BLAKE2b-256 91d2198f693c03aeee6961e26df39736bc52b83108abb83e7dcec5b38e233d6b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 243218c5beeb5ba708d18e9514773accbf388f546c07f7e5c953ad4eca865143
MD5 84e83b3aed26a7280b82098df0a14d48
BLAKE2b-256 7147c2cc022b4d75e9833fc1c35a961982245ead2ddc2d67fd34fd7c8cd3756a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 04588dc1f0bdc2f28816f34d0fba1149e3df3c4058b912be9aa4918840160b54
MD5 eef91253f3f461ad872d2fbcff367fad
BLAKE2b-256 3ac08aa3a79b7fa4880d320ee5800370e123d1bd4c39d6544ec9d7a66fc864fb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2eaf6c3562f41f7273eb1417e43808dba768ca1d10b02631960dbfeeb20e3789
MD5 7a616d93b6b1fa2d0011705254c17317
BLAKE2b-256 9bee165cb3709cf91952b986725f5fa059af393f3f6b5e2b02c998c4b838724f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 64d9e5420791ade7461b9bf2a9bd5f2f355e2a5ab1de38699a930b143ea3fc56
MD5 426885e6a88094afe9810bd744c9a17b
BLAKE2b-256 09c23a83262f20ae4d4b5c903f7f547f3088e46a58e5ba9fbdff3ccad8c53968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3a540173ee28dec882bc0779c4206faa29d582f81a4022a90df0f909394bfbb
MD5 f84154db729062c2b2130938411188b5
BLAKE2b-256 8624ea0a3cd5215b1b5121bbde8954e59c147c63faa46d16a8189a0b1de5e53d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4c75af103bbac92ed0077200cf2a1b3c00b40f6962d198cb36c72fdbff9e1a26
MD5 6674a9d2e81ffe5efa7d42ad086236e7
BLAKE2b-256 18b3cd3231d989523de247d2d752b5e2cf6ef4717f3dc9332bcdac174634cebb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 606340fe3aa0e6aa3a6bfb4a6507e6ddb0faae70b8dc33b412a07f72d27fa3bc
MD5 a9a9a1714f7484435fd2c07196dadc2b
BLAKE2b-256 a4b4e8657bd36a7a62063a9908ac0ccbc1b68ec15c2c5afea94bade0bb8387e4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 19d181c0f2f1967cf8a96b8621686692e3cb8d86cd806b96d4f34a80d3ff4c17
MD5 4db5d7e63bfd4a518657ef61680780ec
BLAKE2b-256 752f232f9464b0a0a9a0cf4b66225dc421b92e339230e86504211a9122fbf290

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae460ca1ad12f1870188f56dbf08d427371ae85d8fafcf77e4ddf0a092c224f3
MD5 7896047dde8d3791ceebf5e8d6ca2700
BLAKE2b-256 928d4556af714d78bbcbac7873dd38aca5dd3bb4945adfa17657be259540c5a6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 576cce3180d8765af6f61e29c0d3f6a3659e8bf40a3f0d6a946f79988a66e143
MD5 46e62b79e27ff51d97f4db72ccd0bc19
BLAKE2b-256 dfcfa95293a2440672c5329c1e12fbc1a3b574004809d897383e6a7de9ae7c96

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1db22684f705c68c8036dd3361a251d2a91a5f1d2ad028eb0d9bcc1df27ed8e
MD5 20d106d515f79b62fa5d50bdcc51ee65
BLAKE2b-256 9be53b95a42161849158fab9425cdfb81e08f645a552ffeb2e6e97f6ad9df6f1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 85f039b1d81f2b7f815e80c574faeb39626a8c43c1918cf0dd5feecba10e2c65
MD5 8de7986a4cb86bd418cd0d5195228ddd
BLAKE2b-256 80ed1c31e9a5fa2def1d71b864ccb072e5d0f75c90d5502ea7a719efff86eb97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b33adb023d5d3d169f5f124835333bcbcbef2b7a6ee33239ac4eb873ec3a566e
MD5 e0929fa7419a3f0ed9bf69512ea6cfd3
BLAKE2b-256 bc627bbcf4ecd85591bd361f6acd9d31d3771cff7aecd42bca2acf7c3529c1eb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1a5cb5a96813f88e0e272f43711d99b3023395fc84b4e0b203b1926d96a38f43
MD5 e8578ff77da1dc96aa94d625476735ad
BLAKE2b-256 9fb2947d7bb5f5dec352ff943d076afaedf13abe2aa2b06120f9d7b25d627461

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fa5847effa5fd952b64654282569a8837fecb90e5f08b237fd54edcbf87066d5
MD5 984a3bf7de48b535c1ecb20b3ed9b8f0
BLAKE2b-256 0225aaeb10967127d03ec33af961c952fb3b3137e0d4850a9a0e2a4412f77c09

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f9aa67542b2165dfa21a5dd134b0f397da915c7843786ce134d4dad8407df460
MD5 3408794fbb5d2689a3a414e53e2dedbe
BLAKE2b-256 fce954393dc461b6f6610381f315134c0823d0fedd86a50421d96f22480700a3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f340d6e9dd4d30c1d509c332d7edca30c8ada7ecc3281f5813f53f0ecab01f6a
MD5 c5504f16a4b82521884862778433ffec
BLAKE2b-256 5d9bee49f11395c4d929b0a4cccea043c73a1f1fd2b2c2ef1d57c8c6f08bb874

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a2288f486978f6f28d4a5ee0534b2d7f6472c153072964a30abbbe46afd9b1ed
MD5 6bb3d64e6f5880c70aa06675f7b19400
BLAKE2b-256 50be4736d6e1f63992e28c42a206ed411a0774c165ee88c8bb45bb40e056336f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a8fc2caea638f9cc62f340368c3ca6aada2b4b289d057ade55743f551fe2f9c
MD5 89f1192bb2f229c99925098c6514674d
BLAKE2b-256 e412250bddbfe162c92e687e3438e857975d2d9f59f432e767add65e5a48ae05

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.45-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.45-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5e5cec13a1bfdc280fbcb5f4696708ae63249bbcd292acec498f2420cda54c28
MD5 d283efa2d3cc2eb437b6ba65f2258835
BLAKE2b-256 7ca99f22d2809a93959cb761761c80f11705628fd359b87f0eaa588f3d7463ab

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