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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.39-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.39-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.39-cp314-cp314t-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.39-cp314-cp314t-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.39-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.39-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.39-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.39-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.39-cp312-abi3-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.39-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.39-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.39-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.39-cp311-cp311-macosx_13_0_x86_64.whl (234.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.39-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.39-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.39-cp310-cp310-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.39-cp310-cp310-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.39.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.39.tar.gz
Algorithm Hash digest
SHA256 cbae2fd51901a64de4b5398115be92147dfd41213bc7ac32caeb68c0aad3df8b
MD5 813fafe57e0d7b184f016010dcddd9e8
BLAKE2b-256 24d9bfa60b491948a64e35460e359880b8365351b0d63f2562bfe8f2c4dfb769

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69409b65ed42efbfe693a45f699bae7eb2846f9fe3fa85800432a2e95698a4ab
MD5 0c70772c535b4aed8bab7daa3c9c0052
BLAKE2b-256 9d01319b0f53a2e3b2d136d72eb6651856710244762a5b0c1842a428be906678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d19201f5e70cd5f11dd911ad5e80786aff1657729b38578a0cc0362c6b1bc6c3
MD5 f5380f4e22889ecaf44826949d944519
BLAKE2b-256 98871c6aee2931b0164e732f651caf88481a79110bbc56aa1b106cc0505bce92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0742c8aa9ea9d20c45a90be51ca537b666d9285fa84a6aee091542771259dce
MD5 2c3c43c23e8d0b5367de2adec9072539
BLAKE2b-256 c5e04622abeb05151caeadf500a335ffd2a440edc748bdf3b641f2a231e63e7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6c917af0d67596b72c3ce36313dac04b7087923692f992998047449e2247dd3f
MD5 041f5e1d4644629112646f41c1d8d444
BLAKE2b-256 c2fdf3707c53f7d83e0bb9eb6471da9510eeedb4caabb07f6ed6980719814d62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24086078b222e3ed33a3fc4f98fea0209f54cfa6dbdfe3ec0bdaa1dbe20e586d
MD5 a5ed317d2754e7cd0f282d8182a047f8
BLAKE2b-256 22c44bed6ea6457294bd603aa51e11b040f04597fb8c34ec06baf3ce1a14d6fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1239bf3ece5de665d208131f39e907d20935c2c8762b890b8678ededf93c8457
MD5 7b1227ee9cabfb0bc0329b329e981f89
BLAKE2b-256 1bc66e984f08dd3c9c36a2ae52241fc016ad238762a1221d2ea4a4f546bc81dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f2bd6c58b2f02fe2ed91e660e3c83e3aa9e07f6f4c80ecf72c46ad527f57ef09
MD5 78794c3f6730ea410fa0dc5bc31e2f65
BLAKE2b-256 0e77bc43e3b93337d64425a8d31d7b7601d4502c366535c8828de93425fb4d30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d1e5d86da02c8b9d95a8246e7c0371ab1f9fdf7d39d1ddaa3da7c2be09ebdf86
MD5 9863220ed3f19b1e3ad60e7c8ccec4d7
BLAKE2b-256 e57563ad4648e51833980577794255bd15e206f7b165b7132c7360610ea8ee61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af75ba6143a52e1def942a7d517215a622f7c62f1296e941538d37243ee0ebcb
MD5 4377329ad6bc611f402cd3df1d5124e4
BLAKE2b-256 a8deb6fd5a0826205ec621e8a73e043185bfa454f3fc75cf1b91f4351931ca50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 61c482937bfd8273620da2cebef50aa1d7722c54ca242c96e2b50396eb4cca77
MD5 5ea258296c4144e037a23bfb5049a121
BLAKE2b-256 28542b2b72439831ab9ebe47e22b1fe338bc4193d3a5427c0e84f2f0f869018e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0193f903a8f27eaf39d234eff5fe13771e2e933a9b6e91e7572d0ae40d117a7e
MD5 d5b2d5afe0cc7d935c078d4974cb1968
BLAKE2b-256 a422085b3e9e50dc07063b607a14dd69f497143d5bc08280139ba61b7a046556

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3b5027528df8cdc49df8d07437ac3aaf6c065e05772fa63726c977c679cd6203
MD5 e2e3ddd723420cd2b88dd8a77006717b
BLAKE2b-256 8405f0fb7cb7bf024c5c35707e60a506674b4f7ddb4abfed719ce2702ad53638

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b3817c67b72e6491880c3d6af7cf852de45b319b1ca364163c553b40c99e3af8
MD5 b19fef255bbaf38ab4eaed59efd32601
BLAKE2b-256 d66a082ebc7a4607ae04f22e5d3715bec3b1c14f22c63d9d890443eed220f58f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a9307959f2e3605456b9487738e349b5244a6dc236f6eaf1e5aaa71c9c0f4802
MD5 1a88a5978c67c3109769d6a57763d64d
BLAKE2b-256 7a49928235d8459a08e2a5075943f7305bf0628c920114459cddde0635207cac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a459721e78decddfe0ed6d16d051b9beb0ea94e7d99da566beaa8eb2851b29e5
MD5 7bd34cb1e91f33194a289b12dd47345a
BLAKE2b-256 80996914b4d1f16e4d7e4b1fcc0448bc4665d7c74b4a1f6b245a3c3e58997531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f0f8ed93fad5b0900227dc3c466d2a84edf918a44da667ae0e49b52a6d885b11
MD5 52224daa7d1da15ff789401d858faf21
BLAKE2b-256 bff9f973c3171e1a5ff409e8adbe91d74f89e542a8a0f23e2ac59cdd0e16ea12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b03a34ebdf31203d98c3c500146ead374dd8e9561f020a8e5b5cddc7f769ccc
MD5 4ca621408bafce9d04027d2dd12774b8
BLAKE2b-256 ea75f767f095c733194ffcef0be252fc6a2d15b1cd6c2d28a3fcb519c87bf27a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b02c0130b9618f07e77fb891673300b8ea92aefa16c12b93dc41c1cc45d73423
MD5 20ccfbb649dd5baa733c5b9d5802fde3
BLAKE2b-256 246c3404633c757a6ff22c38c23738c7ce382b76ff392f154432ee77bbba243c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e489c74b008debcbd1c00567396c7e8962164e087f154d8ff7d804c09e4fe0c4
MD5 381dabf414796708ae75d14919b01e04
BLAKE2b-256 6f310d1f6f9f96e0080a49558abe8edfebada6b675dbcff45d480a654b009207

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c89274d3a76f6acff0a5778d38bb3274fed16faa569a5369c639dc1db3a43cdd
MD5 39d50eb9460f584261dd5968586de52d
BLAKE2b-256 eb453b8b3d5917ddff465457664062f023fecfcd4779504ad592d915a4c57adc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 50ea4b9562a7120043a0a0cd4b22dbe3b5bda048d39c82ac9b227914c0a34f81
MD5 0ea5316eb60c5efe8ef09792b1e7cc28
BLAKE2b-256 7e2c0b8e845ff19a4f93e2ebcd641eebe4d64d8624915a9fd8b4ffd2e1a98520

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d6b2c8082efba60202e758365484cc9c6e71acaa112719da046e93f04bfb9be9
MD5 b744d1a6189472810e612b7895037be4
BLAKE2b-256 282470c8919b4669ba05f99e525e05edc81d90b9d7d58c8aa9451d774318e588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fb35e1325c0633594193820c735f5caef53027512d6791bd2d99e386d6b3b453
MD5 ac679422c68d2e8d7524d5a073b0eea2
BLAKE2b-256 42b165b3f5554108c594047cb07377e9c64d741aa2b2d0735252311fa4779eab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.39-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4ca601df75fef991244c500eb2c21c79ca645fa43446be6fc431b93980eb8e8e
MD5 979648704b848f65908c21dd2473718d
BLAKE2b-256 4c4f57411b1350190b13c3ab820cc47baf1255e7cbd9334ad801d71fa8fd07ab

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