Skip to main content

A pure Python implementation of the Cassowary constraint solving algorithm.

Project description

A pure Python implementation of the Cassowary constraint-solving algorithm. Cassowary is the algorithm that forms the core of the OS X and iOS visual layout mechanism.

Quickstart

Cassowary is compatible with both Python 2 or Python 3. To install Cassowary in your virtualenv, run:

$ pip install cassowary

Then, in your Python code, you can create and solve constraint systems. See the documentation for examples of what this looks like in practice.

Documentation

Documentation for Cassowary can be found on Read The Docs.

Community

Cassowary is part of the BeeWare suite. You can talk to the community through:

Contributing

If you experience problems with Cassowary, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

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

cassowary-0.5.1.tar.gz (33.1 kB view hashes)

Uploaded Source

Built Distribution

cassowary-0.5.1-py2.py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page