Agate

Latest version: v1.10.2

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.7.1

-----------------------

* Allow parsedatetime 2.6.

1.7.0

-----------------------

* Add Python 3.10 and 3.11 support.
* Drop support for Python 2.7 (EOL 2020-01-01), 3.6 (2021-12-23).

1.6.3

---------------------

* feat: :meth:`.Table.from_csv` accepts a ``row_limit`` keyword argument. (740)
* feat: :meth:`.Table.from_json` accepts an ``encoding`` keyword argument. (734)
* feat: :meth:`.Table.print_html` accepts a ``max_precision`` keyword argument, like :meth:`.Table.print_table`. (753)
* feat: :class:`.TypeTester` accepts a ``null_values`` keyword argument, like individual data types. (745)
* feat: :class:`.Min`, :class:`.Max` and :class:`.Sum` (735) work with :class:`.TimeDelta`.
* feat: :class:`.FieldSizeLimitError` includes the line number in the error message. (681)
* feat: :class:`.csv.Sniffer` warns on error while sniffing CSV dialect.
* fix: :meth:`.Table.normalize` works with basic processing methods. (691)
* fix: :meth:`.Table.homogenize` works with basic processing methods. (756)
* fix: :meth:`.Table.homogenize` casts ``compare_values`` and ``default_row``. (700)
* fix: :meth:`.Table.homogenize` accepts tuples. (710)
* fix: :meth:`.TableSet.group_by` accepts input with no rows. (703)
* fix: :class:`.TypeTester` warns if a column specified by the ``force`` argument is not in the table, instead of raising an error. (747)
* fix: Aggregations return ``None`` if all values are ``None``, instead of raising an error. Note that ``Sum``, ``MaxLength`` and ``MaxPrecision`` continue to return ``0`` if all values are ``None``. (706)
* fix: Ensure files are closed when errors occur. (734)
* build: Make PyICU an optional dependency.
* Drop support for Python 3.4 (2019-03-18), 3.5 (2020-09-13).

1.6.2

----------------------

* feat: :meth:`.Date.__init__` and :meth:`.DateTime.__init__` accepts a ``locale`` keyword argument (e.g. :code:`en_US`) for parsing formatted dates. (730)
* feat: :meth:`.Number.cast` casts ``True`` to ``1`` and ``False`` to ``0``. (733)
* fix: :meth:`.utils.max_precision` ignores infinity when calculating precision. (726)
* fix: :meth:`.Date.cast` catches ``OverflowError`` when type testing. (720)
* Included examples in Python package. (716)

1.6.1

----------------------

* feat: :meth:`.Table.to_json` can use Decimal as keys. (696)
* fix: :meth:`.Date.cast` and :meth:`.DateTime.cast` no longer parse non-date strings that contain date sub-strings as dates. (705)
* docs: Link to tutorial now uses version through Sphinx to avoid bad links on future releases. (682)

1.6.0

-------------------------

This update should not cause any breaking changes, however, it is being classified as major release because the dependency on awesome-slugify, which is licensed with GPLv3, has been replaced with python-slugify, which is licensed with MIT.

* Suppress warning from babel about Time Zone expressions on Python 3.6. (665)
* Reimplemented slugify with python-slugify instead of awesome-slugify. (660)
* Slugify renaming of duplicate values is now consistent with :meth:`.Table.init`. (615)

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.