Basic SLK (sylk) to CSV parser
Project description
A .slk files parser
SLK format : https://en.wikipedia.org/wiki/SYmbolic_LinK_(SYLK)
Largely inspired by : https://github.com/smontanaro/python-bits/blob/master/sylk.py
Installation
Usage
From Python code
from io import StringIO
from sylk_parser import SylkParser
parser = SylkParser("somefile.slk")
fbuf = StringIO()
parser.to_csv(fbuf)
test_results = fbuf.getvalue()
print test_results
Note on dates
Dates in Sylk files are non standard offsets. We try to find the good offset regarding the “ID” field.
See :sylk_parser.sylk.SYLK._id_field method
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sylk_parser-0.5.tar.gz
(4.8 kB
view hashes)
Built Distribution
sylk_parser-0.5-py3-none-any.whl
(17.5 kB
view hashes)
Close
Hashes for sylk_parser-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd27b0bab7136858810d1d67c74d43a113049cf2a7250aad7c4a78792080158 |
|
MD5 | 7478bcb54bc1bd12588444f955944a41 |
|
BLAKE2b-256 | 0aabf592ea65914742fdf0df3d7a6e9f8f7bde6b610c864a0e878a5526e8fe63 |