No project description provided
Project description
Co2 Switzerland
This project was created during the GovTech Hackathon 2024 in Berne, Switzerland. The theme is "Network Switzerland." Under this title, participants will be seeking solutions for digital networking - both within the public administration and with third parties. Meet developers, experts, and interested parties from administration, business, and civil society and collaborate on laying the digital foundations of our society.
Project
Our project in the hackathon aims to retrieve the Carbon Footprint data from cities. We were able to achieve this in France. The downside is that in Switzerland, the data are not universally available and not in the same format everywhere. That's why we aim to raise awareness of this issue by participating in Federal Events. Through these events, we hope to be contacted by the right people to effect change.
Rules
Commit
In this project we follow the Angular Conventional Commits. If you wish to participate, please follow them.
Branchs
Please create you're own branch with you're name and with the features that you wish to implement, once the features done, create a pull request with all the required details. The branchs naming should follow this pattern: main+<trigram>+<feature> per example for Adam Bonnet it's main+abo+init.
How-To
Setup / Install
In order to make this project work you'll need to install the following:
- at least python 3.10
- pipx
- poetry (using pipx)
- pre-commit
- git
once all these packages installed you can now do the following: if the first one isn't working use the second link
git clone git@github.com:MyCityCO2/co2-switzerland.git
git clone https://github.com/MyCityCO2/co2-switzerland.git
cd co2-switzerland
pre-commit install
now you should be all goods to run the project
Run the project
Since were using poetry as our package manager you'll need to do the following:
poetry shell
now you are in the right environnment. Try to do the commands co2
, if it work and showing you 3 commands: switzerland, plugins, version. To be really sure you can do co2 plugins list
and if switzerland is showing then nice job, you just install the project. Now let's work together in order to finish this GovTech Hackathon
Changelog and Versionning
The changelog and versionning is managed by semantic release, so once you're finish you're features, create a merge request and it get merged, you'll need to git checkout main && git pull
, in order to get the news values.
PLEASE DO NOT TOUCH THE VERSION VARIABLE OTHERWISE YOU'RE FEATURES WON'T BE MERGED.
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 co2_switzerland-0.1.0.tar.gz
.
File metadata
- Download URL: co2_switzerland-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4a1c355fbc8f61c8b955ee79fc4cdaee6d41ebd97f49a0707470f232df0086 |
|
MD5 | 4d8abcec196bcf5460f67f1d1524dec2 |
|
BLAKE2b-256 | 4c971d6a3931cf25e3eb62b21d50902343c017479bdeb90d9eef2137f129aee1 |
File details
Details for the file co2_switzerland-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: co2_switzerland-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 213b1d5b6fa6f63cf0e7f9acfa80df570b69de198665ea6073253b88e5efcb40 |
|
MD5 | c70480b3d07a2b72526ec1b26241cce6 |
|
BLAKE2b-256 | 82d566d5d4d2feac8ffb9798ae8ba2522d9dec0150688f8b3076645d1add7ea8 |