Skip to main content

Library for reading SLG or SL2 files created by Lowrance fishfinders

Project description

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

opensounder

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)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sllib-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

sllib-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file sllib-0.1.0.tar.gz.

File metadata

  • Download URL: sllib-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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

File hashes

Hashes for sllib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e34280c8b01de9748fa3364b312942868e451380f69faa0244e057c823a32ef
MD5 143a892c86b03c7a08227cbaf18a83fe
BLAKE2b-256 1d85e502e7cf982328db16414dd5272f0e022b5f74bec1ae1a1f4ef301c77afd

See more details on using hashes here.

File details

Details for the file sllib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sllib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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

File hashes

Hashes for sllib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c9d6c3702be795683fa0aeac7af13a2a1a359999b4ee00cf866a6dc84cc10c8
MD5 68dffeb38fbe90bae3ef0f9a54ff889e
BLAKE2b-256 ac4a2aa91a74743883585f9998a17953ddd72445439c07655c3715a7345ee460

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page