Metadata-Version: 2.4
Name: cudos
Version: 0.1.0
Summary: Postgres 17 mocker
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: sqlglot>=29.0.1
Provides-Extra: test
Requires-Dist: asyncpg>=0.31; extra == "test"

![Python](https://img.shields.io/badge/Python-3.12%20%E2%80%93%203.14(t)-darkgreen?logo=python&logoColor=blue)
[![Tests](https://github.com/h5rdly/webtoken/actions/workflows/tests.yml/badge.svg)](https://github.com/h5rdly/webtoken/actions/workflows/tests.yml)

# Cudos

**PG17 server mimic / emulator for tests and local k8s / k3s setups**

##  Prerequisites

Cudos uses [sqlglot](https://github.com/tobymao/sqlglot) for converting Postgres SQL syntax to SQLite. 

Install the fast variant via - 

`pip install sqlglotc sqlglot`

or - 

`pip install sqlglot[c]`


##  Usage

Start the server -
```python
python3 cudos.py
```

Run supplid tests - 
```python
python3 tests.py
```
