Skip to main content

Extensible toolkit for analyzing turbulent flow datasets

Project description

turbx

PyPI version Downloads

About

turbx is a package for processing turbulent flow datasets. Primary data access classes are super()ed wrappers of h5py.File that make data & metadata access tidy and performant. Workloads requiring heavy I/O and compute are made scalable using parallelization and high-performance collective MPI-IO.

Pre-installation requirements

h5py

turbx is designed to be used with parallel-mode h5py, the python3 API for HDF5. Most basic workflows will still work transparently with the basic serial install of h5py, however data-heavy workflows will require the full API functionality. This requires:

  • A parallel HDF5 installation
  • h5py built with HDF5_MPI="ON"; see h5py docs

Confirm that h5py was built with MPI support:

>>> import h5py
>>> h5py.get_config().mpi
True

mpi4py

High-performance collective MPI-IO and MPI operations are handled with mpi4py. This requires:

  • An MPI implementation such as OpenMPI or MPICH
  • mpi4py; see mpi4py docs

Installation

TL;DR

Install binary directly from PyPI:

python3 -m pip install --upgrade turbx

Non-root install with --user

The --user flag can be added to install to ~/.local/lib/pythonX.Y/site-packages rather than site-packages of the python3 installation itself. This is often required for HPC environments where installing packages for the system python3 is not allowed for regular users.


Editable installs

turbx can also be installed from source in editable mode (see setuptools docs). Once the source is acquired (PyPI or GitLab), the source can be installed from the project root folder:

python3 -m pip install --upgrade -e .

Installing on systems with no outbound network access

If the restricted install environment requires devpi-server:

On a local machine with internet access:

devpi-server

On a local machine with internet access:

ssh -R <remote_port>:localhost:<local_devpi_port> user@domain.com
  • <local_devpi_port> is the port on which devpi-server is running locally
  • <remote_port> is an arbitrary free port on the system login node used to expose the mirror remotely
  • After connecting, the PyPI mirror will be reachable on the server side at: http://localhost:<remote_port>

On the remote system:

python3 -m pip install --upgrade [--user] [--editable] --index-url http://localhost:<remote_port>/root/pypi/+simple/ <package-or-path>

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

turbx-1.2.5.tar.gz (224.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turbx-1.2.5-py3-none-any.whl (246.8 kB view details)

Uploaded Python 3

File details

Details for the file turbx-1.2.5.tar.gz.

File metadata

  • Download URL: turbx-1.2.5.tar.gz
  • Upload date:
  • Size: 224.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for turbx-1.2.5.tar.gz
Algorithm Hash digest
SHA256 c2044e3fcc4e764f86382b3336aa3b0827108870ef8a1993b438df985f2464b2
MD5 581ebdd18b6fca1babb08c56f89706e4
BLAKE2b-256 e49a39ff8130b3d1c9d6be2035e5b9d990e49da65d5ad541a3682c8819b68c37

See more details on using hashes here.

File details

Details for the file turbx-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: turbx-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 246.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for turbx-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf3f556b87f28835098ed940063e6d36b95c6aaab0e18b963b92ec32ba6cdfc
MD5 6fde2bd06317700e21ccc839f2075407
BLAKE2b-256 b249d474cf2cd5777df4a5762f743ce51c7e9c01e35289247a888b2a30b5399c

See more details on using hashes here.

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