Socket
Socket
Sign inDemoInstall

sylk-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sylk-parser

Basic SLK (sylk) to CSV parser


Maintainers
1

sylk parser

.. image:: https://secure.travis-ci.org/majerteam/sylk_parser.png?branch=master :target: http://travis-ci.org/majerteam/sylk_parser :alt: Travis-ci: continuous integration status.

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

.. code-block: console

pip install sylk_parser

Usage

From Python code

.. code-block:: python

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc