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 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.31.tar.gz (4.4 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.31-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.31-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.31-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.31-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.31-cp312-abi3-macosx_13_0_x86_64.whl (241.2 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.31-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31-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.31-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.31-cp311-cp311-macosx_13_0_x86_64.whl (240.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.31-cp311-cp311-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31-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.31-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.31-cp310-cp310-macosx_13_0_x86_64.whl (240.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.31-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.31.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.31.tar.gz
  • Upload date:
  • Size: 4.4 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.31.tar.gz
Algorithm Hash digest
SHA256 e6f7af35b073852d726a3981c2033c7ef9c8db60b3759ebc65457f24e409327b
MD5 3970a048acd8d7876de3bff65987d6ed
BLAKE2b-256 eb08bcc380e3681277f638a9b29758add4663a4ac264d7aa31016e2d287f6661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b30585fcf2a37e32c2d65eba483262bb5b6b4b8017cf63acb3cb5163e773dd7
MD5 ef5fb6491e68a717851dbffdfe4dc202
BLAKE2b-256 ad5f277e79b72aa8af4bf09b54d5f7219a1b7a0e395d6b146da19089121c991c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 32029e9c26b6e72f3b3e3b7719e0b335bd2574c2237b41e1102453ce32107e05
MD5 e70fa6aedf027e14a7b96a0d5cebf957
BLAKE2b-256 106a6a0bf6f88a52246be6967007057ab61c7c662419e4bcfc692cf2f6751ee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae6148d50e6146d0ff61d0c5066eb00ef2eaec6e899ec82fb848eda34f3bb6bc
MD5 6196b72c87c6ba9db4be960e75904c76
BLAKE2b-256 842a44141810c6516c7edc6591fbd72af9c17e738231a9b796e903247985ede6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c7af5e0ee00f68aad552a9c145257259db812e3649d6b271946add8324b89632
MD5 6565823b0895b98079674bd52cd7f091
BLAKE2b-256 833903b9ffde1ff475d2a724671fea5a516ddc257dfae5ca6c06cae741c88a4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0734df9e9cc9e241bba10a7b41713555d58c8d8fa05c69198a2bf9f6aa1cc7fd
MD5 65310c8994c551478b1dfcb0f502b1f1
BLAKE2b-256 e6300052980819c80f9c4eeba27a4fe62a2c62b13c6d3e89f339ce59d8a072f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bbfdb25393cc2cde62841e2c876d165af0889a0f7cf9c7484fdb7c36cc40c85f
MD5 920aca6dbf0d9238a186c5d4ac8eb378
BLAKE2b-256 8553b97a8a4a81e3c4d95b8c789bc44fadd77f1c1d3753fe43dcf271112823e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 908f0ca19e6229bb6253321f485512edb78666fb6683ba780a6ec6c1925f4641
MD5 a33788ec76ade397349dc48b05e5ca81
BLAKE2b-256 73fc801cd1085216781ddb4051e0c3cbd62c55bddd71f400e3f817fe61d1b65e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 06bf023740df141516408d9ab7e66136020074cbd0346170da365bf91ab9f8df
MD5 288a5511a552347fdcf56f1928fdd0e2
BLAKE2b-256 dfc4adc36337a3eba4062e6a2404e4c1a81039137687ef04a49a287a4bc5e306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6071287e39dfaf341498786e14aefd73c24228d80eed2344ae79fe972f0620ec
MD5 f13bafb0738c728f3598fc54c676a058
BLAKE2b-256 35a6cbe8d40034535595b809219843ca592ec32da668afc67f6df694525d7bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 10b876e28c6cec7ba474714c657f7dfae9abc55b292c734f134ee3a1fb2174b9
MD5 46e66f28108ca2f4df79b290c8220e51
BLAKE2b-256 8e4c9748af6b7eff6587ddee284354a5c8759570df02f62f3c7c497663c89153

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f20c5924eecd6880f4207a28b896fc0f3719ac889d4325fee0fdb050219064bd
MD5 1ad00701d6e787a21524f441e5bc62a8
BLAKE2b-256 728fdf88750737612b9a4c93326f0e1b8804dcb85c562ccf5d3810ef346c13c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d7eb0421f3ccb34833e42d64dc938fae2608077d6dfd333749bea9a961822dbc
MD5 155ed8105ea4baa52ee70f4843bfd2c9
BLAKE2b-256 fc61785dcd1539bd1a5e38f139fd9221bc988a3be8df13dc7d60a5e5062a5894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 59e564eb6bf7174611f0f3f51aac434725e4fd16ef622ef2e4c57a06573cc655
MD5 3b1b28585b68a1d7f2492e604734624d
BLAKE2b-256 c75b325898e821a58508bbcf0454e34da5a6cae13a9c7659df1e0f2246d2564c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 68620bcb38b1c9d7194ee3d65f91ed0a96719cd09c49d8d50bff84504087cec9
MD5 9037a46a6a967b78acca191723db1d67
BLAKE2b-256 6f3c7028bc2e09985d18999ebcb42d60ed4ed7eb5a1eb47073424720cafd1bea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c70880477f7afb5ea00a3c81958084a7ed513f92b93d68ab35c57bec3881e972
MD5 b3e6aa48d2e0d323b32be805ca053ea3
BLAKE2b-256 e881dbacd7b4d782e3716ba73ae5c6334e19c06644202d517525d17c357095dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f50202e2454d2c4980cb4efcf459b2962d1cfa10fa90e16a64b197e409ba3521
MD5 27f866309561a76f37bf6565e4584dd1
BLAKE2b-256 99ca1d2df19c625223b1304140a28cea3d4673f67e9ca3c4dacfd1b0ad2e3909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 12945cfcb02aca441308669177424c87457fd5af0e5de993f17ecaa3f32d9bf4
MD5 512b83a1e46303f3a34c561fe3c7965f
BLAKE2b-256 ca63df635afad11846273e8d9a0436f3b6acc59408fa1600e25c682f0ea911e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9952bb8718559a8984872a6e166a8128d5eb38201ed1e4855839c843f7d9adbf
MD5 e4971a0e5920d020ca861cb0105e44fa
BLAKE2b-256 aa239e017033c2b50ff3b477dd2cc6237c9d0ae49579305e45a98f8c950a4a8e

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