How to make a Python package

Manpreet Singh
5 min readApr 29, 2021

Welcome back! Python is a very popular language, so maybe you want to develop a package for this language, so let’s talk about exactly how to create a package for Python!

Starting Off

First things first, you will have to have Python installed on your machine, you will also need a Python IDE of some sort, below is an article explaining exactly how to do both:

On top of this, the package we’re creating in this tutorial is a very basic, high level overview of this process, you can input your own code later in this tutorial. We will be using Pythons full documentation for packaging, here is the link for that:

Creating The Project

Let’s actually get started now, the layout of a standard package folder is essentially this: project_folder > src >

--

--

Manpreet Singh
Manpreet Singh

No responses yet