Utiloori

Latest version: v0.4.0

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

Scan your dependencies

0.4.0

Added

- Tools for PostgreSQL batched cursor query: `pg` module
- `filepath.obj_file_path_parent()`
- `json.find_long_strings()`
- `plaintext.truncate_text_middle()`
- `func.retry_exponential_backoff()`

Fixed

- PGv docker compose

0.3.0

Added

- `utiloori.chatlog.chatmsg_trim()` - Trim a message from chatlog to only fields defined in the [HuggingFace Chat Template format](https://huggingface.co/blog/chat-templates)
- `utiloori.markdown.clear_mdx_comments()` - Remove MDX-style Markdown comments from text

Changed

- `pprint_chatlog.pprint_chatlog()` is now `utiloori.chatlog.pformat()` and has configurable start and end delimiters

**Full Changelog**: https://github.com/OoriData/Utiloori/compare/v0.2.0...v0.3.0

0.2.0

- reorganized PGvector stuff (thanks kaischuygon)
- added configuration file to PGvector docker compose files (thanks kaischuygon)
- added `pprint_chatlog()` to print human readable versions of ChatML style lists of messages (thanks choccccy)
- added `test_validate_uuid()` to vibe check UUID strings (thanks uogbuji)
- added `time_plus_delta()` to add a timedelta to a time object. Python forbids you from doing this naively, with a time & timedelta object, because of the ambiguity when crossing the midnight border. (thanks uogbuji)

0.1.0

Added
ansi_color() python function
compose.yml for pgvector container

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.