Skip to main content

Python utilities for processing FLEKS data

Project description

flekspy: FLEKS Python toolkit

PyPI version

Python package for processing FLEKS (FLexible Exascale Kinetic Simulator) data.

Installation

python -m pip install flekspy

Usage

flekspy can load files generated from FLEKS.

import flekspy

ds = flekspy.load("sample_data/3*amrex")

Plotting is supported via Matplotlib and YT. For more detailed usage and contribution guide, please refer to the documentation.

ParaView Plugin

flekspy provides a ParaView plugin for visualizing FLEKS data. To use the plugin, follow these steps:

  1. Make sure the ParaView version is 5.13 or higher.

  2. Install flekspy for pvpython.

  • Go into the ParaView directory and create a virtual environment for Python
./bin/pvpython -m venv .venv
  • Check the Python version of pvpython
./bin/pvpython -c "import sys; print(sys.version)"
  • Install flekspy in the directory right in the venv. You may need to adjust the target path if pvpython does not detect flekspy. Assuming the Python version is 3.10.11, run
python3 -m pip  install --only-binary=:all: --python-version 3.10.11 --target ./.venv/lib/python3.10/site-packages/ flekspy
  1. Launch ParaView with the virtual environment
./bin/paraview --venv .venv
  1. In Tools > Manage Plugins, load the BATSRUSReader plugin.

License

flekspy is licensed under the terms of the MIT license.

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

flekspy-0.7.1.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

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

flekspy-0.7.1-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

File details

Details for the file flekspy-0.7.1.tar.gz.

File metadata

  • Download URL: flekspy-0.7.1.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flekspy-0.7.1.tar.gz
Algorithm Hash digest
SHA256 dad6083f8839f2172b3781741163491f5554b0d347ebe88ac405e36f4c508a85
MD5 2d638adebfd621f56abce5d8546a92d0
BLAKE2b-256 d7077dcde6fb85d0e2449019eed0eacfcdf4732c7b1399e78d1f51a43f5ca1a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for flekspy-0.7.1.tar.gz:

Publisher: release.yml on henry2004y/flekspy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flekspy-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: flekspy-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 75.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flekspy-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c99cfee74f11cf22d9146c09b73cc3bfc5bf2c15b3336807769885f069cad551
MD5 7f23b674412fde3c230d6116543f7e1e
BLAKE2b-256 06f866f3c84da757407bddae2adc770eaab5e9fafc074681b0732a67bec18344

See more details on using hashes here.

Provenance

The following attestation bundles were made for flekspy-0.7.1-py3-none-any.whl:

Publisher: release.yml on henry2004y/flekspy

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