Skip to main content

SLLib

A python library for reading SLG or SL2 files created by Lowrance fishfinders. Only tested with python 3.6 and 3.7

Git Repostitory and homepage located at https://github.com/opensounder/python-sllib

example workflow

Until version 1.x.y every change to x will be a possible breaking change. Otherwise it should follow samever versioning principles.

Installation

Using pip

pip install sllib

Cloning from git

python3 setup.py install

Usage

python3
>>> import sllib
>>> with open('somefile.sl2', 'rb) as f:
...    reader = sllib.Reader(f)
...    header = reader.header
...    print(header.format)
...    for frame in reader:
...        print(frame.gps_speed)

Or have a look at https://github.com/opensounder/jupyter-notebooks

Examples

# this will create a file called `small.csv` in current directory
python ./examples/tocsv.py ./tests/sample-data-lowrance/Elite_4_Chirp/small.sl2

Development

git clone https://github.com/opensounder/python-sllib

cd python-sllib
python3 -m venv venv
. venv/bin/activate
pip install -e .
pip install -r dev-requirements.txt

# then to test in for example python 3.9 
# change to what fits your installation
tox -e py39

# before committing please run lint and fix any issues
tox -e lint

SLG information

Besides trial and error

Metadata

Release files for sllib 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sllib 0.2.3
File Size Uploaded Provenance Actions
sllib-0.2.3.tar.gz 8.6 kB Without provenance Details for sllib-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sllib 0.2.3
File Interpreter ABI Platform Actions
sllib-0.2.3-py3-none-any.whl Python 3 none any Details for sllib-0.2.3-py3-none-any.whl

Total release size: 17.2 kB

Release files / sllib-0.2.3.tar.gz

Download URL sllib-0.2.3.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f27ea1d3183687f28e0bc055cd8217f072d90da390494b885b2b6056e2ac37d6
BLAKE2b-256 checksum
How to use checksums
63ce5a442d31a6aa5bad11d5ae56314eeb697efd6e8c1b97f0e9fbb9273df088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Release files / sllib-0.2.3-py3-none-any.whl

Download URL sllib-0.2.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eec0b718112a63917c619d48609ed70cc0a564e5258246f1630ec035608fb35
BLAKE2b-256 checksum
How to use checksums
a230b2bda7384ff1c8b09d93e10d971a00d4a831e82b310568e2d49e63689808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Security for sllib 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page