Skip to main content

pypsa2smspp

Tests Documentation Status Size

This package aims at providing a python interface between PyPSA and SMS++ models using a simple python interface. The package aims to support:

  • Convert a PyPSA model to SMS++
  • Execute the optimization of the so-created SMS++ model
  • Parse the solution from the SMS++ model to PyPSA

How to develop

  1. First, clone the repository using git:

        git clone https://github.com/SPSUnipi/pypsa2smspp
    
  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 pypsa2smspp python=3.12 pip
        conda activate pypsa2smspp
    
  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
    

Metadata

Release files for pypsa2smspp 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypsa2smspp 0.0.5
File Size Uploaded
pypsa2smspp-0.0.5.tar.gz 108.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypsa2smspp 0.0.5
File Interpreter ABI Platform
pypsa2smspp-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 209.5 kB

Release files / pypsa2smspp-0.0.5.tar.gz

Download URL pypsa2smspp-0.0.5.tar.gz
Size 108.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bb0c025ea408a76e81d922e7a1e841fef0dee4df7be8552d1c3988d76d9f50d8
BLAKE2b-256 checksum
How to use checksums
bc94a6ab305b7520ed06a616813d1cf6b8d9a5300a016f56de65db2d527a3db1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 11, 2026.

Transparency log

Release files / pypsa2smspp-0.0.5-py3-none-any.whl

Download URL pypsa2smspp-0.0.5-py3-none-any.whl
Size 101.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38773bd82c018b6ceeb30c8ca9dcaed03858f841191791200b92b1832e032db8
BLAKE2b-256 checksum
How to use checksums
4bc7a454056839b44ed36b88446db7eaeba762767da8b25b9e72fe233823930f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page