Skip to main content

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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GoodbyeSQL 0.5.3
File Size Uploaded
goodbyesql-0.5.3.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GoodbyeSQL 0.5.3
File Interpreter ABI Platform
goodbyesql-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / goodbyesql-0.5.3.tar.gz

Download URL goodbyesql-0.5.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
404671f92b6a7006af1df5c5c88657471f88eefbb19f85433893f7a1aed7d7f6
BLAKE2b-256 checksum
How to use checksums
6f2258d4df5aebe593277d8540fa128aaa59d3c38f9032124a945e32a9e18cb3
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.3-py3-none-any.whl

Download URL goodbyesql-0.5.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72e441eeb76df39c8cc0a39debbd74130715713d5594033e1d8eb276b4f1ff74
BLAKE2b-256 checksum
How to use checksums
83b00beb2c1b6fed02ccf63351a64dceeba72db3bce988ab915ca4ca1e04477d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.5.5

2 release files

0.5.4

2 release files

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page