Releases: wq/itertable
IterTable 2.2
IterTable 2.2 updates the project layout and code style to latest Python standards; the functionality is essentially the same as IterTable 2.1.
All changes by @sheppard.
- Move documentation to https://django-data-wizard.wq.io/itertable/
- Generate
itertable/version.py
while building package instead of reading frompkg_resources
at runtime (f2d437b) - Switch to
pyproject.toml
, update code style, and test with latest Python versions (f2d437b, 3f8f2bb, e57e58f)
IterTable 2.1
IterTable 2.1 brings compatibility with the latest Python versions, as well as several improvements for integration with Django Data Wizard 2.0. All changes by @sheppard.
API Improvements
- Support loading data from arbitrary file-like sources, such as S3 (wq/django-data-wizard#31)
- Raise an error by default when loading a nonexistent file (wq/django-data-wizard#33)
- Option to load all sheets from workbook at once (by setting
sheet_name=None
) (98b994e, f67a908) - Detect
application/csv
in addition totext/csv
(acb9fa7)
Ecosystem Updates
- Support Python 3.10 (7d1a814; wq/django-data-wizard#37)
- Drop all remaining support for Python 2 (475eb6c)
- Leverage openpyxl instead of xlrd when parsing XLSX format (475eb6c)
IterTable 2.0
IterTable 2.0 is the first stable release of the new itertable package! See the release notes for IterTable 2.0 beta for more information on the name change. There are no functional changes since the 2.0 beta.
IterTable 2.0 beta
wq.io is now IterTable! This name better reflects the project purpose, and avoids confusion with the wq framework website (https://wq.io). Similarly, IterTable's *IO
classes have been renamed to *Iter
, as the API is not intended to match that of Python's StringIO
or other io
classes.
The functionality is otherwise the same as wq.io 1.1.0. Here is a mapping of top-level exports:
old name | new name |
---|---|
wq.io.load_file | itertable.load_file |
wq.io.load_url | itertable.load_url |
wq.io.load_string | itertable.load_string |
wq.io.BaseIO | itertable.BaseIter |
wq.io.CsvFileIO | itertable.CsvFileIter |
wq.io.CsvNetIO | itertable.CsvNetIter |
wq.io.CsvStringIO | itertable.CsvStringIter |
wq.io.JsonFileIO | itertable.JsonFileIter |
wq.io.JsonNetIO | itertable.JsonNetIter |
wq.io.JsonStringIO | itertable.JsonStringIter |
wq.io.XmlFileIO | itertable.XmlFileIter |
wq.io.XmlNetIO | itertable.XmlNetIter |
wq.io.XmlStringIO | itertable.XmlStringIter |
wq.io.ExcelFileIO | itertable.ExcelFileIter |
wq.io.make_io | itertable.make_iter |
wq.io.guess_type | itertable.guess_type |
wq.io.flattened | itertable.flattened |
wq.io.VERSION | itertable.VERSION |
wq.io.*Loader | itertable.*Loader |
wq.io.*Parser | itertable.*Parser |
wq.io.*Mapper | itertable.*Mapper |
wq.io 1.1.0
wq.io 1.1.0 adds a new property, NetLoader.client
, that can be used to replace the default requests
client with something else. Also, Python 2.7 support is no longer advertised (though it may still work).
wq.io 1.0.0
wq.io 1.0.0 is finally here! This is the first stable release of wq.io 1.0, which is now ready for production use.
Changes since wq.io 1.0.0 beta
- Support
"iso8601"
as a date format specification (3858f27) - Format column widths, headings, and dates when writing to Excel (64a658c)
- Drop Python 2.7 from tests (still supported in library - for now)
- Incorporate Code of Conduct and Contributing Guidelines
Other changes since wq.io 0.8.0
-
- Make
binary
a*Parser
attribute rather than a*Loader
attribute.
- Make
-
- URL support for
wq cat
- URL support for
wq.io 1.0 beta
wq.io 1.0.0b1 is the beta release of the upcoming 1.0 version of wq.io. The release brings code style improvements and URL support for wq cat
:
wq cat http://example.com/example.xlsx
wq.io 1.0 alpha
wq.io 1.0.0a1 is an alpha release of the upcoming 1.0 version of wq.io. The main change is better support for binary formats.
- Change
binary
from being defined on loader classes to being defined on parser classes, which makes more sense intuitively. RemovedBinaryFileLoader
and madeFileLoader
check (rather than set) thebinary
attribute to determine file mode. - Include binary support in
StringLoader
via a similar mechanism. - Update
CsvParser
and tests to ensure they work whether or notunicodecsv
is installed
wq.io 0.8.0
Initial work on a CLI for wq.io (see #8).
wq.io 0.7.1
wq.io 0.7.1 brings a couple of minor bug fixes to 0.7.0:
- Ensure that
extra_data
is an instance property rather than a class property (b17aeef). This was causing subtle issues in long-running dbio processes. - Account for Unicode normalization in Python 3 (a14d6a6). See http://bugs.python.org/issue23091 for background.