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:
- License:
BSD 3-Clause
- Version:
2022.9.28
Requirements
This release has been tested with the following requirements and dependencies (other versions may work):
Revisions
2022.9.28
Return headers as str, not bytes (breaking).
Add type hints.
Drop support for Python 3.7 and numpy < 1.19 (NEP29).
2021.6.6
Support os.PathLike file names.
Remove support for Python 3.6 (NEP 29).
2020.1.1
Remove support for Python 2.7 and 3.5.
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: ['X', 'Y', 'Z'] dtypes: ['>f8', '>i4', '>f4'] >>> qda.headers[2] '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-2022.9.28.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for qdafile-2022.9.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86a97c45efcd5812f8a2f606c4f95b7779462ccf3b325d70fceebde811c4b79 |
|
MD5 | a0814e4d1c33bafb2f01bd17d2282be4 |
|
BLAKE2b-256 | ac4457c0234c480730824af751be001ca7537f76474f34ae99128cb48626cef8 |