Skip to main content

Process swft files

Project description

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.

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

swft-0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swft-0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file swft-0.3.tar.gz.

File metadata

  • Download URL: swft-0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for swft-0.3.tar.gz
Algorithm Hash digest
SHA256 23059304efdfa0cbea2da14b941d576285611b96c318adee38383fb6db1898fb
MD5 a85160a9a69f93c437249027d7e75870
BLAKE2b-256 f7e309987cbc6424c71fe75fac976c635209964c07e1b7942f53a13cb4fb9234

See more details on using hashes here.

File details

Details for the file swft-0.3-py3-none-any.whl.

File metadata

  • Download URL: swft-0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for swft-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 87c8f9e36f5871ef4af59833cace9a6c22257ce122ad8bd4d651ff43ff6372d0
MD5 28539361f644ece518a7019c2fb57bbb
BLAKE2b-256 6ee6ed6a3c163e70a5cb917f494aaad95a99d50fa6a2c6a40244cb4929d3064f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page