Where we are Where we’re headed
PYTHON PACKAGING
@pradyunsg gg.gg/pycon-in-2019
W HO ? Pradyun Gedam @pradyunsg pradyunsg.me Member of Python - - PowerPoint PPT Presentation
P YTHON P ACKAGING Where we are Where were headed gg.gg/pycon-in-2019 @pradyunsg W HO ? Pradyun Gedam @pradyunsg pradyunsg.me Member of Python Packaging Authority Maintainer of pip, virtualenv, packaging and more PSF
@pradyunsg gg.gg/pycon-in-2019
Pradyun Gedam @pradyunsg pradyunsg.me
Member of
Python Packaging Authority
Maintainer of
pip, virtualenv, packaging and more PSF Fellow College student!
An Overview of
Tooling in the Python Packaging ecosystem
https:/ /www.youtube.com/watch?v=AQsZsgJ30AE
Package Package Thing Medium for Moving Packages Thing
Distribution Distribution Source Code "Moving" Software Working Software
AN UNSOLVED PROBLEM
https:/ /youtu.be/IVzjVqr_Bzs?t=430
Distribution Distribution Source Code "Moving" Software Working Software
Distribution Distribution Source Code "Moving" Software Working Software
Publisher User
Source Code
Publisher
Distribution Source Code
Publisher
"build"
Distribution Source Code
Publisher
Source Code
"build"
Distribution Source Code
Publisher
"build" "Moving" Software
Distribution Source Code
Publisher
"build" "Moving" Software "upload"
Distribution Source Code
Publisher
"build" "Moving" Software
"upload"
"Moving" Software
User
"Moving" Software Distribution
User
"Moving" Software Distribution
User
"download"
"Moving" Software Distribution
User
"download"
"Moving" Software Distribution Working Software
User
"download"
"Moving" Software Distribution Working Software
User
"download" "install"
"Moving" Software Distribution Working Software
User
"download" "install"
Distribution Distribution Source Code "Moving" Software Working Software "build" "install" "download" "upload"
Publisher User
Distribution Distribution "Moving" Software "download" "upload"
Publisher User
Distribution Distribution Source Code Working Software "build" "install"
Publisher User
https:/ /sedimental.org/the_packaging_gradient.html https:/ /www.youtube.com/watch?v=iLVNWfPWAC8
https:/ /packaging.python.org/overview/
Tools built by volunteers
(mostly) https:/ /packaging.python.org/specifications/
Distribution Distribution Python Package Index "download" "upload"
Publisher User Package Index Interfaces
Distribution Distribution Source Code Working Software "build" "install"
Publisher User
Package Distribution Metadata
with volunteers.
Distribution Source Code build backend
Publisher
PyPI
Distribution twine
Publisher
PyPI
pip
User
Distribution Working Software pip virtualenv venv
Distribution
PyPI
Working Software pip
User
Distribution Source Code setuptools twine
Publisher
pip virtualenv venv
Distribution
PyPI
Working Software pipenv pip via pipenv
User
Tools built by companies or different volunteers.
Distribution Source Code flit
Publisher
Distribution Working Software pex
User
Distribution Working Software pipx
User
Distribution
PyPI
Working Software poetry poetry
User
Distribution Source Code poetry poetry
Publisher
Conda Packages Conda Packages Source Code
Conda Channels
Working Software conda conda conda conda
Publisher User
"… all of this stuff is really hard and there’s a lot of knowledge scattered around in people’s heads that could really do with being captured somewhere"
— PAUL MOORE
Future Improvements in Python Packaging
soon?