Skip to main content

This package provides Python bindings for the projection-based model reduction C++ library Pressio (website). The goal of this project is to enable leading-edge projection-based model reduction for (large-scale) linear and nonlinear dynamical systems.

Install

You need a C++14-compliant compiler and then do:

export CXX=<path-to-your-C++-compiler>
pip install pressio4py

You can double check that everything worked fine by doing:

import pressio4py
print(pressio4py.__version__)

Running Demos/Tutorials

After installing the library, you can run the regression tests:

git clone --recursive git@github.com:Pressio/pressio4py.git
cd pressio4py
pytest -s

And you can check out the demos:

git clone --recursive git@github.com:Pressio/pressio4py.git
cd pressio4py/demos
python3 ./<demo-subdir-name>/main.py

Documentation

The documentation (in progress) can be found (here) with some demos already available.

Citations

If you use this package, please acknowledge our work-in-progress:

  • Francesco Rizzi, Patrick J. Blonigan, Eric. Parish, Kevin T. Carlberg “Pressio: Enabling projection-based model reduction for large-scale nonlinear dynamical systems” https://arxiv.org/abs/2003.07798

Release files for pressio4py 0.12.0

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

Source distribution (sdist)

Source distribution for pressio4py 0.12.0
File Size Uploaded
pressio4py-0.12.0.tar.gz 925.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pressio4py 0.12.0
File Interpreter ABI Platform
pressio4py-0.12.0-cp37-cp37m-macosx_10_15_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 Details

Total release size: 1.5 MB

Release files / pressio4py-0.12.0.tar.gz

Download URL pressio4py-0.12.0.tar.gz
Size 925.9 kB
Tags Source
SHA-256 checksum
How to use checksums
be95d41fb3d727975e96a01c97ea2ebf79b134f9a5042d6a7e1668fbd0c3073d
BLAKE2b-256 checksum
How to use checksums
048ef2358cd1dbbf2b146a9b695d76c6b5253e60877cbd2704e1cc11b003e6f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.5.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.8

Release files / pressio4py-0.12.0-cp37-cp37m-macosx_10_15_x86_64.whl

Download URL pressio4py-0.12.0-cp37-cp37m-macosx_10_15_x86_64.whl
Size 573.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
ad40e79850c95c83cf22e2f1fcb18fb5ce9729fbb604aea0b11281969485479f
BLAKE2b-256 checksum
How to use checksums
74d5c556623679ef8c563456518ba8491fea66c261b2cbc10da1cff7c22b3f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.5.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.8
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