Convtools

Latest version: v1.14.3

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

Scan your dependencies

Page 5 of 18

0.42.4

**Misc**

- locked CI dependencies
- switched packaging to hatch
- dropped setup.py and setup.cfg in favor of pyproject.toml

0.42.3

**Bugfix**

- fixed `c.group_by` for cases with input_arg/label inside and
iter/as_type/sort/tap methods called on it

0.42.2

**Bugfix**

- fixed `c.group_by` for cases where group by keys are generated functions
(e.g. deep attr lookup with default). No worries about silent errors, it used
to fail hard.

0.42.1

**Bugfix**

- fixed `Table.join` for cases where the right part has internal row type
different from the left one

0.42.0

**Features**

- introduced `c.iter_unique(element_conv=None, by_=None)` and
`(...).iter_unique` methods which define a conversion, which iterates over
the input and yields values unique based on the provided condition

0.41.0

**Features**

- introduced `c.date_parse` / `c.datetime_parse` shortcut and extension of
`datetime.strptime`
- introduced `c.date_trunc` / `c.datetime_trunc` to truncate dates to years,
months, days-of-week, etc. (including multiples of them like quarters -
`3mo`). Support offsets.
- introduced `DateGrid` / `DateTimeGrid` helpers to build gap-less series of
dates/datetimes. Support offsets.

Page 5 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.