Skip to main content

Library for working with Alivecor ATC files

Project description

pyatc

Python tools for working with proprietary Alivecor ATC files in both python 2 and python 3.

Supports reading and writing ATC files, reading from and writing to JSON and exporting to EDF (not plus) format.

Installation

pyatc is available on pypi.

Install using pip with pip install pyatc

Usage

This sample requires you to have a file named in.atc in the same folder as the script.

from pyatc.pyatc import PyATC

f = PyATC.read_file("in.atc") #Read ATC
f.write_json_to_file("out.json") #Write json
f.write_to_file("out.atc") #Write ATC
f.write_edf_to_file("out.edf") #Write EDF

Please refer to test.py for more usage.

File support

Currently only file version 2 & 3 is supported. If you don't know if your file is the right format, try reading the file and the library will throw an UnsupportedFileVersionException if it is not.

If you got ATC files of a different version than 2 & 3, and ideally knowledge on how to read them, please let me know so that the library can support them.

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

pyATC-1.0.6.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

pyATC-1.0.6-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyATC-1.0.6.tar.gz.

File metadata

  • Download URL: pyATC-1.0.6.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

File hashes

Hashes for pyATC-1.0.6.tar.gz
Algorithm Hash digest
SHA256 da6782dad0bd7c0af2b7e4c4c593336638c4dcd945a3ffe43c07c8a369ad5bb9
MD5 78844381013f0ba2818dd8ff0dd92641
BLAKE2b-256 918b9ed20b4a1a8d0d84ae3225a283f942e388241837928805d024c276a9c6e3

See more details on using hashes here.

File details

Details for the file pyATC-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: pyATC-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

File hashes

Hashes for pyATC-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 18be2bad76ef5022a9ca21cc6575f4d28ca4f4a37e7f4f86ef2c065acceed0be
MD5 bafe0ec088632236ce3aff9a86e8d331
BLAKE2b-256 49962ccddf88a97922bae40c764b519fd15bdcc718f3bea7164efe00817fa949

See more details on using hashes here.

Supported by

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