Skip to main content

Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)

Project description

HELICS Python Interface

HELICS is a cross-platform co-simulation framework that enables multiple simulation tools to exchange data and stay synchronized in time to create larger simulations. This is the Python wrapper for the C API provided by HELICS. If you're looking for the HELICS apps, see the helics_apps pip package.

Installation

As a general recommendation if you are on an older system or version of Python, it is probably a good idea to update pip with python -m pip install --upgrade to make sure you have the latest features. At minimum for the Linux binary wheels to work properly, pip 19.0 is required.

After that, running python -m pip install helics should fetch a binary wheel if one is available for your platform. Otherwise, you may need to set your environment up with a HELICS install and CMake so that pip can build the extension from source.

Binary distributions

This package provides pre-compiled binary wheels for the following CPython versions:

  • Linux 64-bit Python 2.7 and 3.4-3.8 (manylinux2010 compatible)
  • macOS (10.9+) 64-bit Python 2.7 and 3.5-3.8
  • Windows 32/64-bit Python 2.7 and 3.5-3.8

Each of the binary wheels for the above platforms includes a copy of the helics C shared library. For other HELICS apps such as the broker, the HELICS project provides pre-compiled copies of those apps for 64-bit macOS and Windows systems on the GitHub Releases page and in a pip package called helics_apps

Source distributions

In addition, a source distribution is provided to build a copy of the Python interface from source. You will need a recent copy of CMake and a C++11 compatible compiler to build and install a copy of HELICS on your system first. After that, pip can be used to build the Python extension. Note that if you installed HELICS to location not on your system PATH, you may need to set CMAKE_PREFIX_PATH to the HELICS install prefix (the folder with lib/include/share subfolders) prior to using pip to build the interface.

Release

HELICS is distributed under the terms of the BSD-3 clause license. All new contributions must be made under this license. LICENSE

SPDX-License-Identifier: BSD-3-Clause

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helics-2.6.0.tar.gz (17.1 MB view hashes)

Uploaded source

Built Distributions

helics-2.6.0-cp38-cp38-win_amd64.whl (1.5 MB view hashes)

Uploaded cp38

helics-2.6.0-cp38-cp38-win32.whl (1.3 MB view hashes)

Uploaded cp38

helics-2.6.0-cp37-cp37m-win_amd64.whl (1.5 MB view hashes)

Uploaded cp37

helics-2.6.0-cp37-cp37m-win32.whl (1.3 MB view hashes)

Uploaded cp37

helics-2.6.0-cp36-cp36m-win_amd64.whl (1.5 MB view hashes)

Uploaded cp36

helics-2.6.0-cp36-cp36m-win32.whl (1.3 MB view hashes)

Uploaded cp36

helics-2.6.0-cp35-cp35m-win_amd64.whl (1.5 MB view hashes)

Uploaded cp35

helics-2.6.0-cp35-cp35m-win32.whl (1.3 MB view hashes)

Uploaded cp35

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page