Skip to main content

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

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 File type Python version Upload date Hashes
Filename, size stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl (197.5 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl (197.5 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (197.3 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size stretched-0.0.1.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View hashes

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