Welcome to PlanetPath, a web application that helps you calculate the CO2 emissions and points earned for different transportation methods.
- Description
- Getting started
- Usage
- Contributing
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.
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
- Enter your starting point and destination in the text fields provided.
- Choose your preferred transportation option from the dropdown list.
- Click the "Calculate" button to see your CO2 emissions and points earned for the selected transportation option.
- Repeat steps 1-3 for different starting points, destinations, and transportation options.
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.