Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-tablib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-tablib: updated to 3.9.0 3.9.0 Added Add dataset title adjustment for xls format Support column_width in xlsx format for databook exports Add sql export format Add support for Python 3.14 Changed Improve comprehensions Fixed Fix bug in ODS import where headers are not set on Dataset Fix bug in ODS import regarding cells with empty strings Remove outdated Python support from docs
Fix PLIST after py-setuptools update; bump depends and revision
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
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.
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.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
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
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)