py-tablib: updated to 3.6.0

3.6.0 (2024-03-23)

Improvements

- It's now possible to access a dataset row using its index without slicing
- The dataset `transpose()` method can be called on datasets without headers.
- The html format now supports importing from HTML content
- The ODS format now supports importing from .ods files
 still a bit experimental.
- When adding rows to a dataset with dynamic columns, it's now possible to
 provide only static values, and dynamic column values will be automatically
 calculated and added to the row

Changes

- The html export format does not depend on MarkupPy any longer, therefore the
 tablib[html] install target was removed also.

Bugfixes

- Fix crash when loading a databook from an XLS file
- `None` Python values are now converted to the empty string by the ODS formatter.
- When applying formatters, the internal data is no longer mutated
- Columns can be inserted even when a dataset has headers but no values
This commit is contained in:
adam 2024-03-24 17:22:44 +00:00
parent fd21da49c4
commit 7200e63600
3 changed files with 31 additions and 32 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.12 2023/12/07 18:15:44 adam Exp $
# $NetBSD: Makefile,v 1.13 2024/03/24 17:22:44 adam Exp $
DISTNAME= tablib-3.5.0
DISTNAME= tablib-3.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tablib/}
@ -14,7 +14,6 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=58:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
# all without pandas
DEPENDS+= ${PYPKGPREFIX}-markuppy-[0-9]*:../../textproc/py-markuppy
DEPENDS+= ${PYPKGPREFIX}-odfpy-[0-9]*:../../textproc/py-odfpy
DEPENDS+= ${PYPKGPREFIX}-openpyxl>=2.6.0:../../textproc/py-openpyxl
DEPENDS+= ${PYPKGPREFIX}-tabulate-[0-9]*:../../textproc/py-tabulate

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2023/10/28 19:57:20 wiz Exp $
@comment $NetBSD: PLIST,v 1.7 2024/03/24 17:22:44 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@ -8,6 +8,30 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/tablib/__init__.py
${PYSITELIB}/tablib/__init__.pyc
${PYSITELIB}/tablib/__init__.pyo
${PYSITELIB}/tablib/_vendor/__init__.py
${PYSITELIB}/tablib/_vendor/__init__.pyc
${PYSITELIB}/tablib/_vendor/__init__.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/__init__.py
${PYSITELIB}/tablib/_vendor/dbfpy/__init__.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/__init__.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/dbf.py
${PYSITELIB}/tablib/_vendor/dbfpy/dbf.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/dbf.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.py
${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/fields.py
${PYSITELIB}/tablib/_vendor/dbfpy/fields.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/fields.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/header.py
${PYSITELIB}/tablib/_vendor/dbfpy/header.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/header.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/record.py
${PYSITELIB}/tablib/_vendor/dbfpy/record.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/record.pyo
${PYSITELIB}/tablib/_vendor/dbfpy/utils.py
${PYSITELIB}/tablib/_vendor/dbfpy/utils.pyc
${PYSITELIB}/tablib/_vendor/dbfpy/utils.pyo
${PYSITELIB}/tablib/_version.py
${PYSITELIB}/tablib/_version.pyc
${PYSITELIB}/tablib/_version.pyo
@ -62,30 +86,6 @@ ${PYSITELIB}/tablib/formats/_xlsx.pyo
${PYSITELIB}/tablib/formats/_yaml.py
${PYSITELIB}/tablib/formats/_yaml.pyc
${PYSITELIB}/tablib/formats/_yaml.pyo
${PYSITELIB}/tablib/packages/__init__.py
${PYSITELIB}/tablib/packages/__init__.pyc
${PYSITELIB}/tablib/packages/__init__.pyo
${PYSITELIB}/tablib/packages/dbfpy/__init__.py
${PYSITELIB}/tablib/packages/dbfpy/__init__.pyc
${PYSITELIB}/tablib/packages/dbfpy/__init__.pyo
${PYSITELIB}/tablib/packages/dbfpy/dbf.py
${PYSITELIB}/tablib/packages/dbfpy/dbf.pyc
${PYSITELIB}/tablib/packages/dbfpy/dbf.pyo
${PYSITELIB}/tablib/packages/dbfpy/dbfnew.py
${PYSITELIB}/tablib/packages/dbfpy/dbfnew.pyc
${PYSITELIB}/tablib/packages/dbfpy/dbfnew.pyo
${PYSITELIB}/tablib/packages/dbfpy/fields.py
${PYSITELIB}/tablib/packages/dbfpy/fields.pyc
${PYSITELIB}/tablib/packages/dbfpy/fields.pyo
${PYSITELIB}/tablib/packages/dbfpy/header.py
${PYSITELIB}/tablib/packages/dbfpy/header.pyc
${PYSITELIB}/tablib/packages/dbfpy/header.pyo
${PYSITELIB}/tablib/packages/dbfpy/record.py
${PYSITELIB}/tablib/packages/dbfpy/record.pyc
${PYSITELIB}/tablib/packages/dbfpy/record.pyo
${PYSITELIB}/tablib/packages/dbfpy/utils.py
${PYSITELIB}/tablib/packages/dbfpy/utils.pyc
${PYSITELIB}/tablib/packages/dbfpy/utils.pyo
${PYSITELIB}/tablib/utils.py
${PYSITELIB}/tablib/utils.pyc
${PYSITELIB}/tablib/utils.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.9 2023/12/07 18:15:44 adam Exp $
$NetBSD: distinfo,v 1.10 2024/03/24 17:22:44 adam Exp $
BLAKE2s (tablib-3.5.0.tar.gz) = 30b484bbd7af42f8366bab541b0965a6806bd2254fb46b3fe5b3e4c5064caf8b
SHA512 (tablib-3.5.0.tar.gz) = cc47bc6087040abb1e9cbcc31b3a75c2a977edb1fdf840a4da72457a0a802f475d703e1fe586d8c8dad8dcb643b79f517aaee5e176ee50cf63fb4d6d73ea2bdd
Size (tablib-3.5.0.tar.gz) = 94795 bytes
BLAKE2s (tablib-3.6.0.tar.gz) = 45e1e0c80cd653164011c5204af26abacaca24a535fb3eaf1b5a41f35c7e13d3
SHA512 (tablib-3.6.0.tar.gz) = 07477209e714f180d2414d5eff19422a24c0488d46b5a787a224dddd34afe7891ed774b15dacb45902f1a70d2cf3adddfd3bd7966aaa29e40c9e883ed5c7c67d
Size (tablib-3.6.0.tar.gz) = 119130 bytes