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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.1a3-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.8.1a3-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a3-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.8.1a3-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.8.1a3-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.8.1a3-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.1a3-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.8.1a3-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a3-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.8.1a3-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.8.1a3-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.1a3.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.1a3.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.8.1a3.tar.gz
Algorithm Hash digest
SHA256 6bcb2ba3ec5e69f1b589a259dbc24ede80f3cee5c201e418daa2762e01ae63d2
MD5 0908391d6b21984f0001a4b0d34c7e53
BLAKE2b-256 1a57a764f066f52b21089e0a785fda20231c6d7b8d8272d693f2cffc49947ba4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 37d734b4083d9f2230d7e6790bcd9a72913a9f6eb8d2553baa5999b71ac0912f
MD5 eda43fdcba6bec02d8ea7c0ed695404e
BLAKE2b-256 187487678cdebc53436ee80a19459a1a8c08e8098b11fe85140db8410596b73a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 04f41479fa41f272345be7caa1ee474d22924fbda6f6f298268d2e12179c9e96
MD5 0786032349263ec2c4a8b1d3d5156c98
BLAKE2b-256 85d5f466524759583793522d84e6747f158d04221b286d7f7990499facb1b1b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 173fbef8460411d4fae095a7e7909aabafd4fd77ac6b8980350333a2a11adc54
MD5 59d6c81f94ffb2933d3a62789bc622a9
BLAKE2b-256 010bf2bf87a6d452bb12a151c7714859f82896c0ebe68db5ca3b1519c7a368a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6a480f64e28046ecfe1f36f099ab8da71e17bac6e7c33f38710bed4e2475eab5
MD5 94425d4a8f47c13d88d8f8c812936d08
BLAKE2b-256 870bba6ccb32427ee8c5f1578428736be9ce33adcc3bbeb7e0cf330d0409e990

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a878118d46efbd871b020ea6da26b37010cdc29554e54526daa36834ea8ef7e7
MD5 69b5e5d21b17485e966a62eff65644c3
BLAKE2b-256 2c20f3c724837c536f5b41cdb7dfb4af6736df984d78ec950c79b721b6ded89b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 84ca55766ec09b0ed15c4dcc3a08e5a312b951ec1c1bead6e58b12372881d8fe
MD5 a1f5ebb9f949710aec4f7e2cef81dafd
BLAKE2b-256 4e154bb82a2f86bff638e4fcc5f6fb71e2c6f159760541fccad057aa2dedb892

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 404f3db2f18e3ecbedb96deae28f80289ffe83ebf9046bf570adf3ea51660013
MD5 6388ab4476c9b9e26c6c72feb89fce62
BLAKE2b-256 a96a795e6c8f825436e4321e9f81bfe7a3ed93a58fcfdf9bc0412d608881ee55

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3ab51fc850b71d70978196f1ee517da7b88c796785d84733c2660bac68b9dda7
MD5 460af136319f5caa3c0039e2886da893
BLAKE2b-256 d987ffa5c03bc5d876fe38c4c34c2ce585406caab1f955a5ec83f067bf14a35e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b06450e47c3541a897bd5e5b70ddf7b345f7c793553b8a45ce985f06ab7d217e
MD5 ffd5708f108af97e22278a2a5c6ad395
BLAKE2b-256 cdbfb686959af1b1cc175fd936dc3d05cbb328e99ca3532915f0a0ad78fadd66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf7b46efb9a5a9ca93f97c15d666571a376f3b866db27b7cbedbf0f2f09fd813
MD5 d3b69407156482fd3e466b18a35836e5
BLAKE2b-256 1b7137afdada4d78bdbece23663dcb359b7747bd4efd4e54c36b857bede5c6e8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5e9a749e3934cb89ed4e982b46262135174d866c70cfecce036920d8fc27acaa
MD5 8ce0d3a505022fc36f72fec62ed938b0
BLAKE2b-256 c577f1bd19b42e7075559134bf7ddb6f0da8c7c5563c695386d063884926d2b1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fe377668426332888b6521b7568c61cac14b2ddfd6bc6d61cf5a35f258917139
MD5 cdf20643af69a56298ba2ff23542a725
BLAKE2b-256 25dc579bb6354654eca895149610c9419665f2b9eac9c036e669cd09e8c4d5fd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aac0d61dacee75aa13f253011e5ac43be3623334fa5c77c1449f3a975e9bd146
MD5 3a989458e86339c8a51ea4bc466173d4
BLAKE2b-256 c7c0d0454571fcb36141b410ecf5f68a21d83c1ef5857865890f971fb40d6f05

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ae5871f9b09391310f3d8a541eea24932210a9257220faebb9856f2b3f15fa66
MD5 1f9930651174232f07253224ae63951e
BLAKE2b-256 d99461cca7df72d5d27ba834e81a9fa5aafede1c41983b964a9d5ae808e67245

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37300f36aaf939d8ebcd87e3320a367a3b2d67c269c4ed3e7a8b99986c3e5c73
MD5 6966f3b95a4934519ca93354886a4f00
BLAKE2b-256 95e7af752f3b8d026d0fd68c124604ea1bc3cd4fc7f7c9fca68d0d88c7942ed6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 457b3b798cb15cfb434139a617af6a448018d77bb07df37e72e74a883b1b4d19
MD5 5b35218b2d162da15c94191e4cfe608a
BLAKE2b-256 fcca6019e4036fc76642bc71fa033b1d5ca2c8b7ff6aadb8c291e806673196cc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7cc8ea368348f9ccba01f9fccdd8ca68d34150ee28e9d74560636a906fdc341b
MD5 b94e85615f1c0d93e473b4abe447c339
BLAKE2b-256 e008411099feb0e362377586829270d3d931a1a51b1efd7ba2d842007a78dc83

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1a3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7570725e289a65a61f02052a22ae97ce8b0c57c7651067c38ad3e3272fe1cb2d
MD5 dcfe960a395d36effa0b229dd1aa759e
BLAKE2b-256 4ae46fef6ad398986c757627c97b47a7bf6d670aebcfa57b1e9efe68c1d7ebf2

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