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:

2025.1.1

Requirements

This revision was tested with the following requirements and dependencies (other versions may work):

  • CPython 3.10.11, 3.11.9, 3.12.8, 3.13.1 64-bit

  • NumPy 2.1.3

Revisions

2025.1.1

  • Improve type hints.

  • Drop support for Python 3.9, support Python 3.13.

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.

  • Drop support for Python 3.6 (NEP 29).

2020.1.1

  • Drop 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

qdafile-2025.1.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

qdafile-2025.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file qdafile-2025.1.1.tar.gz.

File metadata

  • Download URL: qdafile-2025.1.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for qdafile-2025.1.1.tar.gz
Algorithm Hash digest
SHA256 28f724dfb4988ec945dbeda942fdc99f8e6052fceb2e69feeddfc1d78eae8cf6
MD5 7d8aa4d75cf7b824fe101915dd3feada
BLAKE2b-256 39a5dbcdca33f60878cc277e36684d5ddea1065ab0055b9f494714cfc03f3c24

See more details on using hashes here.

File details

Details for the file qdafile-2025.1.1-py3-none-any.whl.

File metadata

  • Download URL: qdafile-2025.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for qdafile-2025.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb472e7fe672ea75122fa42154bd826f259c1d24fcf89d1fb21fa3f98f93682d
MD5 d2a8203387fc8716c6d018913c5d0100
BLAKE2b-256 898d28f8493f3750bf651c7194ce95a510d7f9c3823440443c5bccd700e6be4f

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