Skip to main content

Python bindings for Stretch (High performance flexbox implementation written in rust.)

Project description


Python bindings for Stretch - A high performance flexbox implementation written in rust.


These bindings were translated from the swift bindings.

  • See the tests in ./tests/ 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

Download files

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

Files for stretched, version 0.0.1
Filename, size & hash File type Python version Upload date
stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl (197.5 kB) View hashes Wheel cp35
stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl (197.5 kB) View hashes Wheel cp36
stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (197.3 kB) View hashes Wheel cp37
stretched-0.0.1.tar.gz (13.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page