Nootropic

Latest version: v1.2410.1

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

Scan your dependencies

1.2410.1

- Add support for HuggingFace SDK and implement StreamWrapper for LLMDK
- Refactor wrapper classes for consistency and flexibility:
- Unify prompt handling with prompt_or_messages parameter in GenerateWrapper
- Add disable_cache option to BaseWrapper and Nootropic
- Implement shallow copy of messages to avoid modifying originals
- Refactor system message handling across wrappers
- Improve error handling and method access:
- Add __getattr__ methods to raise NotImplementedError for unimplemented methods
- Remove fallback to original client in Nootropic.__getattr__
- Enhance Nootropic class with generic _create_wrapper method
- Update README with new supported SDKs and example usage
- Improve type hinting and code formatting throughout

1.2410.0

- Add prefix, postfix and system prompt support
- Compatible SDKs: `llmdk`, `openai`, `anthropic`, `groq` and `ollama`

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.