https://github.com/maasglobal/sustainable-mobility-api
Library and API to calculate CO2 emissions for personal mobility.
https://github.com/maasglobal/sustainable-mobility-api
co2 co2-emission co2-emissions emissions environment ghg greenhouse-gas-emissions greenhouse-gases mobility-as-a-service mobilityanalysis passenger python-library sustainability sustainable-consumption transport transport-co2 transport-trip transportation
Last synced: 27 days ago
JSON representation
Library and API to calculate CO2 emissions for personal mobility.
- Host: GitHub
- URL: https://github.com/maasglobal/sustainable-mobility-api
- Owner: maasglobal
- License: mit
- Created: 2019-10-18T12:59:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:56:27.000Z (over 2 years ago)
- Last Synced: 2024-11-20T19:41:54.645Z (6 months ago)
- Topics: co2, co2-emission, co2-emissions, emissions, environment, ghg, greenhouse-gas-emissions, greenhouse-gases, mobility-as-a-service, mobilityanalysis, passenger, python-library, sustainability, sustainable-consumption, transport, transport-co2, transport-trip, transportation
- Language: Python
- Homepage:
- Size: 334 KB
- Stars: 35
- Watchers: 5
- Forks: 10
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Sustainable Mobility API
This project consists of a Python library and HTTP API for estimating the environmental impact of personal mobility.
## Estimator
The estimator consists of a Python library to calculate CO2 emissions for a transport trip based on the distance and mode. The library has been published to the Python Package Index as [transport-co2](https://pypi.org/project/transport-co2/).
The [README](estimator/README.md) in the [estimator](estimator/) folder also have examples on the library responses, for various modes of transportation.
## API
The API provides an HTTP(s) endpoint to estimate the CO2 emissions for a transport trip. Internally, the API relies on the "transport-co2" estimator library.
Please go into [api](api/) folder to read more about running locally or deploying as docker container or serverless function.
## Roadmap
This project is intended as a proof-of-concept and to generate feedback for future development. See our [project roadmap](https://github.com/maasglobal/sustainable-mobility-api/milestones) for upcoming plans and ideas.
## Support or feedback
If you have ideas for this project or need assistance, please contact us via the [project issue tracker](https://github.com/maasglobal/sustainable-mobility-api/issues).