Skip to main content

This package helps you become aware of the carbon footprint of your computation

Project description

Run Tests Publish to PyPI

This repository contains the main functionality of the codegreen project. The complete documentation including installation and usage are available on the documentation website.

Development

Installation

  • git clone
  • install poetry
  • install in editable mode : poetry install

Github workflows

Changes in the repo also triggers github actions

Development workflow

  • the release branch contains the latest stable version of the released python package
  • the main branch contains stable, tested code ready to be released.
  • the dev branch is the main working branch. All feature branches are merged to dev

Releasing the package

  • Ensure new changes are merged to dev and the version number is bumped according to sematic versioning.
  • Merge devto main. This should trigger tests.
  • Create a git tag for the new version :
git checkout main
git pull
git tag vX.Y.Z  # Replace X.Y.Z with the new version number
git push origin vX.Y.Z
  • Create a PR from main to release and get one approval
  • Once the PR is merged, it will trigger the release of the new package version and publish the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codegreen_core-0.0.6.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codegreen_core-0.0.6-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

Details for the file codegreen_core-0.0.6.tar.gz.

File metadata

  • Download URL: codegreen_core-0.0.6.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for codegreen_core-0.0.6.tar.gz
Algorithm Hash digest
SHA256 8f483b1095e9f20a5578e56c49bd4a5dd37384cce5b6c092822c7dff4d6a3f47
MD5 7c07bf76790c5e3779e72dfcd2901643
BLAKE2b-256 31063bdf1b7bae878d000427fa58a4c38542eb9fae47238855f1df38c7e664d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for codegreen_core-0.0.6.tar.gz:

Publisher: workflow.yml on codegreen-framework/codegreen-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codegreen_core-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: codegreen_core-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 39.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for codegreen_core-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 256796a080a850f478809091a75889fd4ddeb97bd19df0fd2c5cf7c545ee024f
MD5 ed5b76de8edb8d831fc39afbdd4eebdb
BLAKE2b-256 5960c0ead549963c44dcc6cea58d258b34257346a5269c6c3230926fa0e0248f

See more details on using hashes here.

Provenance

The following attestation bundles were made for codegreen_core-0.0.6-py3-none-any.whl:

Publisher: workflow.yml on codegreen-framework/codegreen-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page