This release is a pre-release and may not be stable for production use.
MicPy
MicPy is a Python package for working with MICRESS simulation data. It provides efficient tools to read, process, visualize, and convert MICRESS output, helping streamline simulation workflows.
Features
- Read MICRESS tabular output directly into Pandas DataFrames.
- Read MICRESS binary field data into NumPy arrays.
- Quickly visualize field data with a built-in Matplotlib plotting interface with automatic physical axis scaling.
- Export field data to VTK as either CellData or PointData, with support for length unit conversion and legacy VTK files.
- Use the ParaView plugin to directly open MICRESS binary field files, switch between CellData and PointData, and convert length units on the fly.
- Extend MICRESS datasets beyond their original simulation domain directly in ParaView, with support for periodic, insulating, and symmetric boundary conditions.
Installation
Install MicPy from PyPI:
pip install micress-micpy
Requires Python 3.11 or later.
Documentation
Full documentation, tutorials, and API reference are available at:
https://docs.micress.de/micpy/
Quick Start
Read tabular output
from micpy.tab import read
df = read("A001_Delta_Gamma.TabF")
print(df.head())
Read and visualize field data
from micpy.bin import read
field = read("A001_Delta_Gamma.conc1", -1) # last timestep
fig, ax, cbar = field.plot()
Export to VTK
from micpy.bin import read
field = read("A001_Delta_Gamma.conc1", -1)
field.save_vti("conc1.vti")
Contributing
Bug reports, feature requests, and contributions are welcome. Please open an issue or submit a pull request through the project repository.
Metadata
Release files for micress-micpy 0.4.3b7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| micress_micpy-0.4.3b7-py3-none-any.whl | Python 3 | none | any | Details for micress_micpy-0.4.3b7-py3-none-any.whl |
Release files / micress_micpy-0.4.3b7-py3-none-any.whl
| Download URL | micress_micpy-0.4.3b7-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fccb3fa77edf45d6398652cfcf9203c27839d3bb11ab579ddc434b0db1fbd60
|
|
BLAKE2b-256 checksum How to use checksums |
38c72af9878b3a39dfaff782b4790ac9223e42df86d9bc9a5bfbf67f0ca3c9ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for micress-micpy 0.4.3b7
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.