pyqvd 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyqvd-2.3.0/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Constantin Müller and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
pyqvd-2.3.0/PKG-INFO ADDED
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyqvd
3
+ Version: 2.3.0
4
+ Summary: Utility library for reading/writing Qlik View Data (QVD) files in Python.
5
+ License: MIT
6
+ License-File: LICENSE.md
7
+ Keywords: qlik,qvd,qlik sense,qlik view,pandas
8
+ Author: Constantin Müller
9
+ Author-email: info@mueller-constantin.de
10
+ Requires-Python: >=3.9
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Natural Language :: English
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.8
23
+ Provides-Extra: pandas
24
+ Requires-Dist: pandas (>=2.2,<3.0) ; extra == "pandas"
25
+ Requires-Dist: tabulate (>=0.9,<0.10)
26
+ Project-URL: Documentation, https://pyqvd.readthedocs.io
27
+ Project-URL: Homepage, https://github.com/MuellerConstantin/PyQvd
28
+ Project-URL: Repository, https://github.com/MuellerConstantin/PyQvd
29
+ Description-Content-Type: text/markdown
30
+
31
+ # PyQvd
32
+
33
+ > Utility library for reading/writing Qlik View Data (QVD) files in Python.
34
+
35
+ The _PyQvd_ library provides a simple API for reading/writing Qlik View Data (QVD) files in Python.
36
+ Using this library, it is possible to parse the binary QVD file format and convert it to a Python object
37
+ structure or vice versa.
38
+
39
+ ---
40
+
41
+ - [Install](#install)
42
+ - [Usage](#usage)
43
+ - [Contributing](#contributing)
44
+ - [License](#license)
45
+ - [Forbidden](#forbidden)
46
+
47
+ ---
48
+
49
+ ## Install
50
+
51
+ PyQvd is a Python library available through [pypi](https://pypi.org/). The recommended way to
52
+ install and maintain PyQvd as a dependency is through the package installer (PIP). Before
53
+ installing this library, download and install Python.
54
+
55
+ To use PyQvd, first install it using pip:
56
+
57
+ ```bash
58
+ (.venv) $ pip install PyQvd
59
+ ```
60
+
61
+ ## Usage
62
+
63
+ For a detailed overview of the library's API, please refer to the
64
+ [documentation](https://pyqvd.readthedocs.io). Below is a quick example how to use _PyQvd_.
65
+
66
+ ```python
67
+ from pyqvd import QvdTable
68
+
69
+ tbl = QvdTable.from_qvd("path/to/file.qvd")
70
+ print(tbl.head())
71
+ ```
72
+
73
+ The above example loads the _PyQvd_ library and parses an example QVD file. A QVD file is typically
74
+ loaded using the static `QvdTable.from_qvd` function of the `QvdTable` class itself. After loading
75
+ the file's content, numerous methods and properties are available to work with the parsed data.
76
+
77
+ ## Contributing
78
+
79
+ If you would like to contribute to PyQvd, please fork the repository and create a pull request. We
80
+ welcome pull requests for bug fixes, new features, and improvements to the library. Please ensure
81
+ that your pull request and its changes follows the [Contributing Guidelines](CONTRIBUTING.md).
82
+
83
+ ## License
84
+
85
+ Copyright (c) 2024 Constantin Müller and contributors
86
+
87
+ Permission is hereby granted, free of charge, to any person obtaining a copy
88
+ of this software and associated documentation files (the "Software"), to deal
89
+ in the Software without restriction, including without limitation the rights
90
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
91
+ copies of the Software, and to permit persons to whom the Software is
92
+ furnished to do so, subject to the following conditions:
93
+
94
+ The above copyright notice and this permission notice shall be included in all
95
+ copies or substantial portions of the Software.
96
+
97
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
99
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
100
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
101
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
102
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
103
+ SOFTWARE.
104
+
105
+ [MIT License](https://opensource.org/licenses/MIT) or [LICENSE](LICENSE) for
106
+ more details.
107
+
108
+ ### Forbidden
109
+
110
+ **Hold Liable**: Software is provided without warranty and the software
111
+ author/license owner cannot be held liable for damages.
112
+
pyqvd-2.3.0/README.md ADDED
@@ -0,0 +1,81 @@
1
+ # PyQvd
2
+
3
+ > Utility library for reading/writing Qlik View Data (QVD) files in Python.
4
+
5
+ The _PyQvd_ library provides a simple API for reading/writing Qlik View Data (QVD) files in Python.
6
+ Using this library, it is possible to parse the binary QVD file format and convert it to a Python object
7
+ structure or vice versa.
8
+
9
+ ---
10
+
11
+ - [Install](#install)
12
+ - [Usage](#usage)
13
+ - [Contributing](#contributing)
14
+ - [License](#license)
15
+ - [Forbidden](#forbidden)
16
+
17
+ ---
18
+
19
+ ## Install
20
+
21
+ PyQvd is a Python library available through [pypi](https://pypi.org/). The recommended way to
22
+ install and maintain PyQvd as a dependency is through the package installer (PIP). Before
23
+ installing this library, download and install Python.
24
+
25
+ To use PyQvd, first install it using pip:
26
+
27
+ ```bash
28
+ (.venv) $ pip install PyQvd
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ For a detailed overview of the library's API, please refer to the
34
+ [documentation](https://pyqvd.readthedocs.io). Below is a quick example how to use _PyQvd_.
35
+
36
+ ```python
37
+ from pyqvd import QvdTable
38
+
39
+ tbl = QvdTable.from_qvd("path/to/file.qvd")
40
+ print(tbl.head())
41
+ ```
42
+
43
+ The above example loads the _PyQvd_ library and parses an example QVD file. A QVD file is typically
44
+ loaded using the static `QvdTable.from_qvd` function of the `QvdTable` class itself. After loading
45
+ the file's content, numerous methods and properties are available to work with the parsed data.
46
+
47
+ ## Contributing
48
+
49
+ If you would like to contribute to PyQvd, please fork the repository and create a pull request. We
50
+ welcome pull requests for bug fixes, new features, and improvements to the library. Please ensure
51
+ that your pull request and its changes follows the [Contributing Guidelines](CONTRIBUTING.md).
52
+
53
+ ## License
54
+
55
+ Copyright (c) 2024 Constantin Müller and contributors
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining a copy
58
+ of this software and associated documentation files (the "Software"), to deal
59
+ in the Software without restriction, including without limitation the rights
60
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
61
+ copies of the Software, and to permit persons to whom the Software is
62
+ furnished to do so, subject to the following conditions:
63
+
64
+ The above copyright notice and this permission notice shall be included in all
65
+ copies or substantial portions of the Software.
66
+
67
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
68
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
69
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
70
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
73
+ SOFTWARE.
74
+
75
+ [MIT License](https://opensource.org/licenses/MIT) or [LICENSE](LICENSE) for
76
+ more details.
77
+
78
+ ### Forbidden
79
+
80
+ **Hold Liable**: Software is provided without warranty and the software
81
+ author/license owner cannot be held liable for damages.
@@ -0,0 +1,54 @@
1
+ [build-system]
2
+ requires = ["poetry-core>=1.7.0"]
3
+ build-backend = "poetry.core.masonry.api"
4
+
5
+ [tool.poetry]
6
+ name = "pyqvd"
7
+ version = "2.3.0"
8
+ description = "Utility library for reading/writing Qlik View Data (QVD) files in Python."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = ["Constantin Müller <info@mueller-constantin.de>"]
12
+ keywords = ["qlik", "qvd", "qlik sense", "qlik view", "pandas"]
13
+
14
+ homepage = "https://github.com/MuellerConstantin/PyQvd"
15
+ repository = "https://github.com/MuellerConstantin/PyQvd"
16
+ documentation = "https://pyqvd.readthedocs.io"
17
+
18
+ classifiers = [
19
+ "Development Status :: 5 - Production/Stable",
20
+ "Intended Audience :: Developers",
21
+ "Natural Language :: English",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.8"
24
+ ]
25
+
26
+ [tool.poetry.dependencies]
27
+ python = ">=3.9"
28
+ tabulate = "^0.9"
29
+ pandas = { version = "^2.2", optional = true }
30
+
31
+ [tool.poetry.extras]
32
+ pandas = ["pandas"]
33
+
34
+ [tool.poetry.group.dev.dependencies]
35
+ pytest = "^8.1"
36
+ pytest-benchmark = "^5.2"
37
+ pylint = "^3.1"
38
+ nox = "^2025.11.12"
39
+
40
+ [tool.pytest.ini_options]
41
+ testpaths = ["tests"]
42
+ addopts = "-m 'not benchmark'"
43
+ markers = [
44
+ "benchmark: performance benchmarks (not run by default)"
45
+ ]
46
+
47
+ [tool.pylint.main]
48
+ py-version = "3.8"
49
+
50
+ [tool.pylint.messages_control]
51
+ max-line-length = 120
52
+
53
+ [tool.pylint.report]
54
+ output-format = "colorized"
@@ -0,0 +1,6 @@
1
+ """
2
+ Root package of the PyQVD library. Contains the main classes and functions to read and write QVD files.
3
+ """
4
+
5
+ from .qvd import (QvdTable, QvdValue, IntegerValue, DoubleValue, StringValue, DualIntegerValue,
6
+ DualDoubleValue, TimeValue, DateValue, TimestampValue, IntervalValue, MoneyValue)
@@ -0,0 +1,10 @@
1
+ """
2
+ This module contains the classes and functions for reading and writing QVD files. QVD files can be read
3
+ and written to/from any arbitrary stream-like target using the :class:`pyqvd.io.QvdFileReader` and
4
+ :class:`pyqvd.io.QvdFileWriter` classes respectively.
5
+ """
6
+
7
+ from .reader import QvdFileReader
8
+ from .writer import QvdFileWriter, QvdFileWriterOptions
9
+ from .format import (TimeValueFormatter, DateValueFormatter, TimestampValueFormatter,
10
+ IntervalValueFormatter, MoneyValueFormatter)