This repository contains materials for the NYU predoctoral economics training program. This material covers the topics of code modularization, Python package development, unit and integration testing, and model testing. It was prepared and presented by Chase Coleman (Valorum Data) and Jim Savage (Schmidt Future).
Time | Topic | Materials |
---|---|---|
9:00 - 12:30 | ||
Modularization | ||
Project 1 | Project 1 | |
Package Development | Day 1 slides | |
12:30 - 13:30 | Lunch | |
13:30 - 17:00 | Wrap up remaining slides | |
Project 2 | Project 2 |
Time | Topic | Materials |
---|
Time | Topic | Materials |
---|
The following mantra should be more widely adopted: “Don’t write a new package, if there is already a high-quality package that fulfills your needs.”
Below are some examples of scientific projects that the Python community typically deems as “high-quality.”
What do these projects have in common?
Here are some additional readings:
- Instructions for creating Python package
- How to develop good R packages (for open science): Not about Python but does have some thoughtful points on general package development
- Open Reproducible Science
- Advantages of Modularization in Programming