A pure Python implementation of the Cassowary constraint solving algorithm.
Project description
This project is being dusted off
Cassowary
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
Tweet Brodderick on Twitter: @teamskynet_
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 Administration
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
Built Distribution
File details
Details for the file cassowary-0.5.2.tar.gz
.
File metadata
- Download URL: cassowary-0.5.2.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c0d10722738eca3cd939c8f6f1a580fdfa4fad71b71d0d193c10aaa3d406dd |
|
MD5 | 30d663db60049193e579b78b5dfeb4ff |
|
BLAKE2b-256 | 7c853eb30718ab1eb495b7b1aac101f1157030c936726884e1a1047fde77cb62 |
File details
Details for the file cassowary-0.5.2-py2.py3-none-any.whl
.
File metadata
- Download URL: cassowary-0.5.2-py2.py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da16ceca5fd42c848d3a875f3834a7b93f2cc74dd07039ea7e5305c0fbb926d |
|
MD5 | ef86dd3900e45b08a0ea02e7bcea26d7 |
|
BLAKE2b-256 | 5fd9879a2e23c6e3129e6b7970e48635ca2e233c1620f64866d49e67e9c699cf |