Uploaded July 2024 | Updated September 2026, 1 day ago
Glyph
pretalx.northbaypython.org/nbpy-2024/talk/RYQVSH
Do you want to create a Python project?
Do you want it to be good?
There have been lots of talks and posts and books about how to improve your project by adopting this or that tool or technology, by adopting a best practice. We all want to improve. We all want our code to be more correct. Faster. Friendlier. Easier to use. Better documented. Better tested. To have better coverage. Easier to contribute to. Easier to work on. More welcoming as a community. More repeatable. Less flaky. More secure. More sustainable. Easier to install. Easier to deploy. Easier to manage. Easier to discover. Easier to discuss, to report issues, to investigate issues, to triage issues.
What if we did all the things though? How could we make our project perfect?
In this talk, I will explore a comprehensive review of all of the best practices available to Python projects; a few specific to open source, but most applicable to just about anything written in Python. In addition to learning about many, many best practices, their importance, and the tools available to facilitate them, I will also propose some solutions to the overwhelming sense of existential dread that one might feel when confronted with all of them at once.
Produced by NDV: youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sat Jun 29 10:25:00 2024 at Reis River Ranch
Glyph
pretalx.northbaypython.org/nbpy-2024/talk/RYQVSH
Do you want to create a Python project?
Do you want it to be good?
There have been lots of talks and posts and books about how to improve your project by adopting this or that tool or technology, by adopting a best practice. We all want to improve. We all want our code to be more correct. Faster. Friendlier. Easier to use. Better documented. Better tested. To have better coverage. Easier to contribute to. Easier to work on. More welcoming as a community. More repeatable. Less flaky. More secure. More sustainable. Easier to install. Easier to deploy. Easier to manage. Easier to discover. Easier to discuss, to report issues, to investigate issues, to triage issues.
What if we did all the things though? How could we make our project perfect?
In this talk, I will explore a comprehensive review of all of the best practices available to Python projects; a few specific to open source, but most applicable to just about anything written in Python. In addition to learning about many, many best practices, their importance, and the tools available to facilitate them, I will also propose some solutions to the overwhelming sense of existential dread that one might feel when confronted with all of them at once.
Produced by NDV: youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sat Jun 29 10:25:00 2024 at Reis River Ranch










 is a tool that packages Python code and dependencies into a single file. It provides various features such as determinism (given the same input files, you get a bit-for-bit identical output file), isolation (a PEX file runs in the bundled environment, isolated from the system’s site-packages), composition (multiple PEX files can be combined to form new environments), and more. We used a number of these feature to great effect in our solution. By using PEX in addition to Docker we were able to reduce the time a developer waits for code to deploy from 3-4 minutes to about 30 seconds.
Shipping code isnt the only use for PEX. Once we see how PEX files work, we will also go over a few fun tips and tricks that are handy for everyday Python development.
North Bay Python is a boutique one-track conference, held in Petaluma, California. Our first events were held in 2017-2019 in a 100 year-old theater in the citys downtown. After a planned one-year break thats turned into almost four years, were excited to return!
This year, were holding our conference in July, in a barn, on a ranch overlooking the Petaluma River.
Produced by NDV: https://youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sat Jul 29 14:40:00 2023 at Reis River Ranch Ship your Python code faster with PEX - Shalabh Chaturvedi (North Bay Python 2023)](https://i.ytimg.com/vi/pyRwQByuFfc/mqdefault.jpg)