-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
🚀 Feature Request: Export CRUD Wrapper as a PyPI Library
Is your feature request related to a problem? Please describe.
- Managing repetitive CRUD operations with SQLAlchemy can lead to redundant code and potential inconsistencies across different projects. A standardized, reusable solution would enhance code maintainability and consistency, particularly for common CRUD operations.
Describe the solution you'd like
- Export the existing CRUD wrapper around SQLAlchemy 2.0 as a PyPI library. This library should simplify basic CRUD operations and be easy to integrate into any Python project using SQLAlchemy. Key features should include:
- A consistent API for creating, reading, updating, and deleting database records.
- Support for SQLAlchemy 2.0 with type hints and modern Python practices.
- Clear and comprehensive documentation, including examples and usage guidelines.
- Unit tests to ensure reliability and stability of the library.
- Compatibility with common Python web frameworks like FastAPI and Flask.
Describe alternatives you've considered
- Keeping the CRUD wrapper as an internal module, which limits its reusability and makes it harder to maintain across different projects.
- Using other third-party ORM wrappers or libraries, but they may not offer the same level of customization and integration tailored to our specific use cases with SQLAlchemy 2.0.
Additional context
- Ensure that the library follows best practices for packaging and distribution on PyPI, including a clear README, proper versioning, and dependency management.
- Consider implementing additional features such as pagination, sorting, and filtering for more advanced use cases.
- Provide examples of integration with popular web frameworks and deployment scenarios to help users get started quickly.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request