Skip to content

A python webapp that calculates distance and carbon emissions for transportation options.

Notifications You must be signed in to change notification settings

av1155/PlanetPath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PlanetPath

Welcome to PlanetPath, a web application that helps you calculate the CO2 emissions and points earned for different transportation methods.

Table of contents

  • Description
  • Getting started
  • Usage
  • Contributing

Description

PlanetPath is a web application built with Streamlit for a Hackathon that uses the geopy and geodesic libraries to calculate the distance between two locations and the Walking and Biking emissions per mile.

Notably, my role in this initiative focused on the technical implementation, while my partner contributed their expertise in crafting an intuitive UI/UX design.

Getting started

To get started with PlanetPath, you will need to install the required libraries. You can do this by running the following command:

pip install streamlit geopy

You will also need to download the geckodriver for your OS and add it to your PATH.

Once you have installed the required libraries, you can run the application by running the following command:

streamlit run app.py

Usage

  1. Enter your starting point and destination in the text fields provided.
  2. Choose your preferred transportation option from the dropdown list.
  3. Click the "Calculate" button to see your CO2 emissions and points earned for the selected transportation option.
  4. Repeat steps 1-3 for different starting points, destinations, and transportation options.

Contributing

Contributions to PlanetPath are welcome! If you find a bug or have an idea for a new feature, please create an issue on the GitHub repository.

If you would like to contribute code, please fork the repository and create a pull request.

About

A python webapp that calculates distance and carbon emissions for transportation options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages