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.
Metadata
Release files for marine-carbon-management 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| marine_carbon_management-0.1.1.tar.gz | 231.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marine_carbon_management-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 285.3 kB
Release files / marine_carbon_management-0.1.1.tar.gz
| Download URL | marine_carbon_management-0.1.1.tar.gz |
|---|---|
| Size | 231.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cb6f8e4bda36198d717dc90470a788b6fa87735af3bb647d145ab929401e806
|
|
BLAKE2b-256 checksum How to use checksums |
d92833955c16f8b951790ec12d18026a8a034f11e69bc58f858330aedf0ef611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency logRelease files / marine_carbon_management-0.1.1-py3-none-any.whl
| Download URL | marine_carbon_management-0.1.1-py3-none-any.whl |
|---|---|
| Size | 53.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5703b8c434a0190cda76a7a180cd64623bca804f81e0f237d4b1f514a8f4bb77
|
|
BLAKE2b-256 checksum How to use checksums |
a02268eafb52a7df30abcadfc472f199bf127bc918e678d4a41f08c425489cf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency log