byteparsing

Parser library for reading custom binary files from Python.

1
mention
2
contributors
93 commits | Last update: May 03, 2021

Cite this software

Choose a version:
DOI:
[[ releases.length > 0 ? releases[selectedIndex].doi : conceptDOI ]]
Copy to clipboard
Choose a reference manager file format:
Download file

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.

Read more
Tags
  • Big data
  • Optimized data handling
  • Multi-scale & multi model simulations
Programming Language
  • Python
License
  • Apache-2.0
Source code

Participating organizations

Contributors

  • Johan Hidding
    Netherlands eScience Center
  • Pablo Rodríguez-Sánchez
    Netherlands eScience Center
Contact person
Johan Hidding
Netherlands eScience Center

Information for page maintainers

OAI-PMH metadata:
OK
citation metadata:
OK
Show