Skip to main content

Basic interface to interact with SMS++

Project description

pySMSpp

Tests Documentation Status pre-commit.ci status

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

  1. First, clone the repository using git:

        git clone https://github.com/SPSUnipi/pySMSpp
    
  2. 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
    
  3. Install the required packages and pre-commit hooks:

        pip install -e .[dev]
        pre-commit install
    

    Note that the -e command 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. The pre-commit install command installs the pre-commit hooks, which are used to check the code before committing to ensure code quality standards.

  4. 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

pysmspp-0.0.2.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

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

pysmspp-0.0.2-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

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

Hashes for pysmspp-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c5b16591dcd8d7ce51adfab8f236656a29b3afcd4bf6bb5c0c63c84c5cd8e0a9
MD5 a3dbf2e8da345726b09e681e024a6f70
BLAKE2b-256 81814a9caad76d82ace2baec78d35251595e0d83e0eca9009ae0cbb6ebd4a3b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysmspp-0.0.2.tar.gz:

Publisher: release.yml on SPSUnipi/pySMSpp

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

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

Hashes for pysmspp-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6c1b207d39e922d3525f17eb4d2a8d0ce54c4780412ff6776faf5608c6f92e
MD5 91095ec76274ee2bc8ff92faf2c1917f
BLAKE2b-256 fc7b857aa40df855bfdc5ea770bb3920b222459cc228d8e377acf41baf43991f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysmspp-0.0.2-py3-none-any.whl:

Publisher: release.yml on SPSUnipi/pySMSpp

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