Banner for Creating Reusable Python Code: From Notebooks to Scripts to Packages

Creating Reusable Python Code: From Notebooks to Scripts to Packages

by PICSciE/Research Computing

Training/Workshop

Thu, Mar 20, 2025

3:30 PM – 5 PM EDT (GMT-4)

Add to Calendar

Private Location (sign in to display)

View Map
23
Registered

Registration

Details

RESCHEDULED to March 20 at 3:30 PM due to IT outage on March 13.

The popularity of Python stems in large part from its convenience for creating quick data analyses in Jupyter notebooks. This workshop will explore how to extend code in such notebooks to make it easier for your colleagues to validate and extend your analyses. We will cover writing simple scripts as well as more complicated tools with command-line interfaces. Time allowing, we will also discuss the benefits of grouping related scripts into packages, and introduce the basics of structuring packages using object-oriented design.

Knowledge prerequisites: Basic knowledge of Python

Hardware/software prerequisites: This workshop will provide example code in a GitHub repository. To work with the examples, particpants will need run Python code. This can be done using the Python installation on a laptop or by using the Adroit cluster. Please request an account on Adroit at least one hour before the workshop.

Workshop format: Demonstration and hands-on

See the full PICSciE/RC spring training program or subscribe to the PICSciE/RC mailing list.

Speakers

Michal Grzadkowski's profile photo

Michal Grzadkowski

Michal joined Princeton Research Computing in 2021 after five years working as a Research Software Engineer at Oregon Health & Science University, where his primary project involved studying the application of machine learning models to better understand the impacts of mutations commonly implicated in tumorigenesis. This involved implementing novel methods for representing the taxonomies of mutations present in cancer cohorts, as well as developing software for deploying and consolidating thousands of classification models on a high-performance compute cluster. His present work focuses on optimizing pipelines for generating quantitative assessments of the contributions various types of assets can make to a power grid’s ability to satisfy the demand for electricity over a given time frame.

Hosted By

PICSciE/Research Computing | View More Events
Co-hosted with: GradFUTURES

Contact the organizers