Journal article Open Access

General binary file parser version 1.0.1

Jeroen F.J. laros

JSON Export

  "files": [
      "links": {
        "self": ""
      "checksum": "md5:32f28fafa5c0dfc519e4e7acb5606a71", 
      "bucket": "31cbe2fc-60b8-437e-9e68-b5d2a235babf", 
      "key": "bin-parser-1.0.1.tar.gz", 
      "type": "gz", 
      "size": 45481
  "owners": [
  "doi": "10.5281/zenodo.1295625", 
  "stats": {
    "version_unique_downloads": 3.0, 
    "unique_views": 51.0, 
    "views": 52.0, 
    "downloads": 4.0, 
    "unique_downloads": 3.0, 
    "version_unique_views": 51.0, 
    "volume": 181924.0, 
    "version_downloads": 4.0, 
    "version_views": 52.0, 
    "version_volume": 181924.0
  "links": {
    "doi": "", 
    "conceptdoi": "", 
    "bucket": "", 
    "conceptbadge": "", 
    "html": "", 
    "latest_html": "", 
    "badge": "", 
    "latest": ""
  "conceptdoi": "10.5281/zenodo.1295624", 
  "created": "2018-06-21T16:53:19.411668+00:00", 
  "updated": "2018-06-21T19:02:20.561416+00:00", 
  "conceptrecid": "1295624", 
  "revision": 4, 
  "id": 1295625, 
  "metadata": {
    "access_right_category": "success", 
    "doi": "10.5281/zenodo.1295625", 
    "description": "<p>This library provides general binary file parsing by interpreting documentation of a file structure and data types. By default, it supports basic data types like big-endian and little-endian integers, floats and doubles, variable length (delimited) strings, maps and bit fields (flags) and it can iterate over sub structures. Other data types are easily added.</p>\n\n<p>The file structure and the types are stored in nested dictionaries. The structure is separated from the types, this way multiple file formats using the same types (within one project for example) can be easily supported without much duplication.</p>\n\n<p>The design of the library is such that all operations can be reversed. This means that fully functional binary editing is possible using this implementation; first use the reader to convert a binary file to a serialised dictionary representation, this representation is easily edited using a text editor, and then use the writer to convert back to binary.</p>\n\n<p>This idea is implemented in two languages; Python and JavaScript. All main development is done in Python. We chose YAML as our preferred serialised dictionary format, but other serialisation formats (JSON for example) can be used too.</p>\n\n<p>Please see <a href=\"\">ReadTheDocs</a> for the latest documentation.</p>", 
    "language": "eng", 
    "title": "General binary file parser version 1.0.1", 
    "license": {
      "id": "MIT"
    "journal": {
      "volume": "3", 
      "issue": "26", 
      "pages": "766", 
      "title": "JOSS - The Journal of Open Source Software"
    "relations": {
      "version": [
          "count": 1, 
          "index": 0, 
          "parent": {
            "pid_type": "recid", 
            "pid_value": "1295624"
          "is_last": true, 
          "last_child": {
            "pid_type": "recid", 
            "pid_value": "1295625"
    "version": "v1.0.1", 
    "keywords": [
    "publication_date": "2018-06-21", 
    "creators": [
        "affiliation": "Leiden University Medical Center", 
        "name": "Jeroen F.J. laros"
    "access_right": "open", 
    "resource_type": {
      "subtype": "article", 
      "type": "publication", 
      "title": "Journal article"
    "related_identifiers": [
        "scheme": "doi", 
        "identifier": "10.5281/zenodo.1295624", 
        "relation": "isVersionOf"
All versions This version
Views 5252
Downloads 44
Data volume 181.9 kB181.9 kB
Unique views 5151
Unique downloads 33


Cite as