Psycopg-toolkit

Latest version: v0.1.7

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

Scan your dependencies

0.1.6

Changes:

- Update README with comprehensive examples and usage guides
- Improve docstrings and code comments in core components
- Add advanced transaction and schema management examples
- Enhance error handling documentation
- Refactor and expand test coverage

0.1.5

Changes:

- Simplified Database and TransactionManager classes
- Added comprehensive error handling
- Improved connection pool management
- Updated project dependencies
- Enhanced test suite with test containers

0.1.0

Initial release of Psycopg Toolkit providing async-first PostgreSQL database management for Python.

**Features:**

Database:

- Async connection pooling via psycopg-pool
- Exponential backoff retry with configurable attempts
- Runtime pool optimization and health checks
- Automatic cleanup on shutdown

Transactions:

- Automatic rollback on errors
- Nested transaction support via savepoints
- Connection state management
- Integrated repository support

Repository Pattern:

- Generic type-safe CRUD operations
- Pydantic model integration
- Parameterized query building
- Bulk operation support

Requires Python 3.11+ and PostgreSQL 13+.

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.