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:
2024.5.24
Requirements
This revision was tested with the following requirements and dependencies (other versions may work):
Revisions
2024.5.24
Support NumPy 2.
Fix docstring examples not correctly rendered on GitHub.
Add py.typed marker.
Drop support for Python 3.8 and numpy < 1.22 (NEP29).
2022.9.28
Return headers as str, not bytes (breaking).
Add type hints.
Convert to Google style docstrings.
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.0], [3.0, 4.0, 5.0], [6.0, 7.0, 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
Built Distribution
File details
Details for the file qdafile-2024.5.24.tar.gz
.
File metadata
- Download URL: qdafile-2024.5.24.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6164470e8d6bd5eccf1c26880e9df5690484761e857d13ee3e122708466209 |
|
MD5 | 89c0a7404ea44fcda2052e497de70865 |
|
BLAKE2b-256 | 057b258102c2b9444e28a5a15db5d7244371f4fb0fd86a90c0968439fda93130 |
File details
Details for the file qdafile-2024.5.24-py3-none-any.whl
.
File metadata
- Download URL: qdafile-2024.5.24-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a3ca9602a1f7ce791cde047b01307d41d8071e37fb450f0b0011c211bd5fcc |
|
MD5 | b93fbe7ec31255271ec8b07cd0a5b400 |
|
BLAKE2b-256 | 09bd29cb8c9bdf7f7612da784a687775f4a838517ec9920e8416dddc565470aa |