pyjls


Namepyjls JSON
Version 0.9.3 PyPI version JSON
download
home_pagehttps://joulescope.readthedocs.io
SummaryJoulescopeโ„ข file format
upload_time2024-03-07 19:40:09
maintainer
docs_urlNone
authorJetperch LLC
requires_python~=3.9
licenseApache 2.0
keywords jls joulescope
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            <!--
# Copyright 2021-2022 Jetperch LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->

[![main](https://github.com/jetperch/jls/actions/workflows/packaging.yml/badge.svg?branch=main)](https://github.com/jetperch/jls/actions/workflows/packaging.yml)


# JLS

Welcome to the [Joulescopeยฎ](https://www.joulescope.com) File Format project.
The goal of this project is to provide performant data storage for huge, 
simultaneous, one-dimensional signals. This repository contains:

* The JLS file format specification
* The implementation in C
* Language bindings for Python


## Features

* Cross-platform
  * Microsoft Windows x64
  * Apple macOS x64
  * Apple macOS ARM
  * Linux x64
  * Linux aarch64 (ARM 64-bit).  Supports Raspberry Pi 4.
* Support for multiple, simultaneous data sources
* Support for multiple, simultaneous signal waveforms
* Fixed sample rate signals (FSR)
  * Handles missing samples gracefully (interpolate) ๐Ÿ”œ
  * Multiple data types including:
    - Floating point: f32, f64
    - Unsigned integers: u1, u4, u8, u16, u24, u32, u64 
    - Signed integers: i4, i8, i16, i24, i32, i64
    - Fixed-point, signed integers (same bit sizes as signed integers)
    - Boolean (digital) 1-bit signals = u1
* Variable sample rate (VSR) signals ๐Ÿ”œ
* Fast read performance
  * Signal Summaries
    * "Zoomed out" view with mean, min, max, standard deviation
    * Provides fast waveform load without any additional processing steps
  * Automatic load by summary level
  * Fast seek, next, previous access
* Sample ID to Wall-clock time (UTC) for FSR signals
* Annotations
  * Global VSR annotations
  * Signal annotations, timestamped to sample_id for FSR and UTC time for VSR
  * Support for text, marker, and user-defined (text, binary, JSON)
* User data
  * Arbitrary data included in the same file
  * Support for text, binary, and JSON
* Reliability
  * Integrated integrity checks using CRC32C
  * File data still accessible in the case of improper program termination ๐Ÿ”œ
  * Uncorrupted data is still accessible in presence of file corruption ๐Ÿ”œ
  * Write once, except for indices and the doubly-linked list pointers
* Compression options ๐Ÿ”œ
  * lossless ๐Ÿ”œ
  * lossy ๐Ÿ”œ
  * lossy with downsampling below threshold ๐Ÿ”œ
  * Support level 0 DATA not written (only INDEX & SUMMARY) ๐Ÿ”œ

Items marked with ๐Ÿ”œ are under development and coming soon.
Items marked with โณ are planned for future release.

As of June 2023, the JLS v2 file structure is well-defined and stable.
However, the compression storage formats are not yet defined and
corrupted file recovery is not yet implemented.


## Why JLS?

The world is already full of file formats, and we would rather not create 
another one.  However, we could not identify a solution that met these
requirements.  [HDF5](https://www.hdfgroup.org/solutions/hdf5/) meets the
large storage requirements, but not the reliability and rapid load requirements.
The [Saleae binary export file format v2](https://support.saleae.com/faq/technical-faq/binary-export-format-logic-2)
is also not suitable since it buffers stores single, contiguous blocks.
[Sigrok v2](https://sigrok.org/wiki/File_format:Sigrok/v2) is similar.
The [Sigrok v3](https://sigrok.org/wiki/File_format:Sigrok/v3) format
(under development as of June 2023) is better in that it stores sequences of
"packets" containing data blocks, but it still will does not allow for
fast seek or summaries.

Timeseries databases, such as [InfluxDB](https://www.influxdata.com/), are 
powerful tools.  However, they are not well-designed for fast sample-rate
data.

Media containers are another option, especially the ISO base media file format
used by MPEG4 and many others:
  * [ISO/IEC 14496-14:2020 Specification](https://www.iso.org/standard/79110.html)
  * [Overview](https://mpeg.chiariglione.org/standards/mpeg-4/iso-base-media-file-format)

However, the standard does not include the ability to store the signal summaries
and our specific signal types.  While we could add these features, these formats
are already complicated, greatly reducing the advantage of repurposing them.


## Why JLS v2?

This file format is based upon JLS v1 designed for
[pyjoulescope](https://github.com/jetperch/pyjoulescope) and used by the
[Joulescope](https://www.joulescope.com/) test instrument.  We leveraged
the lessons learned from v1 to make v2 better, faster, and more extensible.

The JLS v1 format has been great for the Joulescope ecosystem and has
accomplished the objective of long data captures (days) with fast
sampling rates (MHz).  However, it now has a long list of issues including:

- Inflexible storage format (always current, voltage, power, current range, GPI0, GPI1).
- Unable to store from multiple sources.
- Unable to store other sources and signals.
- No annotation support: 
  [41](https://github.com/jetperch/pyjoulescope_ui/issues/41),
  [93](https://github.com/jetperch/pyjoulescope_ui/issues/93).
- Inflexible user data support.
- Inconsistent performance across sampling rates, zoom levels, and file sizes: 
  [48](https://github.com/jetperch/pyjoulescope_ui/issues/48),
  [103](https://github.com/jetperch/pyjoulescope_ui/issues/103).
- Unable to correlate sample times with UTC:
  [55](https://github.com/jetperch/pyjoulescope_ui/issues/55).

The JLS v2 file format addressed all of these issues, dramatically 
improved performance, and added new capabilities, such as signal compression.


## How?

At its lowest layer, JLS is an enhanced 
[tag-length-value](https://en.wikipedia.org/wiki/Type-length-value) (TLV)
format. TLV files form the foundation of many reliable image and video formats, 
including MPEG4 and PNG.  The enhanced header contains additional fields
to speed navigation and improve reliability.  The JLS file format calls 
each TLV a **chunk**.  The enhanced tag-length component the **chunk header**
or simply **header**.  The file also contains a **file header**, not to be 
confused with the **chunk header**.  A **chunk** may have zero payload length,
in which case the next header follows immediately.  Otherwise, a 
**chunk** consists of a **header** followed by a **payload**. 

The JLS file format defines **sources** that produce data.  The file allows
the application to clearly define and label the source.  Each source
can have any number of associated signals.

**Signals** are 1-D sequences of values over time consisting of a single,
fixed data type.  Each signal can have multiple **tracks** that contain
data associated with that signal. The JLS file supports two signal types: 
fixed sample rate (FSR) and variable sample rate (VSR).  FSR signals
store their sample data in the FSR track using FSR_DATA and FSR_SUMMARY.
FSR time is denoted by samples using timestamp.  FSR signals also support:

* Sample time to UTC time mapping using the UTC track.
* Annotations with the ANNOTATION track. 

VSR signals store their sample data in the VSR track.  VSR signals
specify time in UTC (wall-clock time).  VSR signals also
support annotations with the ANNOTATION track.
The JLS file format supports VSR signals that only use the 
ANNOTATION track and not the VSR track.  Such signals are commonly 
used to store UART text data where each line contains a UTC timestamp. 

Signals support DATA chunks and SUMMARY chunks.
The DATA chunks store the actual sample data.  The SUMMARY chunks
store the reduced statistics, where each statistic entry represents
multiple samples.  FSR tracks store the mean, min, max, 
and standard deviation.  Although standard deviation requires the
writer to compute the square root, standard deviation keeps the
same units and bit depth requirements as the other fields.  Variance
requires twice the bit size for integer types since it is squared.

Before each SUMMARY chunk, the JLS file will contain the INDEX chunk
which contains the starting time and offset for each chunk that 
contributed to the summary.  This SUMMARY chunk enables fast O(log n)
navigation of the file.  For FSR tracks, the starting time is 
calculated rather than stored for each entry.

The JLS file format design supports SUMMARY of SUMMARY.  It supports
the DATA and up to 15 layers of SUMMARIES.  timestamp is given as a
64-bit integer, which allows each summary to include only 20 samples
and still support the full 64-bit integer timestamp space.  In practice, the
first level summary increases a single value to 4 values, so summary
steps are usually 50 or more.

Many applications, including the Joulescope UI, prioritize read performance,
especially visualizing the waveform quickly following open, 
over write performance.   Waiting to scan through a 1 TB file is not a 
valid option.  The reader opens the file and scans for sources and signals.
The application can then quickly load the highest summary of summaries 
for every signal of interest.  The application can very quickly display this
data, and then start to retrieve more detailed information as requested.


## Example file structure

```
sof
header
USER_DATA(0, NULL)    // Required, point to first real user_data chunk
SOURCE_DEF(0)         // Required, internal, reserved for global annotations
SIGNAL_DEF(0, 0.VSR)  // Required, internal, reserved for global annotations
TRACK_DEF(0.VSR)
TRACK_HEAD(0.VSR)
TRACK_DEF(0.ANNO)
TRACK_HEAD(0.ANNO)
SOURCE_DEF(1)         // input device 1
SIGNAL_DEF(1, 1, FSR) // our signal, like "current" or "voltage"
TRACK_DEF(1.FSR)
TRACK_HEAD(1.FSR)
TRACK_DEF(1.ANNO)
TRACK_HEAD(1.ANNO)
TRACK_DEF(1.UTC)
TRACK_HEAD(1.UTC)
USER_DATA           // just because
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_INDEX(1.FSR, lvl=0)
TRACK_SUMMARY(1.FSR, lvl=1)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_INDEX(1.FSR, lvl=0)
TRACK_SUMMARY(1.FSR, lvl=1)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_DATA(1.FSR)
TRACK_INDEX(1.FSR, lvl=0)
TRACK_SUMMARY(1.FSR, lvl=1)
TRACK_INDEX(1.FSR, lvl=1)
TRACK_SUMMARY(1.FSR, lvl=2)
USER_DATA           // just because
END
eof
```

Note that TRACK_HEAD(1.FSR) points to the first TRACK_INDEX(1.FSR, lvl=0) and
TRACK_INDEX(1.FSR, lvl=1). 
Each TRACK_DATA(1.FSR) is in a doubly-linked list with its next and previous
neighbors.  Each TRACK_INDEX(1.FSR, lvl=0) is likewise in a separate doubly-linked
list, and the payload of each TRACK_INDEX points to the summarized TRACK_DATA
instances.  TRACK_INDEX(1.FSR, lvl=1) points to each TRACK_INDEX(1.FSR, lvl=0) instance.
As more data is added, the TRACK_INDEX(1.FSR, lvl=1) will also get added to
the INDEX chunks at the same level.


## Resources

* [source code](https://github.com/jetperch/jls)
* [documentation](https://jls.readthedocs.io/en/latest/)
* [pypi](https://pypi.org/project/pyjls/)
* [Joulescope](https://www.joulescope.com/) (Joulescope web store)
* [forum](https://forum.joulescope.com/)


## References

* JLS v1: 
  [lower-layer](https://github.com/jetperch/pyjoulescope/blob/master/joulescope/datafile.py),
  [upper-layer](https://github.com/jetperch/pyjoulescope/blob/master/joulescope/data_recorder.py).
* [Sigrok/v3](https://sigrok.org/wiki/File_format:Sigrok/v3), which shares
  many of the same motivations.
* Tag-length-value: [Wikipedia](https://en.wikipedia.org/wiki/Type-length-value).
* Doubly linked list: [Wikipedia](https://en.wikipedia.org/wiki/Doubly_linked_list).


## License

This project is Copyright ยฉ 2017-2023 Jetperch LLC and licensed under the
permissive [Apache 2.0 License](./LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://joulescope.readthedocs.io",
    "name": "pyjls",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.9",
    "maintainer_email": "",
    "keywords": "JLS,Joulescope",
    "author": "Jetperch LLC",
    "author_email": "joulescope-dev@jetperch.com",
    "download_url": "https://files.pythonhosted.org/packages/9a/a3/012ecb5845b90413797fb247c75384b3af2caf0febeb73ed09569c39d893/pyjls-0.9.3.tar.gz",
    "platform": null,
    "description": "<!--\n# Copyright 2021-2022 Jetperch LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n-->\n\n[![main](https://github.com/jetperch/jls/actions/workflows/packaging.yml/badge.svg?branch=main)](https://github.com/jetperch/jls/actions/workflows/packaging.yml)\n\n\n# JLS\n\nWelcome to the [Joulescope\u00ae](https://www.joulescope.com) File Format project.\nThe goal of this project is to provide performant data storage for huge, \nsimultaneous, one-dimensional signals. This repository contains:\n\n* The JLS file format specification\n* The implementation in C\n* Language bindings for Python\n\n\n## Features\n\n* Cross-platform\n  * Microsoft Windows x64\n  * Apple macOS x64\n  * Apple macOS ARM\n  * Linux x64\n  * Linux aarch64 (ARM 64-bit).  Supports Raspberry Pi 4.\n* Support for multiple, simultaneous data sources\n* Support for multiple, simultaneous signal waveforms\n* Fixed sample rate signals (FSR)\n  * Handles missing samples gracefully (interpolate) \ud83d\udd1c\n  * Multiple data types including:\n    - Floating point: f32, f64\n    - Unsigned integers: u1, u4, u8, u16, u24, u32, u64 \n    - Signed integers: i4, i8, i16, i24, i32, i64\n    - Fixed-point, signed integers (same bit sizes as signed integers)\n    - Boolean (digital) 1-bit signals = u1\n* Variable sample rate (VSR) signals \ud83d\udd1c\n* Fast read performance\n  * Signal Summaries\n    * \"Zoomed out\" view with mean, min, max, standard deviation\n    * Provides fast waveform load without any additional processing steps\n  * Automatic load by summary level\n  * Fast seek, next, previous access\n* Sample ID to Wall-clock time (UTC) for FSR signals\n* Annotations\n  * Global VSR annotations\n  * Signal annotations, timestamped to sample_id for FSR and UTC time for VSR\n  * Support for text, marker, and user-defined (text, binary, JSON)\n* User data\n  * Arbitrary data included in the same file\n  * Support for text, binary, and JSON\n* Reliability\n  * Integrated integrity checks using CRC32C\n  * File data still accessible in the case of improper program termination \ud83d\udd1c\n  * Uncorrupted data is still accessible in presence of file corruption \ud83d\udd1c\n  * Write once, except for indices and the doubly-linked list pointers\n* Compression options \ud83d\udd1c\n  * lossless \ud83d\udd1c\n  * lossy \ud83d\udd1c\n  * lossy with downsampling below threshold \ud83d\udd1c\n  * Support level 0 DATA not written (only INDEX & SUMMARY) \ud83d\udd1c\n\nItems marked with \ud83d\udd1c are under development and coming soon.\nItems marked with \u23f3 are planned for future release.\n\nAs of June 2023, the JLS v2 file structure is well-defined and stable.\nHowever, the compression storage formats are not yet defined and\ncorrupted file recovery is not yet implemented.\n\n\n## Why JLS?\n\nThe world is already full of file formats, and we would rather not create \nanother one.  However, we could not identify a solution that met these\nrequirements.  [HDF5](https://www.hdfgroup.org/solutions/hdf5/) meets the\nlarge storage requirements, but not the reliability and rapid load requirements.\nThe [Saleae binary export file format v2](https://support.saleae.com/faq/technical-faq/binary-export-format-logic-2)\nis also not suitable since it buffers stores single, contiguous blocks.\n[Sigrok v2](https://sigrok.org/wiki/File_format:Sigrok/v2) is similar.\nThe [Sigrok v3](https://sigrok.org/wiki/File_format:Sigrok/v3) format\n(under development as of June 2023) is better in that it stores sequences of\n\"packets\" containing data blocks, but it still will does not allow for\nfast seek or summaries.\n\nTimeseries databases, such as [InfluxDB](https://www.influxdata.com/), are \npowerful tools.  However, they are not well-designed for fast sample-rate\ndata.\n\nMedia containers are another option, especially the ISO base media file format\nused by MPEG4 and many others:\n  * [ISO/IEC 14496-14:2020 Specification](https://www.iso.org/standard/79110.html)\n  * [Overview](https://mpeg.chiariglione.org/standards/mpeg-4/iso-base-media-file-format)\n\nHowever, the standard does not include the ability to store the signal summaries\nand our specific signal types.  While we could add these features, these formats\nare already complicated, greatly reducing the advantage of repurposing them.\n\n\n## Why JLS v2?\n\nThis file format is based upon JLS v1 designed for\n[pyjoulescope](https://github.com/jetperch/pyjoulescope) and used by the\n[Joulescope](https://www.joulescope.com/) test instrument.  We leveraged\nthe lessons learned from v1 to make v2 better, faster, and more extensible.\n\nThe JLS v1 format has been great for the Joulescope ecosystem and has\naccomplished the objective of long data captures (days) with fast\nsampling rates (MHz).  However, it now has a long list of issues including:\n\n- Inflexible storage format (always current, voltage, power, current range, GPI0, GPI1).\n- Unable to store from multiple sources.\n- Unable to store other sources and signals.\n- No annotation support: \n  [41](https://github.com/jetperch/pyjoulescope_ui/issues/41),\n  [93](https://github.com/jetperch/pyjoulescope_ui/issues/93).\n- Inflexible user data support.\n- Inconsistent performance across sampling rates, zoom levels, and file sizes: \n  [48](https://github.com/jetperch/pyjoulescope_ui/issues/48),\n  [103](https://github.com/jetperch/pyjoulescope_ui/issues/103).\n- Unable to correlate sample times with UTC:\n  [55](https://github.com/jetperch/pyjoulescope_ui/issues/55).\n\nThe JLS v2 file format addressed all of these issues, dramatically \nimproved performance, and added new capabilities, such as signal compression.\n\n\n## How?\n\nAt its lowest layer, JLS is an enhanced \n[tag-length-value](https://en.wikipedia.org/wiki/Type-length-value) (TLV)\nformat. TLV files form the foundation of many reliable image and video formats, \nincluding MPEG4 and PNG.  The enhanced header contains additional fields\nto speed navigation and improve reliability.  The JLS file format calls \neach TLV a **chunk**.  The enhanced tag-length component the **chunk header**\nor simply **header**.  The file also contains a **file header**, not to be \nconfused with the **chunk header**.  A **chunk** may have zero payload length,\nin which case the next header follows immediately.  Otherwise, a \n**chunk** consists of a **header** followed by a **payload**. \n\nThe JLS file format defines **sources** that produce data.  The file allows\nthe application to clearly define and label the source.  Each source\ncan have any number of associated signals.\n\n**Signals** are 1-D sequences of values over time consisting of a single,\nfixed data type.  Each signal can have multiple **tracks** that contain\ndata associated with that signal. The JLS file supports two signal types: \nfixed sample rate (FSR) and variable sample rate (VSR).  FSR signals\nstore their sample data in the FSR track using FSR_DATA and FSR_SUMMARY.\nFSR time is denoted by samples using timestamp.  FSR signals also support:\n\n* Sample time to UTC time mapping using the UTC track.\n* Annotations with the ANNOTATION track. \n\nVSR signals store their sample data in the VSR track.  VSR signals\nspecify time in UTC (wall-clock time).  VSR signals also\nsupport annotations with the ANNOTATION track.\nThe JLS file format supports VSR signals that only use the \nANNOTATION track and not the VSR track.  Such signals are commonly \nused to store UART text data where each line contains a UTC timestamp. \n\nSignals support DATA chunks and SUMMARY chunks.\nThe DATA chunks store the actual sample data.  The SUMMARY chunks\nstore the reduced statistics, where each statistic entry represents\nmultiple samples.  FSR tracks store the mean, min, max, \nand standard deviation.  Although standard deviation requires the\nwriter to compute the square root, standard deviation keeps the\nsame units and bit depth requirements as the other fields.  Variance\nrequires twice the bit size for integer types since it is squared.\n\nBefore each SUMMARY chunk, the JLS file will contain the INDEX chunk\nwhich contains the starting time and offset for each chunk that \ncontributed to the summary.  This SUMMARY chunk enables fast O(log n)\nnavigation of the file.  For FSR tracks, the starting time is \ncalculated rather than stored for each entry.\n\nThe JLS file format design supports SUMMARY of SUMMARY.  It supports\nthe DATA and up to 15 layers of SUMMARIES.  timestamp is given as a\n64-bit integer, which allows each summary to include only 20 samples\nand still support the full 64-bit integer timestamp space.  In practice, the\nfirst level summary increases a single value to 4 values, so summary\nsteps are usually 50 or more.\n\nMany applications, including the Joulescope UI, prioritize read performance,\nespecially visualizing the waveform quickly following open, \nover write performance.   Waiting to scan through a 1 TB file is not a \nvalid option.  The reader opens the file and scans for sources and signals.\nThe application can then quickly load the highest summary of summaries \nfor every signal of interest.  The application can very quickly display this\ndata, and then start to retrieve more detailed information as requested.\n\n\n## Example file structure\n\n```\nsof\nheader\nUSER_DATA(0, NULL)    // Required, point to first real user_data chunk\nSOURCE_DEF(0)         // Required, internal, reserved for global annotations\nSIGNAL_DEF(0, 0.VSR)  // Required, internal, reserved for global annotations\nTRACK_DEF(0.VSR)\nTRACK_HEAD(0.VSR)\nTRACK_DEF(0.ANNO)\nTRACK_HEAD(0.ANNO)\nSOURCE_DEF(1)         // input device 1\nSIGNAL_DEF(1, 1, FSR) // our signal, like \"current\" or \"voltage\"\nTRACK_DEF(1.FSR)\nTRACK_HEAD(1.FSR)\nTRACK_DEF(1.ANNO)\nTRACK_HEAD(1.ANNO)\nTRACK_DEF(1.UTC)\nTRACK_HEAD(1.UTC)\nUSER_DATA           // just because\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_INDEX(1.FSR, lvl=0)\nTRACK_SUMMARY(1.FSR, lvl=1)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_INDEX(1.FSR, lvl=0)\nTRACK_SUMMARY(1.FSR, lvl=1)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_DATA(1.FSR)\nTRACK_INDEX(1.FSR, lvl=0)\nTRACK_SUMMARY(1.FSR, lvl=1)\nTRACK_INDEX(1.FSR, lvl=1)\nTRACK_SUMMARY(1.FSR, lvl=2)\nUSER_DATA           // just because\nEND\neof\n```\n\nNote that TRACK_HEAD(1.FSR) points to the first TRACK_INDEX(1.FSR, lvl=0) and\nTRACK_INDEX(1.FSR, lvl=1). \nEach TRACK_DATA(1.FSR) is in a doubly-linked list with its next and previous\nneighbors.  Each TRACK_INDEX(1.FSR, lvl=0) is likewise in a separate doubly-linked\nlist, and the payload of each TRACK_INDEX points to the summarized TRACK_DATA\ninstances.  TRACK_INDEX(1.FSR, lvl=1) points to each TRACK_INDEX(1.FSR, lvl=0) instance.\nAs more data is added, the TRACK_INDEX(1.FSR, lvl=1) will also get added to\nthe INDEX chunks at the same level.\n\n\n## Resources\n\n* [source code](https://github.com/jetperch/jls)\n* [documentation](https://jls.readthedocs.io/en/latest/)\n* [pypi](https://pypi.org/project/pyjls/)\n* [Joulescope](https://www.joulescope.com/) (Joulescope web store)\n* [forum](https://forum.joulescope.com/)\n\n\n## References\n\n* JLS v1: \n  [lower-layer](https://github.com/jetperch/pyjoulescope/blob/master/joulescope/datafile.py),\n  [upper-layer](https://github.com/jetperch/pyjoulescope/blob/master/joulescope/data_recorder.py).\n* [Sigrok/v3](https://sigrok.org/wiki/File_format:Sigrok/v3), which shares\n  many of the same motivations.\n* Tag-length-value: [Wikipedia](https://en.wikipedia.org/wiki/Type-length-value).\n* Doubly linked list: [Wikipedia](https://en.wikipedia.org/wiki/Doubly_linked_list).\n\n\n## License\n\nThis project is Copyright \u00a9 2017-2023 Jetperch LLC and licensed under the\npermissive [Apache 2.0 License](./LICENSE).\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Joulescope\u2122 file format",
    "version": "0.9.3",
    "project_urls": {
        "Bug Reports": "https://github.com/jetperch/jls/issues",
        "Funding": "https://www.joulescope.com",
        "Homepage": "https://joulescope.readthedocs.io",
        "Source": "https://github.com/jetperch/jls/",
        "Twitter": "https://twitter.com/joulescope"
    },
    "split_keywords": [
        "jls",
        "joulescope"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0aaa06f877240d9b1294abce9aa518c285bd184d6950d44e9d9b771e745575b",
                "md5": "4ef3a25c52ebba70cfd77cef564806a2",
                "sha256": "fce379c9224d706ee3b1daa87dd6934fe74179637d8a047f2eb1c2237386772d"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp310-cp310-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "4ef3a25c52ebba70cfd77cef564806a2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "~=3.9",
            "size": 483632,
            "upload_time": "2024-03-07T19:39:49",
            "upload_time_iso_8601": "2024-03-07T19:39:49.046117Z",
            "url": "https://files.pythonhosted.org/packages/f0/aa/a06f877240d9b1294abce9aa518c285bd184d6950d44e9d9b771e745575b/pyjls-0.9.3-cp310-cp310-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99ea7fc6657a09be386c5e1dd9c943fc397febfbad2211ffb0472d8b9b1b1f17",
                "md5": "3a3ffc9369abe5bad596f0fac1ff4bf2",
                "sha256": "d235a81ee796e34fbe8ab7ea8e6dbebaf3afbdad2a5e8679b0bd59f8bffc40bf"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3a3ffc9369abe5bad596f0fac1ff4bf2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "~=3.9",
            "size": 1139914,
            "upload_time": "2024-03-07T19:39:50",
            "upload_time_iso_8601": "2024-03-07T19:39:50.688589Z",
            "url": "https://files.pythonhosted.org/packages/99/ea/7fc6657a09be386c5e1dd9c943fc397febfbad2211ffb0472d8b9b1b1f17/pyjls-0.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab054476550c27b7affdcda5eb3f6161014c170d7fb6866a726b2254b0492ef8",
                "md5": "3f1d0e1e10b32f339ec7b83f461a8f43",
                "sha256": "b36904dac44c45199f97b6bef9603f0cd20762f3dff7f78a8dc7e2768d82dcd7"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3f1d0e1e10b32f339ec7b83f461a8f43",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "~=3.9",
            "size": 212957,
            "upload_time": "2024-03-07T19:39:52",
            "upload_time_iso_8601": "2024-03-07T19:39:52.054302Z",
            "url": "https://files.pythonhosted.org/packages/ab/05/4476550c27b7affdcda5eb3f6161014c170d7fb6866a726b2254b0492ef8/pyjls-0.9.3-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60808dfdfedc72c83ad0a9dd6636d7d609718717fbd891e9aaf7aaf0dfb7aa51",
                "md5": "01217259379fff64e009dfab1379fa90",
                "sha256": "c73d9e7c9882b92fe78e9158034f1725f31ba02a20fc9b4464d15f2efe313e98"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp311-cp311-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "01217259379fff64e009dfab1379fa90",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "~=3.9",
            "size": 485537,
            "upload_time": "2024-03-07T19:39:53",
            "upload_time_iso_8601": "2024-03-07T19:39:53.951782Z",
            "url": "https://files.pythonhosted.org/packages/60/80/8dfdfedc72c83ad0a9dd6636d7d609718717fbd891e9aaf7aaf0dfb7aa51/pyjls-0.9.3-cp311-cp311-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c8f90949c98ed2ff344bc1f416027666971325b92b8a6a22df9f72bcbc0d02a",
                "md5": "f76eb02c727f606685282c417f062c0b",
                "sha256": "36153e99a7d1e0fe6be028c94f8670ad77fd79941ab0827d6c93bcc74be3cafe"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f76eb02c727f606685282c417f062c0b",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "~=3.9",
            "size": 1219517,
            "upload_time": "2024-03-07T19:39:55",
            "upload_time_iso_8601": "2024-03-07T19:39:55.853402Z",
            "url": "https://files.pythonhosted.org/packages/1c/8f/90949c98ed2ff344bc1f416027666971325b92b8a6a22df9f72bcbc0d02a/pyjls-0.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "060e45075d414c1a620d0ef55f2eb23cc408d8297f5860eb19ef7003a7b2bd80",
                "md5": "c00d9f7577cd62bc4b9d452be175918d",
                "sha256": "ce7d176d0759e2e0faf1c1bce720d7140bbbdd17855907e385b4521c86b1b463"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c00d9f7577cd62bc4b9d452be175918d",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": "~=3.9",
            "size": 212781,
            "upload_time": "2024-03-07T19:39:57",
            "upload_time_iso_8601": "2024-03-07T19:39:57.676300Z",
            "url": "https://files.pythonhosted.org/packages/06/0e/45075d414c1a620d0ef55f2eb23cc408d8297f5860eb19ef7003a7b2bd80/pyjls-0.9.3-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83a0a9b7034d48036a0c2b9bd653f75306f9d442cc5df97c4c092e27e4c8af73",
                "md5": "f2e4e67e6c4e3df63fb7dd93b840f6ec",
                "sha256": "ed5d494dcf7dde7d223ddefb39217b3dc75188aed008f9d030d8a09a1fb9c5f9"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp312-cp312-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "f2e4e67e6c4e3df63fb7dd93b840f6ec",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "~=3.9",
            "size": 467572,
            "upload_time": "2024-03-07T19:39:58",
            "upload_time_iso_8601": "2024-03-07T19:39:58.856631Z",
            "url": "https://files.pythonhosted.org/packages/83/a0/a9b7034d48036a0c2b9bd653f75306f9d442cc5df97c4c092e27e4c8af73/pyjls-0.9.3-cp312-cp312-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b5480ed240ffb1744e5bb792ce3404c0b2779faa96663f5254217a209f15653",
                "md5": "36df0754115c97f9ae1650944f248d0a",
                "sha256": "b7c4b2aa0edebbe7c1f5dbfc2638da34d8093125b7e669ce1119ffa521336c7f"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "36df0754115c97f9ae1650944f248d0a",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "~=3.9",
            "size": 1181574,
            "upload_time": "2024-03-07T19:40:00",
            "upload_time_iso_8601": "2024-03-07T19:40:00.241044Z",
            "url": "https://files.pythonhosted.org/packages/3b/54/80ed240ffb1744e5bb792ce3404c0b2779faa96663f5254217a209f15653/pyjls-0.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5ac95256a59d306fc636f5e16198d0718e6d99e82f30852c3c5dc2d66dacb0e",
                "md5": "6a1adda8b9f7cf779f0031183d15e3b1",
                "sha256": "1b175abfc90c39accc6d42945d56742b24745af68749fe280db837526279bf7f"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6a1adda8b9f7cf779f0031183d15e3b1",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": "~=3.9",
            "size": 207589,
            "upload_time": "2024-03-07T19:40:02",
            "upload_time_iso_8601": "2024-03-07T19:40:02.498200Z",
            "url": "https://files.pythonhosted.org/packages/e5/ac/95256a59d306fc636f5e16198d0718e6d99e82f30852c3c5dc2d66dacb0e/pyjls-0.9.3-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c821810c543e5f89322687e16766f6e8969f0e91560709b5c65c748adeedab49",
                "md5": "3a5feeab8889936936deff82d64515af",
                "sha256": "65812cb7331eb093beb17fd9d0f64a1f2c9029b2115aa47a5ee5f21af4eff59f"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp39-cp39-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "3a5feeab8889936936deff82d64515af",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "~=3.9",
            "size": 484038,
            "upload_time": "2024-03-07T19:40:04",
            "upload_time_iso_8601": "2024-03-07T19:40:04.459521Z",
            "url": "https://files.pythonhosted.org/packages/c8/21/810c543e5f89322687e16766f6e8969f0e91560709b5c65c748adeedab49/pyjls-0.9.3-cp39-cp39-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "738dac5f628f922f1a86164688fc1773809fb9be5f1f1908584d1a1fdcd3f61e",
                "md5": "6bca7808962f314eaef101e0921dd6d7",
                "sha256": "946fdeef5454ec2d35be60a4c8cbecfc7fcefea3ac8e945c301c9616759d1316"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6bca7808962f314eaef101e0921dd6d7",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "~=3.9",
            "size": 1138327,
            "upload_time": "2024-03-07T19:40:06",
            "upload_time_iso_8601": "2024-03-07T19:40:06.898814Z",
            "url": "https://files.pythonhosted.org/packages/73/8d/ac5f628f922f1a86164688fc1773809fb9be5f1f1908584d1a1fdcd3f61e/pyjls-0.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74e7ccc4e09eae8544086828cae2d7ca7c184e01e1d784ae85cb67df5f88c220",
                "md5": "52e626a905d8d43575c99be7aa6bd5ba",
                "sha256": "eb4f19f36feca2e85b359b0f540b1197508c1748ac7291a28efde2aaaa702433"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "52e626a905d8d43575c99be7aa6bd5ba",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "~=3.9",
            "size": 213076,
            "upload_time": "2024-03-07T19:40:08",
            "upload_time_iso_8601": "2024-03-07T19:40:08.521508Z",
            "url": "https://files.pythonhosted.org/packages/74/e7/ccc4e09eae8544086828cae2d7ca7c184e01e1d784ae85cb67df5f88c220/pyjls-0.9.3-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9aa3012ecb5845b90413797fb247c75384b3af2caf0febeb73ed09569c39d893",
                "md5": "ae94ed123064276647cd64b7e81ce484",
                "sha256": "6e6cac0d077c83f8b4ba7c98d53e8ff1eed943734a852efd19f9434ac768ddc7"
            },
            "downloads": -1,
            "filename": "pyjls-0.9.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ae94ed123064276647cd64b7e81ce484",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.9",
            "size": 352301,
            "upload_time": "2024-03-07T19:40:09",
            "upload_time_iso_8601": "2024-03-07T19:40:09.736138Z",
            "url": "https://files.pythonhosted.org/packages/9a/a3/012ecb5845b90413797fb247c75384b3af2caf0febeb73ed09569c39d893/pyjls-0.9.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-07 19:40:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jetperch",
    "github_project": "jls",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pyjls"
}
        
Elapsed time: 0.49158s