Creating an installable pudl-examples package #4450
zaneselvans
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently we've run into a couple of situations where having an external package and python environment that relies on PUDL data, but not the PUDL development environment might be useful. See:
Internal vs. External PUDL Usage
pudl-devconda environment, which contains all of the dependencies required to process the data that's part of PUDL.pudl-devenvironment to be installed, which is a lot. The ones in our example notebooks aren't installable at all.Depending on Kaggle
Potential benefits of a stand-alone
catalystcoop.pudl-examplespackage:pudl-devpudl-prod(or justpudl) python environment that doesn't have all of the extra data viz packages, which aren't actually required for PUDL to do its data processing work.pudl-exampleswithin thepudl-devenvironment and have access to whatever utility functions we put there for day-to-day development.pudl-devinto notebooks / code duplication.pudl-examplesdepends on, independent of whatever is bundled in the Kaggle Python Docker image, and then add just a single extra dependency to our Kaggle notebooks (pudl-examples) which would cause any of those extra dependencies to be installed, if they aren't already part of the Kaggle environment.pudl-examplesfunctions to build Marimo notebooks / PUDL data dashboards.Potential downsides / difficulties
pudl-examplesdependencies are compatible with the Kaggle environment. E.g. by running tests / notebooks inside the Kaggle python docker container.Implementation Tasks
pudl-exmaplesrepopixi(conda) is required or ifuvwill work.geopandasand the gdal/osgeo libraries, it's likely we'll needpiximainbranch always points atnightlyPUDL build outputs. We expect this to break sometimes and need to be fixed.v2025.7.0stablebranch always points atstablePUDL build outputs?Continuous Integration / Testing
Beta Was this translation helpful? Give feedback.
All reactions