Python bindings for Stretch (High performance flexbox implementation written in rust.)
Project description
Stretched
Python bindings for Stretch - A high performance flexbox implementation written in rust.
Overview
These bindings were translated from the swift bindings.
- See the tests in ./tests/test.py for examples on how to use the bindings.
Bindings are generated using pyo3 and pyo3-pack.
- Please see the relevant documentation for more information on how to build the bindings.
Basic Build Instructions
Python 3.5 to 3.7 should be supported.
- You will need pyenv and pyenv virtualenv setup, activate your virtual environment.
- install the requirements
pip install -r ./requirements_dev.txt
- compile and install the development version directly into your environment with
pyo3-pack develop
- compile a release version with
pyo3-pack build
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
stretched-0.0.1.tar.gz
(13.6 kB
view hashes)
Built Distributions
Close
Hashes for stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dca29d691c25f81c3dd0f1fe1400ddf7e22cc70dae13671e21b2265eb9c9087 |
|
MD5 | 347439368a5adb989520b498af9ecdeb |
|
BLAKE2b-256 | f70f6fad1a6d1d6621c3305e5c4baea6e770710b422bd31877863da8ef92eeab |
Close
Hashes for stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c85ba14b4e1580bf881f9f2e958b1099e9b23a5d0f098eec13fb13a6dc9f60 |
|
MD5 | 8a61bc0fffdfe84ea329658622e252b7 |
|
BLAKE2b-256 | 0de6c93c20055c48f83f845a7ebf7d47a2931bc5a6240d5833af19896368e0ec |
Close
Hashes for stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b454b8b211780f96846a76d0a8384888b8ccc9299ae217d1054a0cc85c6b75d3 |
|
MD5 | 23f5f95deb5b717875de42b1d42553a1 |
|
BLAKE2b-256 | d3209e5df2910f7a2cee12f77e15a532d0b893390ad534f37b603ef0033a3d91 |