@ben_nuttall Ben Nuttall ● Software engineer at BBC News Labs ● Formerly at Raspberry Pi Foundation ● Creator of gpiozero, piwheels and pyjokes ● Opensource.com correspondent ● twitter.com/ben_nuttall ● github.com/bennuttall
@ben_nuttall Why piwheels? ● Before piwheels, “pip install” on Raspberry Pi would take ages ● People don’t generally build Arm platform wheels ● Just x86/x86_64 for Linux, Mac & Windows ● I wondered if it would be possible to build a repository to host Arm wheels ● It is ● So I did
@ben_nuttall Uploading Python package with C extensions to PyPI Python version 2.7 3.5 3.6 3.7 3.8 Windows (win32) Windows (amd64) Mac OS (x86_64) Linux (i686) Linux (x86_64) Source (sdist)
@ben_nuttall What is piwheels? ● Open source project maintained by: ● Ben Nuttall ● Dave Jones ● Tooling to automate building wheels of everything on PyPI ● Wheels are pre-compiled binary distributions of Python packages ● Tailored towards the Arm platform ● linux_armv6l and linux_armv7l platform tags
@ben_nuttall What is piwheels.org? ● Python package repository (like PyPI) ● Hosts Arm wheels of all packages on PyPI ● Website comprises: ● Simple index ● Project pages ● Blog & info pages
@ben_nuttall Using piwheels ● Raspbian is pre-configured to use piwheels.org as an additional index to PyPI ● Users get platform wheels without knowing it’s there ● Tutorials that say "warning: this step will take ages" are now wrong
@ben_nuttall Using piwheels ● Raspbian is pre-configured to use piwheels.org as an additional index to PyPI ● Users get platform wheels without knowing it’s there ● Tutorials that say "warning: this step will take ages" are now wrong