Skip to content

This program automates the creation of weekly energy lab reports for Princeton's The Power is Ours campaign, scraping input CSV files and creating a PowerPoint deliverable.

Notifications You must be signed in to change notification settings

nshaff3r/Princeton-Lab-Generator

Repository files navigation

Princeton Lab Generator

This program automates the creation of weekly energy lab reports for Princeton's The Power is Ours campaign, scraping input CSV files and creating a PowerPoint deliverable. You can read more about Princeton's net zero efforts and lab fume hoods here.

Installing

  1. Download the files in this repository. This can be done by navigating to releases and downloading the .zip file containing everything.

  2. Make sure that Python is installed. A great guide for installing Python can be found here.

  3. Unpack the downloaded zip of Evidn Lab Generator.

  4. Using a terminal or CLI on your computer (i.e Terminal on Mac, Powershell on Windows), navigate to the folder that was created by unpacking the zip. A guide for this can be found here

  5. Install the necessary packages from requirements.txt. This can be done using the command

    pip install -r requirements.txt

Running

  1. Download the lab .csv files and put them in a folder. Title this folder the name of the lab building (ex. Icahn). You should run this program seperately if you're dealing with multiple buildings.

    • Make sure this folder is in the same location as the program files
  2. Open template.pptx and duplicate the slides for the amount of labs you have.

    • For example, if you wanted to make 4 lab reports, there should be 4 slides.
  3. Using a terminal or CLI on your computer (i.e Terminal on Mac, Powershell on Windows), navigate to the folder that was created by unpacking the zip. A guide for this can be found here

  4. Run the program with the command

    python main.py

  5. Upon completion, the output files will appear, named "output.pptx" and "data.csv"

About

This program automates the creation of weekly energy lab reports for Princeton's The Power is Ours campaign, scraping input CSV files and creating a PowerPoint deliverable.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages