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

Uploaded Python 3

File details

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

File metadata

  • Download URL: swft-0.1.post1.tar.gz
  • Upload date:
  • Size: 2.7 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.post1.tar.gz
Algorithm Hash digest
SHA256 d254120e7996822c0dc0ed5af0bd9009012488b3403c72f35cd67bacb0658d4c
MD5 589d625b43167044bde9156b1052bfe5
BLAKE2b-256 c5b665aeef22bb759f279a5ed8acb627d1a86e790ff0b39edeee94040535c1f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swft-0.1.post1-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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 399aabe2ffcb0d7ce6f7377fbc528bc151453e45144e4dc52908aa2cb95ba4a2
MD5 fb4432892cd87f7bdd4418a8d6455c4a
BLAKE2b-256 5afd0b15cbcf8f52f8a717f5065265cf61af3351332f127d5906701e0882c69e

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