Publishing Open Source python package to PyPI

Abhishek Mishra (~abhishekmishragithub)


Python today has multiple implementations including Jython,IronPython. To be noted, Cpython which is written in C and developed by Python Software Foundation is the default and most popular implementation of Python. While these implementations work in the native language they are written in, they are also capable of interacting with other languages through use of modules.

Python is famous for coming with batteries included. Sophisticated capabilities are available in the standard library. You can find modules for working with sockets, parsing different documents like CSV, JSON, and XML. However great the packages included with Python are, there are many fantastic projects available outside the standard library. These are most often hosted at the Python Packaging Index (PyPI), historically known as the Cheese Shop. At PyPI, you can find everything from Hello World to advanced deep learning libraries. Most of these modules work on community development model and are open-source and free.

Through this talk/demo, I'll like to discuss following points:

  1. Standard Library vs Third Party packages
  2. Why should you care about setuptools
  3. About Warehouse
  4. Why and how to host your own Repositories
  5. Prepare your Python package for publication
  6. Versioning of Package
  7. Upload your package to PyPI


  • Basic understanding and familiarity with python package and modules.

Content URLs:

Content and deck is currently under preparation. The outline will be as followed :

  • Standard Library vs Third Party packages
  • Why should you care about setuptools
  • About Warehouse
  • Why and how to host your own Repositories
  • Preparing Your Package for Publication: Naming, Configuring and Documenting package
  • Versioning of package
  • Adding Files to Your Package
  • Publishing to PyPI : Building , testing and uploading the package
  • Other useful tools for packaging

Speaker Info:

Iā€™m Abhishek, currently working with Virtusa corporation in R&D team. I am a Pythonista and currently working in computer vision (professionally). I love to code in python and always give preference to Python when it comes to solve any problem let it be a web services, desktop application or automation task. I am intermediate user in cloud computing and exploring same with python. I've been to many community events and conferences, boot-camp for taking talks and session (Of course related to python šŸ˜Ž). I try to help dev communities fullest to my capacity. I try to contribute to open source projects according to my time availability, recently i had contributed to Azure batch process python client. Currently helping PyCon india team for boosting šŸš€ the conference. For more information you can have a look at my LinkedIn profile.

Speaker Links:

Id: 1057
Section: Core Python
Type: Talks
Target Audience: Beginner
Last Updated: