Skip to main content

A Python implementation of the Quine McCluskey algorithm.

This implementation of the Quine McCluskey algorithm has no inherent limits (other than the calculation time) on the size of the inputs.

Also, in the limited tests of the author of this module, this implementation is considerably faster than other public Python implementations for non-trivial inputs.

Another unique feature of this implementation is the possibility to use the XOR and XNOR operators, in addition to the normal AND operator, to minimise the terms. This slows down the algorithm, but in some cases the result can be much more compact than a sum of product.

How to install qm.py

Install the package with

python setup.py install

This needs superuser privileges. If you want to install the package locally, you can run:

mypath=XXX PYTHONPATH=$mypath/lib/python2.7/site-packages/ python setup.py install –prefix $mypath

where XXX can be any path. You may have to change the PYTHONPATH according to your python version.

Release files for quine-mccluskey 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quine-mccluskey 0.3
File Size Uploaded
quine_mccluskey-0.3.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quine-mccluskey 0.3
File Interpreter ABI Platform
quine_mccluskey-0.3-py2-none-any.whl Python 2 none any Details

Total release size: 19.7 kB

Release files / quine_mccluskey-0.3.tar.gz

Download URL quine_mccluskey-0.3.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
348fa01b4778a45c41789ade08b838b18bd0d8da194ca94164e89739ec9d387d
BLAKE2b-256 checksum
How to use checksums
a0d660c205f6241ba73ca66cba56597ee598a3d0ee056a87b7bf4e8727fa5c67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

Release files / quine_mccluskey-0.3-py2-none-any.whl

Download URL quine_mccluskey-0.3-py2-none-any.whl
Size 10.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
7b6d50d993e7fe20448d24267e947723b3271137737488bf07e63cf6abda2e59
BLAKE2b-256 checksum
How to use checksums
c53c336877ca5bfa4e4a7ac800f7624bf2c051088b2cd2dd6165186d5c05b64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page