Skip to main content

Basic interface to interact with SMS++

Project description

pySMSpp

Tests Documentation Status pre-commit.ci status Size

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.5.tar.gz (49.2 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.5-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysmspp-0.0.5.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysmspp-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2bdd30285b3b1d0c43454d38fe1aa5d2baf3dbd30109376ff96893cace500c35
MD5 20c7ecf5b1e1058a3caa87c0b75cb7e4
BLAKE2b-256 f5bbda60f60ef4d8d13ff3afcb0b7bbf200ba5e0d4e8123c517ab469f4821fb9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pysmspp-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysmspp-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d42aab1114228c663b023e98a576fea3dc28d8a19898dfedf40b254825cc88
MD5 f749ab8cc031b422e6d22e8da358a90b
BLAKE2b-256 40cb2f25dc29d3c6d67ad22586ca688fb8efb0d8163ea219ca8b4d473816a7a9

See more details on using hashes here.

Provenance

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