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

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.2
File Size Uploaded
goodbyesql-0.5.2.tar.gz 3.4 kB Details

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / goodbyesql-0.5.2.tar.gz

Download URL goodbyesql-0.5.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4c2950285cd443abf568239b84e366ecfbc52ae73eab55b32d75337068b4c0bf
BLAKE2b-256 checksum
How to use checksums
5baf7445ebca9e67e2495316862e394fa87e9ecbd6f04c98650c1af6f00fc515
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.2-py3-none-any.whl

Download URL goodbyesql-0.5.2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd54301751d3c71a0e61dd4227959604048e594893973470b18a4fc99ab6ef87
BLAKE2b-256 checksum
How to use checksums
a5bb3d4e7314793320436621989d7ee984057752c5b77cab72aa722c419c69fb
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

0.5.3

2 release files

This release

0.5.2 This release

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