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


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)

Uploaded Source

Built Distributions

stretched-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (197.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

stretched-0.0.1-cp36-cp36m-macosx_10_7_x86_64.whl (197.5 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

stretched-0.0.1-cp35-cp35m-macosx_10_7_x86_64.whl (197.5 kB view hashes)

Uploaded CPython 3.5m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page