~/talk

PyPI In a box: Using a Raspberry Pi as a portable PyPI server

Talkat Ubuntu Summit 2022 · 2022-11-07..11-09· [python]
links:none on file
slides:none on file

A Raspberry Pi hosts a selective mirror of PyPI (over ~400,000 packages on record) so attendees can pip install from a local HTTP index; the setup uses mini-repo to download specific wheels, pypi-server to index them, and nginx as a reverse proxy/cache, with hostapd and dnsmasq providing a hotspot/DHCP/DNS. The device serves live meetups (roughly 30 devices tested), runs ~2 hours on a battery pack for the shown model, and is proven usable for workshops and offline installs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:38Zimbabwe Python challenges
  3. 5:25Raspberry Pi PyPI server
  4. 7:59Why local PyPI mirror
  5. 9:05Setup PyPI on Raspberry Pi
  6. 12:34Offline package network
  7. 14:21Install packages offline
  8. 15:34Beyond Python packages
  9. 16:59Q&A: Caching and mirror
  10. 18:23Q&A: Network and DNS
  11. 19:11Q&A: Local hosting and battery
  12. 20:17Q&A: Social impact
  13. 22:49Q&A: Productizing for events
  14. 23:54Q&A: Alternative projects
  15. 24:57Q&A: User-friendly setup
~/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.