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: list: Column units

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.1.tar.gz (2.8 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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swft-0.1.tar.gz
  • Upload date:
  • Size: 2.8 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.1.tar.gz
Algorithm Hash digest
SHA256 9aa802e251ef161f6ab3964826124a0d1045059da4b89304c2ec45ae6aee334d
MD5 1643dc8d3cd805eb601d1589ade22dc5
BLAKE2b-256 c274ccf63aaa847c95ebe045927b362affd37a9a63a48a577ac9e4e7b5b1df42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swft-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e78e854d7f0c8afb1572f7d107d1181553ebcaa32357f8d75198b7f816a73bd
MD5 9a2bc670d09407637ea9c6577944d269
BLAKE2b-256 627048e2c28b8fe73e0240fefa9ccb5f211557f5fe4fa2e7d183c266361fb0f6

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