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
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 hashes)
Built Distribution
sllib-0.1.0-py3-none-any.whl
(6.5 kB
view hashes)