Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-tablib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix PLIST after py-setuptools update; bump depends and revision
py-tablib: updated to 3.8.0 3.8.0 (2025-01-22) - Add support for exporting XLSX with column width - Remove redundant check from `Dataset.load()`
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-tablib: updated to 3.7.0 3.7.0 (2024-10-08) Improvements - Add support for Python 3.13 - Drop support for EOL Python 3.8 - Add styling to datetime, date and time values for ODS - Add styling for date/time types for XLS Bugfixes - Fix time and datetime export in ODS format - Avoid normalizing input twice in `import_set`/`book`
*: clean-up after python38 removal
py-tablib: updated to 3.6.1 3.6.1 (2024-04-04) Bugfixes - Fix broken installs with pip failing to resolve the request for `tablib[html]` in some cases
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
py-tablib: updated to 3.5.0 3.5.0 (2023-06-11) Improvements Add support for Python 3.12 Drop support for EOL Python 3.7 Allow importing 'ragged' .xlsx files through dataset Release: replace deprecated repository_url with repository-url
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
*: remove more references to Python 3.7
*: restrict py-numpy users to 3.9+ in preparation for update
py-tablib: updated to 3.4.0 3.4.0 (2023-03-24) Improvements - Move setup to `pyproject.toml` - xlsx export: remove redundant code - xlsx export: support escape of formulae - Add <tbody> tags to HTML output - Check for type list and improve error msg Bugfixes - Fix bug when yaml file is empty - Fix linting issues raised by Flake8
py-tablib: updated to 3.3.0 3.3.0 (2022-12-10) Improvements - Add support for Python 3.11. - ODS export: integers/floats/decimals are exported as numbers.
py-tablib: updated to 3.2.1 3.2.1 (2022-04-09) Bugfixes - Support solo CR in text input imports 3.2.0 (2022-01-27) Changes - Dropped Python 3.6 support Bugfixes - Corrected order of arguments to a regex call in `safe_xlsx_sheet_title` 3.1.0 (2021-10-26) Improvements - Add support for Python 3.10 - The csv, xls, and xlsx formats gained support for the `skip_lines` keyword argument for their `import_set()` method to be able to skip the nth first lines of a read file Bugfixes - Avoided mutable parameter defaults - Specify build backend for editable installs - Doubled sample size passed to `csv.Sniffer()` in `_csv.detect()` 3.0.0 (2020-12-05) Breaking changes - Dropped Python 3.5 support. - JSON-exported data is no longer forced to ASCII characters. - YAML-exported data is no longer forced to ASCII characters. Improvements - Added Python 3.9 support. - Added read_only option to xlsx file reader Bugfixes - Prevented crash in rst export with only-space strings
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-tablib: updated to 2.0.0 2.0.0: Breaking changes The Row.lpush/rpush logic was reversed. lpush was appending while rpush and append were prepending. This was fixed (reversed behavior). If you counted on the broken behavior, please update your code. Bugfixes Fixed minimal openpyxl dependency version to 2.6.0. Dates from xls files are now read as Python datetime objects. Allow import of "ragged" xlsx files. Improvements When importing an xlsx file, Tablib will now read cell values instead of formulas. 1.1.0: Deprecations Upcoming breaking change in Tablib 2.0.0: the Row.lpush/rpush logic is reversed. lpush is appending while rpush and append are prepending. The broken behavior will remain in Tablib 1.x and will be fixed (reversed) in Tablib 2.0.0. If you count on the broken behavior, please update your code when you upgrade to Tablib 2.x. Improvements Tablib is now able to import CSV content where not all rows have the same length. Missing columns on any line receive the empty string. 1.0.0: Breaking changes Dropped Python 2 support Dependencies are now all optional. To install tablib as before with all possible supported formats, run pip install tablib[all] Improvements Formats can now be dynamically registered through the tablib.formats.registry.refister API. Tablib methods expecting data input (detect_format, import_set, Dataset.load, Databook.load) now accepts file-like objects in addition to raw strings and bytestrings. Bugfixes Fixed a crash when exporting an empty string with the ReST format Error cells from imported .xls files contain now the error string
py-tablib: do not depend on pandas (is it optional); use TEST_DEPENDS
All files should be compiled. Bump revision.
Tablib is a format-agnostic tabular dataset library, written in Python. Output formats supported: * Excel (Sets + Books) * JSON (Sets + Books) * YAML (Sets + Books) * Pandas DataFrames (Sets) * HTML (Sets) * TSV (Sets) * OSD (Sets) * CSV (Sets) * DBF (Sets)