marine carbon management package
Project description
MarineCarbonManagement
The marine carbon management software is an open-source Python based software that contains generic models for marine carbon capture. More models are under development and will be added soon.
Software requirements
- Python version 3.10+
Installing Marine Carbon Management
PyPI
pip install marine-carbon-management
Source Installation
-
Using Git, navigate to a local target directory and clone repository:
git clone https://github.com/NREL/MarineCarbonManagement.git
-
Navigate to
MarineCarbonManagementcd MarineCarbonManagement
-
Create a new virtual environment and change to it. Using Conda and naming it 'mcm':
conda create --name mcm python=3.11 -y conda activate mcm
-
Install MarineCarbonManagement and its dependencies:
-
If you want to just use MarineCarbonManagement:
pip install .
-
If you also want development dependencies for running tests:
pip install -e ".[develop]"
-
If you also want development dependencies for running tests:
pip install -e ".[examples]"
-
In one step, all dependencies can be installed as:
pip install -e ".[all]"
-
-
Verify setup by running tests:
pytest
Release Notes
-
Ensure tests pass.
-
Ensure README is up to date with any updated information.
-
Ensure dependency and Python versions are up to date.
-
Ensure
CHANGELOG.mdis up to date. -
Bump version in
mcm/__init__.pyusing semantic versioning logic (https://semver.org/). -
Make a pull request into the
mainbranch fromdevelopor a patch release branch.- Merge
mainback intodevelop, ifdevelopwas not the base branch.
- Merge
-
Tag the new release and push it.
git tag -a v1.2.3 -m "message for v1.2.3" git push origin v1.2.3
-
This will kick off the "Deploy to Test PyPI" GitHub action. If this aciton passes successfully, move onto the step 8. If the action failed, keep following these sub instructions.
-
Delete the tag locally and on remote.
git tag -d v1.2.3 git push --delete origin v1.2.3
-
Create a new branch off main, and fix whatever was broken in the build process.
-
Return to step 5.
-
-
Create a new release at https://github.com/NatLabRockies/MarineCarbonManagement/releases, ensuring that:
- The newly created tag is selected, and
- "Generate release notes" is selected.
This will kick off the "Deploy to PyPI" GitHub action, and should pass if the "Deploy to Test PyPI" action passed. In the rare instance that the "Deploy to PyPI" action fails, follow the steps starting at 6.2. Just note that the Test PyPI action will now fail, so there will not be a check to ensure publishing to PyPI should work.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marine_carbon_management-0.1.1.tar.gz.
File metadata
- Download URL: marine_carbon_management-0.1.1.tar.gz
- Upload date:
- Size: 231.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cb6f8e4bda36198d717dc90470a788b6fa87735af3bb647d145ab929401e806
|
|
| MD5 |
486d9627dc509a6e9b586db4911f9335
|
|
| BLAKE2b-256 |
d92833955c16f8b951790ec12d18026a8a034f11e69bc58f858330aedf0ef611
|
Provenance
The following attestation bundles were made for marine_carbon_management-0.1.1.tar.gz:
Publisher:
python-publish.yml on NatLabRockies/MarineCarbonManagement
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
marine_carbon_management-0.1.1.tar.gz -
Subject digest:
1cb6f8e4bda36198d717dc90470a788b6fa87735af3bb647d145ab929401e806 - Sigstore transparency entry: 955138972
- Sigstore integration time:
-
Permalink:
NatLabRockies/MarineCarbonManagement@6195f8596e55d5b4e3bd942479abccd6ba9d538f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6195f8596e55d5b4e3bd942479abccd6ba9d538f -
Trigger Event:
release
-
Statement type:
File details
Details for the file marine_carbon_management-0.1.1-py3-none-any.whl.
File metadata
- Download URL: marine_carbon_management-0.1.1-py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5703b8c434a0190cda76a7a180cd64623bca804f81e0f237d4b1f514a8f4bb77
|
|
| MD5 |
c21688ccaade65bc97c5125e2ca2c2c4
|
|
| BLAKE2b-256 |
a02268eafb52a7df30abcadfc472f199bf127bc918e678d4a41f08c425489cf9
|
Provenance
The following attestation bundles were made for marine_carbon_management-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on NatLabRockies/MarineCarbonManagement
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
marine_carbon_management-0.1.1-py3-none-any.whl -
Subject digest:
5703b8c434a0190cda76a7a180cd64623bca804f81e0f237d4b1f514a8f4bb77 - Sigstore transparency entry: 955138974
- Sigstore integration time:
-
Permalink:
NatLabRockies/MarineCarbonManagement@6195f8596e55d5b4e3bd942479abccd6ba9d538f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6195f8596e55d5b4e3bd942479abccd6ba9d538f -
Trigger Event:
release
-
Statement type: