Pymince

Latest version: v2.10.0

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

Scan your dependencies

Page 1 of 2

2.9.0

- **Added:** `jsonlines.dump_fork`: Incrementally dumps different groups of elements
into the indicated `jsonlines` file.
- **Added:** tests to `json.idump_fork`
- **Added:** `json.idump_fork`: Incrementally dumps different groups of elements into
the indicated JSON file. *** Useful to reduce memory consumption ***

2.8.0

- **Added:** `dictionary.tree`
- **Added:** new tests to `logging` `iterator`
- **Added:** new tests to `jsonlines`
- **Added:** `jsonlines module:` Useful functions for working with `jsonlines` and `ndjson`:
dumper, dumps, dump, dump_into, load, load_from.
TODO: stream compressors: `gzip` `bzip2` supporting

2.7.0

- **Improved:** `json.dump_from_csv` reduce memory consumption, now uses `idump_into`
- **Added:** `json.idump_lines`

2.6.0

- **Added:** `json.idump_into`
- **Added:** `file.get_valid_filename`
- **Added:** `iterator.partition`
- **Added:** `iterator.normalize_newlines`
- **Changed:** Rename `iterator.has_only_one` to `iterator.only_one`

2.5.0

- **Fixed:** `logging.timed_block` docstring
- **Added:** `text.get_random_secret`, `text.get_random_string`
- **Added:** `functional.identity` Identity function, as defined in *https://en.wikipedia.org/wiki/Identity_function*.
- **Added:** `text.multireplacer` Returns a multiple replacement function.
- **Added:** `iterator.ipush` Iterator class supporting **append** and **prepend**.
- **Added:** `dates.IsoWeekDay`, `dates.WeekDay` enums.

2.4.0

- **Fixed** `text.multireplace`
- **Added:** `functional.caller`, `functional.suppress`
- **Changed:** Moved `retry.retry_if_errors`, `retry.retry_if_none` to
`functional.retry_if_errors`, `functional.retry_if_none`
- **Changed:** `retry.retry_if_errors`. Used `functools.wraps` to apply **update_wrapper**.
- **Changed:** `file.decompress`. Added `size` arg.
- **Changed:** Purpose of **n** arg of `algorithm.fibonacci`.
- **Changed:** `json.dump_into`, `json.dump_into_zip`, `json.dump_from_csv`. Pass `**kwargs` to **json.dump/s**

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.