/publishing_python_packages_talk

Resources and slides from the talk "Publishing (Perfect) Python Packages on PyPI"

Primary LanguagePython

Publishing (Perfect) Python Packages On PyPI

This repo hosts slides and references for a talk I've given at PyCon Australia '18; PyCon UK '18; Python Glasgow, June '19; and upcoming EuroPython '19.

PDF exports of different versions the slide deck can be found here (probably improving chronologically):

References

I referred to a bunch of different resources and projects when writing this talk. The primary sources I can think of are listed here:

The official packaging documentation from the Python Packaging Authority.

This project has an excellent example of a non-trivial, but sensible setup.py. I've learned so much by following the evolution of this project.

So much more than a source of python package templates, you'll find a bunch of project templates for different languages and ecosystems.

My preferred Python library template, with configuration for testing, CI etc. It most closely matches the advice in this talk.

An outdated, but still useful guide to packaging in Python, from Tarek Ziadé.

The official documentation of the setuptools library. Comprehensive but sometimes a little dense.

Official documentation for the PIP tool.

Alternative Package Managers

Aims to replace setup.py and PIP.

Aims to replace setup.py with something simpler and more declarative.

A competitor to pip, largely used in the data community. Able to install much more than just python modules!