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 parentpos_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swft-0.2.tar.gz.
File metadata
- Download URL: swft-0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cdc12b0aa168e5689898ca30a1610260e5698967741b652dcc6dc05efe8c6d1
|
|
| MD5 |
cdbab3c4fde51d13e4be9c4675ef5666
|
|
| BLAKE2b-256 |
5f42cbfed05396727c3702d7bd3db91f8bbbcb819be2a45c01eee5590539e93d
|
File details
Details for the file swft-0.2-py3-none-any.whl.
File metadata
- Download URL: swft-0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be144e4e451c0b5e9adaa8a93b1f7024ea35bd1c9d3aadbb07ae6c38d7885059
|
|
| MD5 |
39e27778d56722112d95d76e98437b60
|
|
| BLAKE2b-256 |
e20a195e52736e4751e2539612947c73ecb191191fadb01f05bbb99ba0a01b4f
|