Skip to main content

Read and write QDA files

Project description

Qdafile is a Python library to read and write KaleidaGraph(tm) version 3.x QDA data files.

KaleidaGraph is a registered trademark of Abelbeck Software.

Qdafile is no longer being actively developed.

Author:

Christoph Gohlke

License:

BSD 3-Clause

Version:

2020.1.1

Requirements

Revisions

2020.1.1

Remove support for Python 2.7 and 3.5. Update copyright.

Examples

>>> from qdafile import QDAfile
>>> QDAfile().write('_empty.qda')
>>> QDAfile(
...     [[1.0, 2.0, 0.], [3.0, 4.0, 5.0], [6.0, 7.0, 0.]],
...     rows=[2, 3, '2'],
...     headers=['X', 'Y', 'Z'],
...     dtypes=['>f8', '>i4', '>f4'],
...     ).write('_test.qda')
>>> qda = QDAfile('_test.qda')
>>> print(qda)
QDAfile
 _test.qda
 file id: 12
 columns: 3
 rows: [2, 3, 2]
 headers: [b'X', b'Y', b'Z']
 dtypes: ['>f8', '>i4', '>f4']
>>> qda.headers[2]
b'Z'
>>> qda[2, :qda.rows[2]]
array([6., 7.])

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

qdafile-2020.1.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

qdafile-2020.1.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

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