Digital service environmental footprint model
Project description
E-footprint model
A toolkit for exhaustively modeling the environmental impact of digital services.
The current perimeter is the carbon footprint associated with the fabrication and usage of servers, storage, network (usage only) and end-user devices necessary for the existence of a digital service. Other environmental impacts (water, rare earth metals, etc.) will be added soon through an integration with the Boavizta API, and the lifecycle phases of device transportation and end of life are currently considered negligible.
Getting started
Documentation
Here is the link to the e-footprint documentation. There you will find a description of all the e-footprint objects, their parameters, the relationship between the objects and the calculated attributes and their graphs.
Didactic interface
You can explore the model’s didactic interface. This interface allows for a limited use of the model, with only one user journey on a single service when the code allows for an unlimited amount of objects. The goal is to let users discover the inputs and explore the calculation graphs (see below).
Modeling examples
Checkout our open source e-footprint modeling use cases.
Tutorial
pip install efootprint
You can then run the jupyter notebook tutorial to familiarize yourself with the object logic and generate an object relationship graph and a calculation graph as HTML files in the current folder.
To launch jupyter:
# Todo once to setup jupyter kernel
poetry run ipython kernel install --user --name=efootprint-kernel
# Start Jupyter server with poetry
poetry run jupyter notebook tutorial.ipynb
Dev setup
Check out INSTALL.md.
Code logic
The code has been architectured to separate modeling from optimization from API logic. The goal is to make contribution to the modeling logic as straightforward as possible.
- Scripts that deal with modeling logic are located in efootprint/core.
- Optimizations (having the model rerun the right calculations whenever an input attribute or a link between objects changes) are dealt with in efootprint/abstract_modeling_classes.
- The API doesn’t exist yet but will be also decoupled from the modeling and optimization logics.
Contributing
Check out CONTRIBUTING.md
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for efootprint-1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d5c26af79527ca0928ebe169bb21259a146293eb8b5b6183396d454d027df6 |
|
MD5 | d4fadf60a1743951178e251c627b69ab |
|
BLAKE2b-256 | 3276a6c3e15603269df75aac8dc311a744e8bff97599c8d140f8657966ea8f54 |