byteparsing

Parser library for reading custom binary files from Python.

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

Cite this software

What byteparsing can do for you

  • 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

Netherlands eScience Center
University of Groningen

Mentions

Breaking the barrier: fluid simulations parallel-in-time

Author(s): Johan Hidding
Published in 2019

Contributors

Pablo Rodríguez-Sánchez
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 25 months ago
Finished