Skip to main content
HomePython

Course

Developing Python Packages

Intermediate
4.7+
243 reviews
Updated 05/2025
Learn to create your own Python packages to make your code easier to use and share with others.
Start Course for Free

Included withPremium or Teams

PythonProgramming4 hours14 videos47 Exercises3,900 XP18,600Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Do you find yourself copying and pasting the same code between files, wishing it was easier to reuse and share your awesome snippets? Wrapping your code into Python packages can help! In this course, you’ll learn about package structure and the extra files needed to turn loose code into convenient packages. You'll also learn about import structure, documentation, and how to maintain code style using flake8. You’ll then speed up your package development by building templates, using cookiecutter to create package skeletons. Finally, you'll learn how to use setuptools and twine to build and publish your packages to PyPI—the world stage for Python packages.

Prerequisites

Introduction to ShellWriting Functions in Python
1

From Loose Code to Local Package

Start Chapter
2

Install Your Package from Anywhere

Start Chapter
3

Increasing Your Package Quality

Start Chapter
4

Rapid Package Development

Start Chapter
Developing Python Packages
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.7
from 243 reviews
76%
24%
0%
0%
0%
  • Marc
    1 day

  • Alican
    1 day

  • Vansh
    2 days

  • Ahmed Moustafa
    3 days

  • Cedric
    3 days

  • Renso Amir
    4 days

Marc

Alican

Vansh

Join over 16 million learners and start Developing Python Packages today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.