PyBay 2024
| title | author | length |
|---|---|---|
| Welcome to PyBay 2024! | Chris Brousseau | 12m |
Kickoff covers logistics and community facts: conference runs its ninth year with next year the tenth, the program comes from 137 submissions, sponsorship… | ||
| Playing Improv with Python! | Pamela Fox | 51m |
Plays improv games by wiring local and hosted LLMs into Python: Llama 3.1 (local via Ollama), GitHub-hosted models and gbd-40-mini for vision, using… | ||
| How to build a cross platform GUI with Python | Russell Keith-Magee | 47m |
Builds a working cross‑platform GUI from a single Python codebase using the toga widget toolkit and briefcase packaging tools, demonstrating development… | ||
| Using and abusing Python's logging module for more readable logs | Colin Chan | 11m |
Detailed practical tweaks for production logging: uses less -S to avoid wrapping, refuses multi-line log messages and instead logs line-by-line, adds a custom… | ||
| Unlocking Creative Potential Through Teaching | Johannan Hjersman | 09m |
Uses Bloom's Taxonomy to show teaching forces deeper mastery, documents integrating a stale League of Legends API dataset rather than using CSVs, and claims… | ||
| Thinking of Topic Modeling as Search | Kas Stohr | 13m |
Treat topic modeling as search by training BERTopic daily, saving document embeddings in a vector store (e.g. PGVector or OpenSearch), and creating topic… | ||
| The Five Demons of Python Packaging That Fuel Our Persistent Nightmare | Peter Wang | 45m |
Python’s pain has five concrete causes: native extensions force C toolchain, ABI and build-matrix headaches (conda vs wheels matter); repository vs… | ||
| Using AI to Entice Employees to Python | Paul Pereyda Karayan, Emmanuel Uwakwe | 12m |
Company uses ChatGPT as a gateway to turn mundane tasks into coding problems, e.g., paste a Linear CSV into ChatGPT and generate client status reports… | ||
| Scrolling Animated ASCII Art in Python | Al Sweigart | 34m |
A live demo uses about 2,000 lines of Python driving a terminal output engine built from print(), loops, random, and time.sleep; many examples are under 50… | ||
| Pyre, Lints, Codemods, Code Quality, and You | Maggie Moss | 27m |
A five-step practical plan: identify a measurable problem, run pyre and pystatistics to get counts, recruit stakeholders, automate fixes or teach teams, and… | ||
| Practical GraphRAG Making LLMs smarter with Knowledge Graphs | Alison Cossette | 26m |
Shows how GraphRAG combines vector search with a knowledge graph and live demos using Neo4j Workspace and the LLM Graph Builder, ingesting web pages, PDFs and… | ||
| Next Level Python Applications with PyScript | Fabio Pliger, Chris Laffra | 30m |
Demonstrates running full Python in the browser using PyScript + Pyodide and Micropython interpreters, claiming apps can scale by running compute on clients so… | ||
| Master Python typing with Python Type Challenges | laike9m | 10m |
A free open-source exercise called Python-Type-Challenges repo presents 200+ incremental puzzles (easy → extreme) that teach specific typing features, matches… | ||
| Impress your enterprise customers with OpenID Connect login | Semona Igama | 19m |
Shows a working Django integration that replaces password-only auth with OpenID Connect using mozilla Django oidc (tried and abandoned) and then a quickstart… | ||
| F Strings! | Mariatta Wijaya | 24m |
Covers practical f-string features up to Python 3.12: using format specifiers for datetime and numeric formatting, calling functions and methods directly… | ||
| From Pandas to Polars Upgrading Your Data Workflow | Matt Harrison | 58m |
Compares Pandas and Polars by showing concrete edits on a 1 MB Strava GPX: Polars uses a Rust backend with Arrow, lazy evaluation and multithreading to avoid… | ||
| Edges of Python Three Radical Python Hacks for Fun and Profit | Elvis Pranskevichus | 22m |
Three concrete hacks: a tiny sync shim that starts coroutines with coro.send(None) and replaces async streams with blocking sockets to reuse one async codebase… | ||
| Deploy Python Apps on Kubernetes and Prepare for Scale | Senthil Kumaran | 26m |
Shows a reproducible path: a Dockerized Flask/Django workflow, a search-in-a-box project that adds 100% unit test coverage, a Parquet-backed crawler, and a… | ||
| Branch deploys at any scale | Ted Nyman | 10m |
Branch deploys put a branch into production before merge, cutting reverts to almost zero and shortening verification to a live trial; companies at scale and… | ||
| 13 fun facts about Python's return statement for savvy programmers | Erin August Allard | 19m |
Live code demos show 13 facts with concrete examples: printing vs returning, a syntax error when using return outside a function, only one return ever executes… | ||
| Automate Your City Data With Python | Philip James | 28m |
Shows a concrete pipeline that turns municipal PDFs into a searchable DB using Python, PyMuPDF (fits) to rasterize pages, Tesseract OCR to extract text… | ||
| Architecting Native Python Extension Modules | Alexander Steele | 10m |
Over 20% of the most downloaded Python modules use native extensions, and the core claims are concrete: crossing the FFI is expensive so batch operations or… | ||
| Accelerating ML Prototyping The Pythonic Way | Parul Gupta | 09m |
Meta runs an internal Jupyter distro Bento that adds scheduled notebooks for recurring reports, persistent sessions and notebook recovery so long-running… | ||
| A 101 in time series analytics with Apache Arrow, Pandas and Parquet | Zoe Steinkamp | 33m |
Shows how a production pipeline is built end to end: a machine simulator → MQTT → Telegraf ingestion → InfluxDB 3.0 storing data as Parquet compression and… | ||
| Using and abusing Python's logging module for more readable logs | Colin Chan | 11m |
Custom log level speaker note marks reminders; a log-prefix context injects stable prefixes so interleaved async output still groups correctly; color comes… | ||
| Raising Python quality across a large & diverse AI org | Isaac Storch, Immanuel Buder | 25m |
Intuit raises Python quality by teaching engineering skills to ~3,000 AI practitioners and automating standards with a reusable starter repo platform that… | ||
| Make a working implementation of async functions in Python 2.1 | Christopher Neugebauer | 29m |
Builds a working async/coroutine system that runs on Python 1.6 by reimplementing three pieces: yield-from emulation via a stack of iterators (works back to… | ||
| When Arbitrary Code Execution is Working As Intended What Code is Python Supposed To Execute | Glyph | 50m |
Python executes code from many surprising places: current directory is often on sys.path, PYTHONPATH/PYTHONHOME/PYTHONSAFE and other env vars change import… | ||
| Wrap Up PyBay 2024 | Chris Brousseau | 14m |
Conference recap lists concrete outcomes: onsite registrations add a few unexpected attendees, volunteers fix signage and untangle t‑shirt distribution, and… | ||
| nothing matches | ||