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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.3-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.3-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.3-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.3-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.3-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.3-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.3-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.3-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.3-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.3-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.3-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.3-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.3-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.3-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.3-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.3-cp310-cp310-macosx_13_0_x86_64.whl (187.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1986fdeb19862e96f9ea54c10182d5d003525ff79e0e7d6cbd86a45d8a2780b0
MD5 b08028def7d066d468ac783845fe00bb
BLAKE2b-256 6686b9f2ca9221543ec16cecbacd1dd7e2704e6572185fd88cb870e7b83eaf52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b22ab61483c4577731bcda0b6937d750d28a43ba8e59c8d73335e52d5b425329
MD5 9fed466c91280a42727227859cb439d8
BLAKE2b-256 e404dec54562f05283f4481802b2d837e182ca23a820a6b0510d9f9cc8885220

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2eb8b484208ba4fce7606327a6c6d31c959c2c81b2f9cb1b41edaca51c218cba
MD5 d4b6184925053b9ae24066f108aee201
BLAKE2b-256 7f9c31fdb036100a9fccc1cc7751071e56dc657ce19131234b6eda9a54dc93dc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.3-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.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ec3098ad8fc1a47b45b3421ac28e5fe0a0ad8b8196bfa7f28ace4affb845b70
MD5 cb7dd45ba02bce56d5b4e4f797d0e6e9
BLAKE2b-256 f1202d0a677a7eb90f797d77f8cf03c649fc0317561c96a57f7fe6609ca91ded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 54a47f136a3f620dfea53abda538da6a0ddecdfd6a6ec9e04b31e00c3793bd18
MD5 821df12bcbb2d6b8886249cd7bde51f2
BLAKE2b-256 b68f5fdd1512aa8af13b902009ce0c19fdf4086f7abd50851047d4667bbf484f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a911fbba53e9e80649b350a9fb95674761762d50ef302c840841d802af8aba0b
MD5 33996217476d2cc3fdfcf4f913d9ba11
BLAKE2b-256 8c4ddd6eab87de3e4dd4c6501837a68c267dc061bfadc5b403ffc354c8ae88c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0e192b314a97ec4b80b7776b6e75d6a6f8382768a624c62c135dd656fea9c6a3
MD5 df9d4d78e1e8f60992c5d1982b603ce4
BLAKE2b-256 2fb3c5854156a95a71c655982b070062450b4ac81b844c58573603d22c9a06bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f363fb12339727d84949c77d1b2f3349d582cc4d1998f8ff86e987ba8013eb37
MD5 9cd0017f7f743ec45de8de5463c2b616
BLAKE2b-256 49783a1fc2db0686d3b77a7b1684645012c77a3bd1a7fe3815d02bde9e765494

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e537bde4e85070cc7890a669f0f7d9e15ac521707bfcad44d4099c62e0e5553f
MD5 ce0f58c14f6aef1cb1ebcfeef0b097e6
BLAKE2b-256 470a99b403b32ed8aff77b3460d8ccebc9a1f1c19959ba3e4285a7898f040744

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.3-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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4fb725a273c1debf8eb4a7c92d342ed504aca615868a79a7515c694ae332a5ab
MD5 f6679663536715bf1b84690e6306d8cb
BLAKE2b-256 13c3943065f107f7f8d64253e2f0b2b89758da906e2bb2ecca1d463e9f79fe77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4625b8b4037fd0fa46040eef0f8aa819876bb0c70038cf197815faebaedd33e8
MD5 6d74f28550854a24ef4572e0f5f384aa
BLAKE2b-256 86838a4f6c91c29440792ead604d331b4587e95aa507b2cc3acc6752844f265b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 13ba41aa8b4df8e8dc8dc7403d861dfe30aea69a83731398cf7a1cdb89137511
MD5 3ce0a196ae3e672df08ac9caa22f8019
BLAKE2b-256 e8631cdace1a924d6655255c534f8d7b81a0e48532589a6c5b009c6c18e92e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 afc882c8ede19a453e60ed78a8512897cd1632e35f83fbdc960c7be921c42c8c
MD5 b581e2d4d78d326bd1f0de08c8094f0f
BLAKE2b-256 b0cb83b0b55ed060107238cf8413acec448eb795494beb7ed97908a1d0f4e5c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5872274fa31206ba4ed5bccf9059b01d6ae7a1294518e799250eb886dadfdedb
MD5 670392ce42fe0603377fc4505a6b4ea6
BLAKE2b-256 bb3ca5255ff15289cb64bac65021603146bbee15e13a63d708b88e6400ca3574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c0f9c1f864dec589c7474de82946e0e22c271b1e09e7771c82951ec0190d180a
MD5 c7baccc81ba9807c79303c6586f2100c
BLAKE2b-256 8ef8aa36f6c59a2817a8ab05167264020d6369d7b5f08ae2f9854a01f2b7915a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0c2dd71c982af14ccc476683fc30672c0f35d19c0543ec89a6c73114d0e6d27
MD5 e2dea745df143d87e233820698ddc9b2
BLAKE2b-256 02fc02a23b284070a18206d615266b8479396e29034069943f4c8a6b2d0bb7e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 047615656115441ef95932f4cba80b3d74096c7b2d5634a7b9b4604b3dfb0231
MD5 71248b7506c455363e7293e2d3f2ec94
BLAKE2b-256 11fd525bbdf34304c474b48e358a4ea2052e38e3fc4a09bcde7add042c88cfa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9604373f8068840e2dd4c8dba737f94b3be6aa6fb6e6d80cbae43461ec4406ec
MD5 9e8d2687fad14996c370758d0bc29fe4
BLAKE2b-256 f7c3c14d1ed884c3e31502eb08405831aeafad6230f44483026296d90d529388

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 803463b97fc8ea68843f3142c538df17de19e37d6f6a4f43600afc2a2d54444d
MD5 51ddf5b2b56dee3909e1173662655408
BLAKE2b-256 df1035af2d827f4be01639993da7c9dfb5889d65ad5e2431286feadd78b0564d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fc33d3f35a4c109f7b5b1f86eaf069091a117027c9e23aa9e60f816491022465
MD5 a328e8463164e45839fbdfe55ba65215
BLAKE2b-256 de099409f2b894dae7d2e833511e8e08c8e9264827b202535bdcdf84025080af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 23f22619c885d36edd27171e66e21d88f393ca15826469422c4a42ac3ca3e76d
MD5 51e3987ade1cfca8712e0e05eee08d9b
BLAKE2b-256 40cec5081215bca0c4ed279cdf02c44fa19a3499e444cea753f69efcd2709179

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.3-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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d7a6677289fa277bbd487a29988fb5209ea5c555d8717cfd9b8a2a6c99e6e71
MD5 435b06b607c65364838ab4f9d2b872b4
BLAKE2b-256 19b80fd92c61c4fac3d405416c79efa32ef49e232f9a202809c50ecaf3c1991c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d38311f8e29e9762345083927671488e2dfe02f0c31842fe6861561fb8717e60
MD5 ad05a15f70d23a9a58bf24e86e980d6e
BLAKE2b-256 c8d2d50aae1a476d8b8ac3f8a7558cd8fa511ae5321f9a2748c344c697362884

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1e21437f2c90b9f0bc6a6cae801b229a02ddc60933b0c706994c73abd8cb7b43
MD5 e8348eef7c9e0403002460501fcee766
BLAKE2b-256 89b2afc5fd5b5ba7c8d3a616cc9bb1c9a19f80ab195559421f09a8dd291efa3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1eeece71d94155dbe05ffeca29052a35c60058bbb004c82acc241f871cd8d2ca
MD5 736e31a29e82083b1629a84b67d23d0c
BLAKE2b-256 70b9938d646bcdd98af36be7da589401f370b9eae8a48ad0944a66b9778eaa2c

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