Basic interface to interact with SMS++
Project description
pySMSpp
This package aims at providing a python interface to create SMS++ models using a simple python interface. The package aims to support:
- Read/write operations of SMS++ models from/to netCDF4 files
- Add/remove/edit operations model components
- Execution of SMS++ models
- Reading SMS++ results as netCDF4 files
How to develop
-
First, clone the repository using git:
git clone https://github.com/SPSUnipi/pySMSpp
-
Create a virtual environment using venv or conda. For exaample, using venv:
python -m venv .venv source .venv/bin/activate
Alternatively, using conda:
conda create -n pysmspp python=3.10 conda activate pysmspp
-
Install the required packages and pre-commit hooks:
pip install -e .[dev] pre-commit install
Note that the
-ecommand line option installs the package in editable mode, so that changes to the source code are immediately available in the environment being used. The[dev]option installs the packages required for development. Thepre-commit installcommand installs the pre-commit hooks, which are used to check the code before committing to ensure code quality standards. -
Develop and test the code. For testing, please run:
pytest
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
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 pysmspp-0.0.2.tar.gz.
File metadata
- Download URL: pysmspp-0.0.2.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5b16591dcd8d7ce51adfab8f236656a29b3afcd4bf6bb5c0c63c84c5cd8e0a9
|
|
| MD5 |
a3dbf2e8da345726b09e681e024a6f70
|
|
| BLAKE2b-256 |
81814a9caad76d82ace2baec78d35251595e0d83e0eca9009ae0cbb6ebd4a3b0
|
Provenance
The following attestation bundles were made for pysmspp-0.0.2.tar.gz:
Publisher:
release.yml on SPSUnipi/pySMSpp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysmspp-0.0.2.tar.gz -
Subject digest:
c5b16591dcd8d7ce51adfab8f236656a29b3afcd4bf6bb5c0c63c84c5cd8e0a9 - Sigstore transparency entry: 846433519
- Sigstore integration time:
-
Permalink:
SPSUnipi/pySMSpp@7d6568302826fb41bf05283cd51021f12d3e8cf1 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/SPSUnipi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d6568302826fb41bf05283cd51021f12d3e8cf1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pysmspp-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pysmspp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 38.1 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 |
dc6c1b207d39e922d3525f17eb4d2a8d0ce54c4780412ff6776faf5608c6f92e
|
|
| MD5 |
91095ec76274ee2bc8ff92faf2c1917f
|
|
| BLAKE2b-256 |
fc7b857aa40df855bfdc5ea770bb3920b222459cc228d8e377acf41baf43991f
|
Provenance
The following attestation bundles were made for pysmspp-0.0.2-py3-none-any.whl:
Publisher:
release.yml on SPSUnipi/pySMSpp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysmspp-0.0.2-py3-none-any.whl -
Subject digest:
dc6c1b207d39e922d3525f17eb4d2a8d0ce54c4780412ff6776faf5608c6f92e - Sigstore transparency entry: 846433521
- Sigstore integration time:
-
Permalink:
SPSUnipi/pySMSpp@7d6568302826fb41bf05283cd51021f12d3e8cf1 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/SPSUnipi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d6568302826fb41bf05283cd51021f12d3e8cf1 -
Trigger Event:
push
-
Statement type: