~/talk

A tale of Python C extensions and cross-platform wheels

Talkat PyConline AU 2021 · 2021-09-10..09-12· [python, devops-and-delivery]
links:none on file
slides:none on file

Creates a C++ wrapper with pybind11, implements a PDF→PNG converter using Poppler, and packages extension modules with setup.py so pip builds a shared-object wheel. Compiles platform-specific shared libraries in Docker, macOS builders, and Visual Studio, uses cibuildwheel for CI, runs auditwheel (Linux) and delvewheel (Windows) to bundle dependencies, applies DLL mangling when needed, and uploads cross-platform wheels to PyPI that install and run as expected.

AI-written summary · about

  1. 0:00Introduction and project goal
  2. 1:15Motivation and use case
  3. 3:03Writing Python C extensions
  4. 6:11Using Pybind11
  5. 9:46Shared libraries explained
  6. 12:39Linking shared dependencies
  7. 17:26Bundling libraries in wheels
  8. 21:06Automation and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.