Simpletool

Latest version: v0.0.32

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

Scan your dependencies

Page 1 of 4

0.0.32

Fixed
- missing asyncio folder in build package

0.0.31

Fixed
- cleanup TypeVar usage

0.0.30

Changed
- move async version to `asyncio` module -> `simpletool.asyncio`
- by default use sync version as we want to support both `sync` and `async`
- we will only handle passing `env` via argument called `env` (not env_vars or resources.env like it was before)

0.0.20

Added:
- Added AsyncExitStack import from contextlib
- Completely rewrote the aexit method to use AsyncExitStack for better resource management
- Key improvements:
- Uses AsyncExitStack to properly manage both async and sync resources
- Handles context managers directly through enter_async_context and enter_context
- Uses push_async_callback and push_callback for explicit resource cleanup
- Better error handling with more descriptive logging
- Cleaner code structure with proper async/await patterns
- added `_auto_track_large_object` method to track large objects and prevent memory leaks
- add `factory` create method to create SimpleTool instances
- tool.info now return `Dict` and not `str`

0.0.19

Added
- Make SimpleTool picklable - only serializing essential attributes
- add output_schema in info property
- add AsyncExitStack for tracking async resources

0.0.18

Fixed
- missing `SimpleTool` name and description validation rules

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.