Skip to main content Site map
HomeNews and blogs hub

Byte-sized RSE Session on Python Packaging

Bookmark this page Bookmarked

Byte-sized RSE Session on Python Packaging

Author(s)
Steve Crouch

Steve Crouch

Software Team Lead

Jeremy Cohen

Posted on 19 June 2024

Estimated read time: 2 min
Sections in this article
Share on blog/article:
Twitter LinkedIn

Byte-sized RSE Session on Python Packaging

Byte-sized RSE, finger food in the background

The next Byte-sized RSE session, covering Python packaging, will take place on Friday, 21 June, 13:00-14:30 BST/GMT+1.

In this final episode of season 2 of Byte-sized RSE, we’ll be looking at Python packaging. We’ll do this from both the user and package creator perspective. There are different package infrastructures in Python and we’ll focus here on the core packaging ecosystem maintained by the Python Packaging Authority (PyPA) and the pip package installer tool.

We’ll begin by looking at the use of pip to install packages and what actually happens when you install a package. Then we’ll look at the anatomy of a Python package and create a simple package ourselves, to see how one is structured and built.

Prerequisites: In order to be able to participate in the practical/interactive part of this session, you’ll need a computer with a regular Python installation (i.e. not Anaconda) and pip available. You’ll also need some basic familiarity with working on the command line and be familiar with a command line-based editor such as nano, vi or emacs to enable you to easily edit files. The tutorial may also work using pip via Anaconda but this is not a supported setup for this session.

If you’d like further information about these sessions or would like to suggest a topic for a future session, contact Jeremy Cohen (Imperial College London) or Steve Crouch (University of Southampton).

Back to Top Button Back to top