goodbyesql
Simplify SQLAlchemy. Say goodbye to repetitive database code.
goodbyesql is a lightweight Python library built on top of SQLAlchemy that helps backend developers reduce repetitive database boilerplate.
It provides a simple interface for working with common SQLAlchemy operations while keeping SQLAlchemy underneath.
✨ Features
- 🐍 Built for Python backend applications
- 🗄️ Built on top of SQLAlchemy
- ⚡ Simplifies common database operations
- 🧹 Reduces repetitive SQLAlchemy boilerplate
- ⚙️ Configurable database setup
- 🔌 Custom session provider support
📦 Installation
pip install goodbyesql
🚀 Quick Start
from goodbyesql import GoodbyeSQL, GoodbyeSQLConfig
config = GoodbyeSQLConfig(
# your configuration
)
db = GoodbyeSQL(config)
GoodbyeSQL provides a higher-level interface for common database operations while using SQLAlchemy internally.
🔧 Session Provider
goodbyesql also allows you to configure your own SQLAlchemy session provider:
from goodbyesql import set_session_provider
set_session_provider(your_session_provider)
This makes it possible to integrate goodbyesql into existing backend architectures where database sessions are already managed by the application.
🏗️ How It Works
goodbyesql is not a replacement for SQLAlchemy.
Instead, it provides a convenient abstraction on top of it:
┌─────────────────────┐
│ Your Application │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ goodbyesql │
│ Simple DB API │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ SQLAlchemy │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Database │
└─────────────────────┘
The goal is simple:
Write less repetitive database code and focus more on your application.
🎯 Who is it for?
goodbyesql is designed primarily for Python backend developers who use SQLAlchemy and want a simpler way to handle common database functionality.
It can be especially useful in projects such as:
- REST APIs
- FastAPI applications
- Backend services
- Automation systems
- Microservices
- Other Python applications using SQLAlchemy
📚 Public API
GoodbyeSQL
The main class used to work with goodbyesql.
from goodbyesql import GoodbyeSQL
GoodbyeSQLConfig
Configuration for GoodbyeSQL.
from goodbyesql import GoodbyeSQLConfig
set_session_provider
Configure the session provider used by goodbyesql.
from goodbyesql import set_session_provider
🚧 Project Status
goodbyesql is currently under active development.
The API may change in future releases as the project evolves.
Feedback, issues, and contributions are welcome.
🤝 Contributing
Contributions are welcome!
Feel free to open an issue or submit a pull request if you have an idea, improvement, or bug fix.
📄 License
See the LICENSE file for license information.
Release files for GoodbyeSQL 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| goodbyesql-0.5.4.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| goodbyesql-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / goodbyesql-0.5.4.tar.gz
| Download URL | goodbyesql-0.5.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f129b02bcb87815b35d8b76a3550d40e0de12595d7b8fccaf63cbe6f07ec2bf
|
|
BLAKE2b-256 checksum How to use checksums |
e60f0f4f4be70c08538f61da8b8c367a8ff28c020747707f1a6b9ea23b2e8086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / goodbyesql-0.5.4-py3-none-any.whl
| Download URL | goodbyesql-0.5.4-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f42bf25649ce82e5678f5a018dce0ed81246c09d6f43f860e7ae471ae730c06
|
|
BLAKE2b-256 checksum How to use checksums |
82d0bc909a858cfbf156aa4c1918a1a56f97a2d3a1a1930a59e8c75896a4df10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|