Metadata-Version: 2.0
Name: pyATC
Version: 1.0.5
Summary: Library for working with Alivecor ATC files
Home-page: https://github.com/Thiele/pyatc/
Author: Andreas Thiele
Author-email: andreasthiele@outlook.com
License: MIT
Project-URL: Bug Reports, https://github.com/Thiele/pyatc/issues
Keywords: ATC alivecor edf json
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: python-dateutil

# 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](http://www.edfplus.info/) (not plus) format.

## Installation
pyatc is available on [pypi](https://pypi.org/project/pyATC/).

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](pyatc/test.py) for more usage.

### File support
Currently only file version 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 3, and ideally knowledge on how to read them, please let me know so that the library can support them.


