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 details)
Built Distribution
sylk_parser-0.5-py3-none-any.whl
(17.5 kB
view details)
File details
Details for the file sylk_parser-0.5.tar.gz
.
File metadata
- Download URL: sylk_parser-0.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85ba80f6b0b1af61c95717d829b3872e4c2264f5167b85a8c99a085958ce750a |
|
MD5 | 85916e0a4ff32783529a8574ec144d6e |
|
BLAKE2b-256 | a766d94db2fe19aab186fffe7cfcfa020cb1ca0cc874784ca8d7a0c08bcb70f1 |
File details
Details for the file sylk_parser-0.5-py3-none-any.whl
.
File metadata
- Download URL: sylk_parser-0.5-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd27b0bab7136858810d1d67c74d43a113049cf2a7250aad7c4a78792080158 |
|
MD5 | 7478bcb54bc1bd12588444f955944a41 |
|
BLAKE2b-256 | 0aabf592ea65914742fdf0df3d7a6e9f8f7bde6b610c864a0e878a5526e8fe63 |