Structuring Python projects properly, especially when developing packages, can often be confusing. Many developers struggle with common questions: To help clarify these common challenges, I’ll show how I typically set up Python projects and organise package structures using the Python package and environment manager, uv. The challenge A typical and recurring problem in Python is… Continue reading Case Study: Developing and Testing Python Packages with uv
Articles on Packages
Django Plugin Recommendations by Antonio Melé | Top 10 Picks for Web Development
By PyBites Team on 7 May 2023
Watch here: Or listen here: He’s back! Django by Example book author Antonio Melé 😍 Not only that, we did this interview in person at a cafeteria on the beach 🏖 In this episode he shares his 10 favorite Django plugins 💪 💡 1. Django Debug Toolbar 2. Django REST Framework 3. Django Channels 4. Django Celery 5. Django Extensions… Continue reading Django Plugin Recommendations by Antonio Melé | Top 10 Picks for Web Development
Teaching packaging by building a Python package
By PyBites Team on 25 March 2023
Listen here Or watch here (recommended because there will be code!) Welcome back to our podcast. In this week’s episode we look at Python packaging. I was teaching this on our weekly PDM Code Clinic call and we ended up building quite a useful Pybites Open Source tool. Introducing pybites-search, a command line tool to… Continue reading Teaching packaging by building a Python package
How to Deploy Your Open Source Package to PyPI
By Bob Belderbos on 31 August 2020
In this post I share some useful things I learned deploying an open source package to PyPI.
Persistent Virtualenv Environment Variables with python-dotenv
By Julian Sequeira on 6 October 2018
In this article I’m going to show you how to declare persistent environment variables in Python Virtual Environments with python-dotenv.
From Script to Project – Packaging Your Code in Python
By Bob Belderbos on 1 July 2017
This week’s article is about packaging your Python code. Sounds daunting? Actually it is pretty simple.
Zip and ship, make an executable zipfile of your py project
By Bob Belderbos on 25 December 2016
In this post I show an example how you can distribute your code as an executable zipfile, a neat trick I discovered in Chapter 6 of The Hitchhiker’s Guide to Python