Read and write QDA files
========================
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
<http://www.synergy.com>`_.
Qdafile is no longer being actively developed.
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
:License: BSD 3-Clause
:Version: 2025.1.1
Requirements
------------
This revision was tested with the following requirements and dependencies
(other versions may work):
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.8, 3.13.1 64-bit
- `NumPy <https://pypi.org/project/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.])
Raw data
{
"_id": null,
"home_page": "https://www.cgohlke.com",
"name": "qdafile",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Christoph Gohlke",
"author_email": "cgohlke@cgohlke.com",
"download_url": "https://files.pythonhosted.org/packages/39/a5/dbcdca33f60878cc277e36684d5ddea1065ab0055b9f494714cfc03f3c24/qdafile-2025.1.1.tar.gz",
"platform": "any",
"description": "Read and write QDA files\r\n========================\r\n\r\nQdafile is a Python library to read and write KaleidaGraph(tm) version 3.x\r\nQDA data files.\r\n\r\nKaleidaGraph is a registered trademark of `Abelbeck Software\r\n<http://www.synergy.com>`_.\r\n\r\nQdafile is no longer being actively developed.\r\n\r\n:Author: `Christoph Gohlke <https://www.cgohlke.com>`_\r\n:License: BSD 3-Clause\r\n:Version: 2025.1.1\r\n\r\nRequirements\r\n------------\r\n\r\nThis revision was tested with the following requirements and dependencies\r\n(other versions may work):\r\n\r\n- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.8, 3.13.1 64-bit\r\n- `NumPy <https://pypi.org/project/numpy/>`_ 2.1.3\r\n\r\nRevisions\r\n---------\r\n\r\n2025.1.1\r\n\r\n- Improve type hints.\r\n- Drop support for Python 3.9, support Python 3.13.\r\n\r\n2024.5.24\r\n\r\n- Support NumPy 2.\r\n- Fix docstring examples not correctly rendered on GitHub.\r\n- Add py.typed marker.\r\n- Drop support for Python 3.8 and numpy < 1.22 (NEP29).\r\n\r\n2022.9.28\r\n\r\n- Return headers as str, not bytes (breaking).\r\n- Add type hints.\r\n- Convert to Google style docstrings.\r\n- Drop support for Python 3.7 and numpy < 1.19 (NEP29).\r\n\r\n2021.6.6\r\n\r\n- Support os.PathLike file names.\r\n- Drop support for Python 3.6 (NEP 29).\r\n\r\n2020.1.1\r\n\r\n- Drop support for Python 2.7 and 3.5.\r\n\r\nExamples\r\n--------\r\n\r\n>>> from qdafile import QDAfile\r\n>>> QDAfile().write('_empty.qda')\r\n>>> QDAfile(\r\n... [[1.0, 2.0, 0.0], [3.0, 4.0, 5.0], [6.0, 7.0, 0.0]],\r\n... rows=[2, 3, '2'],\r\n... headers=['X', 'Y', 'Z'],\r\n... dtypes=['>f8', '>i4', '>f4'],\r\n... ).write('_test.qda')\r\n>>> qda = QDAfile('_test.qda')\r\n>>> print(qda)\r\n<QDAfile '_test.qda'>\r\n file id: 12\r\n columns: 3\r\n rows: [2, 3, 2]\r\n headers: ['X', 'Y', 'Z']\r\n dtypes: ['>f8', '>i4', '>f4']\r\n>>> qda.headers[2]\r\n'Z'\r\n>>> qda[2, : qda.rows[2]]\r\narray([6., 7.])\r\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Read and write QDA files",
"version": "2025.1.1",
"project_urls": {
"Bug Tracker": "https://github.com/cgohlke/qdafile/issues",
"Homepage": "https://www.cgohlke.com",
"Source Code": "https://github.com/cgohlke/qdafile"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "898d28f8493f3750bf651c7194ce95a510d7f9c3823440443c5bccd700e6be4f",
"md5": "d2a8203387fc8716c6d018913c5d0100",
"sha256": "eb472e7fe672ea75122fa42154bd826f259c1d24fcf89d1fb21fa3f98f93682d"
},
"downloads": -1,
"filename": "qdafile-2025.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2a8203387fc8716c6d018913c5d0100",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 8007,
"upload_time": "2025-01-02T02:31:43",
"upload_time_iso_8601": "2025-01-02T02:31:43.138859Z",
"url": "https://files.pythonhosted.org/packages/89/8d/28f8493f3750bf651c7194ce95a510d7f9c3823440443c5bccd700e6be4f/qdafile-2025.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "39a5dbcdca33f60878cc277e36684d5ddea1065ab0055b9f494714cfc03f3c24",
"md5": "7d8aa4d75cf7b824fe101915dd3feada",
"sha256": "28f724dfb4988ec945dbeda942fdc99f8e6052fceb2e69feeddfc1d78eae8cf6"
},
"downloads": -1,
"filename": "qdafile-2025.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7d8aa4d75cf7b824fe101915dd3feada",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 7282,
"upload_time": "2025-01-02T02:31:57",
"upload_time_iso_8601": "2025-01-02T02:31:57.188568Z",
"url": "https://files.pythonhosted.org/packages/39/a5/dbcdca33f60878cc277e36684d5ddea1065ab0055b9f494714cfc03f3c24/qdafile-2025.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-02 02:31:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cgohlke",
"github_project": "qdafile",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "qdafile"
}