byteparsing

Parser library for reading custom binary files from Python.

1
mention
2
contributors
Get started
202020212022202320242025
170 commitsLast commit ≈ 23 months ago3 stars1 fork

Cite this software

Description

  • Read binary OpenFOAM files
  • Uses memory mapping for efficient access
  • Parser/combinator library for writing mixed ascii/binary parsers

The main aim of this package is to read and alter OpenFOAM binary files. These files are a mixed form of a ASCII based C syntax with binary blobs of data intermixed. Byteparsing uses memory mapping for efficient access with Numpy.
Byteparsing builds on a parser-combinator stack that can be adapted for other file types as well. An example is included for PLY (3D polygon data) files.

Keywords
Programming languages
  • Jupyter Notebook 90%
  • Python 8%
  • C++ 1%
  • Other 1%
License
</>Source code

Participating organisations

Net
Uni

Mentions

Breaking the barrier: fluid simulations parallel-in-time

Author(s): Johan Hidding
Published in 2019

Contributors

PR
Pablo Rodríguez-Sánchez

Related projects

Parallel-in-time methods for the propagation of uncertainties in wind-farm simulations

Studying uncertainties in large eddy simulations of wind farms

Updated 28 months ago
Finished
We use cookies with matomo.org to provide a better user experience.
Read more