Metadata-Version: 2.4
Name: alphadb-postgres
Version: 1.0.0b49
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
License-File: LICENSE
Summary: AlphaDB is a versatile tool for managing PostgreSQL database versions, using JSON to define structures and simplify migrations across environments.
Keywords: database,rust,extension,postgres database management,postgres version management,database migration tool,database version management
Home-Page: https://alphadb.w-kuipers.com
License-Expression: GPL-3.0
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Project-URL: Bug Tracker, https://github.com/w-kuipers/alphadb/issues
Project-URL: Documentation, https://alphadb.w-kuipers.com
Project-URL: Repository, https://github.com/w-kuipers/alphadb

![AlphaDB](https://github.com/w-kuipers/alphadb/blob/main/assets/alphadb-banner.png?raw=true)

[![GitHub releases](https://img.shields.io/github/v/release/w-kuipers/alphadb?include_prereleases)](https://github.com/w-kuipers/alphadb/releases)
[![PyPI release](https://img.shields.io/pypi/v/alphadb-postgres.svg)](https://pypi.org/project/alphadb-postgres/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![](https://img.shields.io/github/last-commit/w-kuipers/alphadb?label=last%20modified)](https://github.com/w-kuipers/alphadb)
[![Tests](https://github.com/w-kuipers/alphadb/actions/workflows/run-tests.yml/badge.svg)](https://github.com/w-kuipers/alphadb/actions/workflows/run-tests.yml)

# AlphaDB PostgreSQL

AlphaDB is a SQL schema versioning tool that lets you define your database structure in a JSON format and handles applying migrations across environments. This package contains the Python bindings for AlphaDB built specifically with the PostgreSQL engine.

---

## Beta

AlphaDB is currently in `beta` stage. Breaking changes should be expected.

---

## Key Features

- **PostgreSQL Engine Package**: Installs AlphaDB with PostgreSQL support only.
- **JSON-Based Database Schema**: Define your database structure in a clear, human-readable JSON format.
- **Easy Migration Management**: Apply, track, and roll back migrations seamlessly across PostgreSQL databases.
- **Version Control for Your Database**: Keep your database schema in sync with your application code.
- **Lightweight and Developer-Friendly**: Designed to integrate smoothly into your Python workflow.

## Installation

```bash
pip install alphadb-postgres
```

## Usage

```python
import alphadb

db = alphadb.AlphaDB()
db.connect("localhost", "postgres", "password", "database")
```

The default PostgreSQL port is `5432`.

## Documentation

Visit the [official documentation](https://alphadb.w-kuipers.com/).

