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.3.tar.gz (48.9 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.3-py3-none-any.whl (55.3 kB view details)

Uploaded Python 3

File details

Details for the file pysmspp-0.0.3.tar.gz.

File metadata

  • Download URL: pysmspp-0.0.3.tar.gz
  • Upload date:
  • Size: 48.9 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.3.tar.gz
Algorithm Hash digest
SHA256 edcd6ceed9ef9a93ff5267eb69be956eda03b5bc1f05134213b99dce5b734ac9
MD5 db336bcde361083d22c1fffdb0da808d
BLAKE2b-256 131a38de0ecae5fbc385e9077077a05747db92f89f5a710dc5c54c04f2c96a34

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysmspp-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: pysmspp-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 55.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14564db3c6d13740bad820a4f9d30900ed112f06cec78aad7507298c33336539
MD5 2240ebdf2e74bb3ff6fc2d047ace9d73
BLAKE2b-256 d5f525b18cf2f12c81425c9efeae691b2092af0d5f4a527f1729ab230b4b7aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysmspp-0.0.3-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