Socket
Socket
Sign inDemoInstall

swft

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    swft

Process swft files


Maintainers
1

Readme

Process swft files generated by the swift tracking software.

Provided Functions

load(path: str)
Load a swft file specified by path.
Returns a dictonary of type {table_name: table}. Each table is represented by a pandas DataFrame with four additional attributes:

  • child: str: Name of the child table (if any)
  • id_col: str: Name of column in child table that contains the row ID of the parent
  • pos_col: str: Name of column in child table that contains the position in parent (optional)
  • units: dict: Dictionary of type {column_name: unit}. Does not have to contain an entry for every column.

dump(dataset: dict, path: str)
Save dataset, a dictionary as specified above, to a file specified by path.

FAQs


Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc