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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

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.2.tar.gz (4.5 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.2-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.2-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_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.6.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.2-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.2-cp313-cp313-macosx_13_0_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_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.6.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.2-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.2-cp312-cp312-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_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.6.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.2-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.2-cp311-cp311-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_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.6.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.2-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.2-cp310-cp310-macosx_13_0_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.2.tar.gz
  • Upload date:
  • Size: 4.5 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.6.2.tar.gz
Algorithm Hash digest
SHA256 62e15c71401ee95263a212b4c02b425aa0bbf8422f7b98909ad5d75c6ace90b1
MD5 a42108120aba08b4825916386987ebc8
BLAKE2b-256 602c60284fc74fce7abdc538683c6a8e248ae3ddda74a62e85b5bb0ef440f2c1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9fb8a88c3c8417a4662db9fe69c3c0776478f65350988fbfe8179531fb781a50
MD5 a08ac1ea16b6446821a3e81b771a4f71
BLAKE2b-256 cc152239f1328e9bb3a49672df917a026d29f6c9f441de44d355d10eecdc2da5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4b02d5501ddb193e77ab9d4e820083a4de1de57b00a5116d50fe5662ea1a42cf
MD5 21d49402600eff19b918a8e8e9f6f664
BLAKE2b-256 1d89ef08f786206bc11ed1d6363468e0c3c972161331e4034508c79774701062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c7d6c662bd2a5f93bd47855f4a49ceff93c23a0e50d2301f4102b2213326534
MD5 e19f25b9b1d9e02ec976aed888746243
BLAKE2b-256 55a3ee3b3c31586c4ce6876e59503388468da5383e4fe7cb5323f92a13c4beb0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ce9cfc89fd447eb967c31697d08bd77a8708e772d0cc3b9ba212aee8395533b9
MD5 bb372354ee185fde2f0d9d92a0f1056c
BLAKE2b-256 dfc3896265c748fbb9d45897cda6a9b259ee23357ce6b16014eff1afe5617956

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e81ac7cd2ce6884f5d15eeb920b209f15722f1ec2f697dc4fef952fff3d0a638
MD5 05705324cb9214c0306a9b72a05d35e8
BLAKE2b-256 eb2ab484006d04e1b01d11789f820852371ff2e97aa6c03bfe6ead5cbc38efab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e481ba3eaedb717632f55154d03903ba1394b31cf9dbfd6b45d54787d3fbb3bc
MD5 0f6a2d365c48075ef7be39891ad0b7ab
BLAKE2b-256 55776f9fd2cfbed678dcc91e65ff0aa0685b3333d7c6058a5a9e91fd0d4c9d80

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 996d3ed4214e5fdbe4d1f6388141f91a2e373ee98fe83e83685607b85b2f37d1
MD5 8cfd6ebc11734a955db612d77b33a492
BLAKE2b-256 a095a40585a33fde4b067a69d5a13d5094d6285fb205b2d57959bf3455a60e57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4322747717015f945fae0aa136cf5c429a15c105757cd95a21939715acb45226
MD5 b4a41aa2d29ff1d9ca263eddaecf9550
BLAKE2b-256 4ec335da223caf041cbafa2e0a0219ab3f34b89c9428d2ac0db27d8aa4ee89bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 62d01b590d42c11e884b38245e0c3b4bf52d045367b1b63fca2cde3d08b55318
MD5 7f9f616e08fc08a6b4d386a306cda424
BLAKE2b-256 760bcc5f75203254ecd40fd5d7e0b9f93ab08648ed0e8fd664f3706a6910515f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5956087ed5c22d668c1cb4e305a33f14675bac80a4183cab5ad545886687205b
MD5 4bd70dadaa37272e4a3d4a0990351c14
BLAKE2b-256 4367513fc625253155a5ff7d214b2903454a9603c106996d4f4795541f9aa2e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c3ed2efaa407b9520d7f03a28d4f3c25eafeb96a7e585e4fd11849daf6cfb833
MD5 62961252e58bdbeda360cfbfb4c42b00
BLAKE2b-256 2ae166c97fbdc015d9d20a9eeafb366db0b28512cdec2ac8e901e7ec61eae523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 75b5ec81f13f9f0fdc7370188ee63625d6638690bb051e6a0633b0915abc3333
MD5 0f0812f5767f62fca3e5c1b4b9f8b09f
BLAKE2b-256 8e22d66b8b0b8b677a9a19ed4ce6c86fd59a430fc4951f5210b6e201562993e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6431ef67bdb80a6bc764c8edb8045cd86bc906ea9d1a87d844a0b58276e9c941
MD5 0c4d66e62ceb82e7e6098c0cfa517916
BLAKE2b-256 bc1d022d27269beae3b244ce4b9e85cf3c687a2bbbf76bcaf7b5e8aeb0f6e4bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ddadc21a5fb1a1c8115e521a1b9f029cfb7eb4ad9a9874c73345889ea7333283
MD5 e9291ffdc44968ebcf64d44f580e3918
BLAKE2b-256 508fc42e9748135ee19b10ce477dab06d075c15babcaa35aee187f828bfad7dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15e41ad9ec55c2b25ac0bf15d55ed426e03dc5ca56d351a4de11b70271f4a00c
MD5 13ce18aea5d5eb69ce0dd7ba6d88ad26
BLAKE2b-256 ff266631266388cbe88858fe253eeac908941792b5513ae8e93c5cf7434281f6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1102aa727aea0d390009d244290a1e73f6dd5d7445f37bccdedc9b6f1024b765
MD5 c5c8fc1007a1469f125eff2133c33922
BLAKE2b-256 a33c0737156bde24b491fd68718d0512ef43b30a3d960ae2b136c0790b5b6d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3cbacc43b7fd7203c63f6ba2ae30fd4b97cd0e9f1a5f1e9fd3f5fe4fe380e503
MD5 d4459081bfb5535707bb09f8c17d9531
BLAKE2b-256 eee2813ac3ecc8bbc5614570cbb9c7e2c15c4881c9a5b2362577f1b93b51ac2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5ca9b1804fb93f4524972a6c28d62640bca0a6cc7787a441ef432d4580406c8a
MD5 e0f3f7511b1365b19d66f8a467770be2
BLAKE2b-256 53e86b72b7b73ee0a9de1f559b96246849bf90f352cefcb939069e4ed8acd1ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b6cdf6e5a2d5a913f0d2c88f2ccee767af6b7ece03a1f81ab084056c9604b641
MD5 72746468175a6a1c8385aa669227522d
BLAKE2b-256 a5186ae25c2acf15111f35bea863f3602a8e8e21cc53e9dfa48407fc45787243

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d1fc96b6496eceec9a6313471d862d4481ecd200d48100e72db5d0b7ef0a8bf3
MD5 9945aecf5f803947bed6f069c1220c60
BLAKE2b-256 2611e83fed78cee1c2bad589b95c642656a97cabc9f97e66b13a167eafc46f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e19c9e690dda2c968e489a97a582a178c475619d7f9b2be3ee5ba8b73aba415
MD5 6b979fa05de75c7ee82cdbc399db1991
BLAKE2b-256 2d3b972b729428e092169e256209ba9c566ac22239b4e4626fa3e3b6218ab0ef

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 094f1fbd2dbd8e755edb517e4132999307e7f5c74bac8b749017a6f11b19398e
MD5 b360c1a6b007502bb2963c2ef69afd56
BLAKE2b-256 43d107048d6293e6bd6624c2885b331e8e4f8e6357dea1c33ba0c5b74b64f6ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ed2415c817b0b6b0591dad9cddce84f4563e4ad069c7c89fe27216bf0710768b
MD5 8e71335e17683468b184989d3788b615
BLAKE2b-256 df778bbd1afd16b06b32da4ee151152c581cb5d31b59c37b06f69d5867af60e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f34b5b0d6539292005be17044bc366ba75344228b57b66e65fcf8fb24c60c4ea
MD5 b21ddcad1ed53322ab16ecbfb3aea85c
BLAKE2b-256 2f86d8ac0bd9ddee6f811e7c1b65b5bb004bb5ba9b5cfd6ebfa72de886cc51fc

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