Skip to main content

A fast implementation of the Cassowary constraint solver

Project description

https://travis-ci.org/nucleic/kiwi.svg?branch=main https://github.com/nucleic/kiwi/workflows/Continuous%20Integration/badge.svg https://github.com/nucleic/kiwi/workflows/Documentation%20building/badge.svg https://codecov.io/gh/nucleic/kiwi/branch/main/graph/badge.svg Documentation Status

Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm. Kiwi is an implementation of the algorithm based on the seminal Cassowary paper. It is not a refactoring of the original C++ solver. Kiwi has been designed from the ground up to be lightweight and fast. Kiwi ranges from 10x to 500x faster than the original Cassowary solver with typical usecases gaining a 40x improvement. Memory savings are consistently > 5x.

In addition to the C++ solver, Kiwi ships with hand-rolled Python bindings for Python 3.7+.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiwisolver-1.4.4.tar.gz (97.1 kB view hashes)

Uploaded source

Built Distributions

kiwisolver-1.4.4-cp311-cp311-win_amd64.whl (55.4 kB view hashes)

Uploaded cp311

kiwisolver-1.4.4-cp311-cp311-win32.whl (45.9 kB view hashes)

Uploaded cp311

kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55.3 kB view hashes)

Uploaded cp310

kiwisolver-1.4.4-cp310-cp310-win32.whl (45.9 kB view hashes)

Uploaded cp310

kiwisolver-1.4.4-cp39-cp39-win_amd64.whl (55.4 kB view hashes)

Uploaded cp39

kiwisolver-1.4.4-cp39-cp39-win32.whl (46.2 kB view hashes)

Uploaded cp39

kiwisolver-1.4.4-cp38-cp38-win_amd64.whl (55.4 kB view hashes)

Uploaded cp38

kiwisolver-1.4.4-cp38-cp38-win32.whl (46.2 kB view hashes)

Uploaded cp38

kiwisolver-1.4.4-cp37-cp37m-win_amd64.whl (54.9 kB view hashes)

Uploaded cp37

kiwisolver-1.4.4-cp37-cp37m-win32.whl (47.1 kB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page