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
Installation
Check out INSTALL.md.
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.
Graphical interface
You can explore the model’s graphical interface. This interface allows for a powerful use of the model but is still in beta for now. Please send an email to e-footprint’s main maintainer, Vincent Villet if you wish to give feedback and / or be notified when the interface gets to a first stable version !
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
File details
Details for the file efootprint-8.0.0.tar.gz
.
File metadata
- Download URL: efootprint-8.0.0.tar.gz
- Upload date:
- Size: 83.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.7 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33d57dcea8b2897379aa386daa58838c6c0b5d9abc8e28d6ee77ef60e3bf1427 |
|
MD5 | 02115dd773f2b18c8dc85cc0f1ce7dcc |
|
BLAKE2b-256 | 7bb71767e6be8a337cd487b2704002494869f17fa0c28b4fdc84b94329485b2c |
File details
Details for the file efootprint-8.0.0-py3-none-any.whl
.
File metadata
- Download URL: efootprint-8.0.0-py3-none-any.whl
- Upload date:
- Size: 100.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.7 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c20211e2a721dfe387c5866ec0c9bb6427ffb0bd32787a4d6778dfb806247e9a |
|
MD5 | da86b71602e1a74f894394d78e679b4d |
|
BLAKE2b-256 | e03507e884e21857b858d497976e089502409fd6838fa0ea1bfbe06d3ecc7b66 |