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 details)
Built Distributions
File details
Details for the file stretched-0.0.1.tar.gz
.
File metadata
- Download URL: stretched-0.0.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pyo3-pack/0.7.0-beta.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7259b540c40272e4b309a350f364d9c7f1431e21b898e3150533950dcbe40625 |
|
MD5 | 0bc5b01a89525af6146154f0558d71d5 |
|
BLAKE2b-256 | 487d0f24bebb28fb1f2e5fd1adebae73d7e039aea6f6db61857d42204e711d60 |
File details
Details for the file stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 197.3 kB
- Tags: CPython 3.7m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: pyo3-pack/0.7.0-beta.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dca29d691c25f81c3dd0f1fe1400ddf7e22cc70dae13671e21b2265eb9c9087 |
|
MD5 | 347439368a5adb989520b498af9ecdeb |
|
BLAKE2b-256 | f70f6fad1a6d1d6621c3305e5c4baea6e770710b422bd31877863da8ef92eeab |
File details
Details for the file stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 197.5 kB
- Tags: CPython 3.6m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: pyo3-pack/0.7.0-beta.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c85ba14b4e1580bf881f9f2e958b1099e9b23a5d0f098eec13fb13a6dc9f60 |
|
MD5 | 8a61bc0fffdfe84ea329658622e252b7 |
|
BLAKE2b-256 | 0de6c93c20055c48f83f845a7ebf7d47a2931bc5a6240d5833af19896368e0ec |
File details
Details for the file stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 197.5 kB
- Tags: CPython 3.5m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: pyo3-pack/0.7.0-beta.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b454b8b211780f96846a76d0a8384888b8ccc9299ae217d1054a0cc85c6b75d3 |
|
MD5 | 23f5f95deb5b717875de42b1d42553a1 |
|
BLAKE2b-256 | d3209e5df2910f7a2cee12f77e15a532d0b893390ad534f37b603ef0033a3d91 |