Pymince

Latest version: v2.13.0

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

Scan your dependencies

Page 1 of 3

2.13.0

- **Added:** `patterns.Singleton` Metaclass to create singletons.
- **Added:** `text.camel2snake` Utility to convert camel case to snake case.
- **Changed:** The default `stop_date` param for `dates.irange` is now `datetime.now()` (naive) if not provided.
- **Changed:** `iterator.grouper` now uses `itertools.batched` internally if a Python version is 3.12 or higher.
- **Changed:** Update `pyproject.toml`

2.12.0

- **Added:** Generate documentation site with `mkdocs`.
- **Changed:** Simplify the README.
- **Changed:** [BREAKING] Remove `logging.timed_block`. Use instead `benchmark.Timed`.
- **Changed:** [BREAKING] Rename `functional.retry_if_none` to `functional.retry_when`. Now retries based on the given
condition, By default, it retries if the result is None.
- **Changed:** [BREAKING] `functional.retry_if_errors` avoid additionally retrying, raise ValueError.
- **Changed:** [BREAKING] Remove `orjson`, `ujson` libraries supports. Use instead `json` module.
- **Changed:** [BREAKING] Rename `json.dump_from_csv` to `json.csv_to_json`.

2.11.4

- **Fixed:** Fix "benchmark" decorators. Humanize size memory consumption.

2.11.3

- **Added:** Improve "benchmark" decorators to avoid replacing given aliases. Improvement to
remove '_Benchmark' class from README.md

2.11.2

- **Added:** `benchmark`: Utilities to measure memory consumption and duration of a given code fragment.

2.11.1

- **Changed:** `text.is_positive_int`, `text.is_negative_int`, `text.is_int`. Now it is stricter
- **Changed:** `json` module. Supports `orjson`, `ujson` libraries or standard `json`. Supports following compression
formats: gzip => (.gz), bzip2 => (.bz2), xz => (.xz)
- **Changed:** `file.decompress`: Supports more compression formats: gzip => (.gz), bzip2 => (.bz2), xz => (.xz)

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.