Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Package Development
Rating: 4.0 out of 5(66 ratings)
343 students

Python Package Development

Build, test, deploy and maintain python packages on PYPI. Publish your package worldwide using pip
Created byVinay Phadnis
Last updated 11/2018
English

What you'll learn

  • Be able to build python packages
  • Deploy Python packages on PYPI
  • Get recognised as a Python Package developer
  • Write documentation for software
  • Use markdown syntax to write GitHub flavoured .md files
  • Build a package according to the PYPI guidelines

Course content

3 sections16 lectures1h 44m total length
  • Why Python Packages?5:10

    Learn why Python packages matter, from using Python in ML and backends to packaging code for distribution on PyPI with pip, and the importance of documentation and maintenance.

  • Installing Python and PIP0:04
  • Structure of a Python package9:25

    Explore the anatomy of a Python package, from .gitignore and license to setup.py and wheel creation, and learn how these files shape packaging, distribution, and PyPI publishing.

  • Creating a setup.py file9:20

    Create a simple python package using a setup.py with setup tools to define the name, version, and author. Document the package and prepare it for uploading.

  • Attributes in setup.py10:43

    Explore how to configure setup.py for a Python package using setup tools, including long description, classifiers, keywords, install requires, and dependencies for packaging and distribution.

  • init.py6:31

    Define an entry point by creating the __init__.py file to initialize the package and start execution, then add an MIT license file to clarify usage terms.

  • writing the code (part-1)7:42

    Develop a Python package by creating an entry point and linking a calculator module, then define two functions to compute the square and the cube of a number.

  • Testing the code (part-2)5:29

    Develop and test math functions in a Python package by implementing calculate square and calculate cube, and build a test architecture while verifying that square of 3 equals 9.

Requirements

  • No prior programming knowledge is required

Description

This course deals with the complete workflow related with Python packages:

  • Building: The structure of a python package along with PYPI guidelines will be discussed in detail in this course.

  • Documenting: Documentation is a very important stage in the software development cycle in order to help an end user understand your product. We will be building documentation for our package using Markdown. The syntax of Markdown will be explained in detail as well.

  • Testing: We will be testing the build of our package locally and soon be writing tests to make sure that runtime errors are reduced.

  • Deploying: The built package will be uploaded to the PYPI and PYPI-Test website to be available to the world to install by a single pip command.

  • Maintaining: The process of updating is also discussed in this course along with the basics of how to assign version names to your packages

With most of the aspects covered related to a software development lifecycle, this becomes a comprehensive course for python packages.

Who this course is for:

  • Anyone interested in getting started with Python programming
  • Anyone interested in creating Python packages
  • Anyone interested in understanding the workflow behind the creation of a software
  • Anyone interested in Deploying a package on PYPI