Metadata-Version: 2.4
Name: PostgresLite
Version: 0.2.1
Summary: Python SQLite combined with syntax compared to asyncpg progject.
Author-email: AlexFlipnote <root@alexflipnote.dev>
License-Expression: MIT
Project-URL: Homepage, https://github.com/AlexFlipnote/PostgresLite
Project-URL: Repository, https://github.com/AlexFlipnote/PostgresLite
Keywords: asyncpg,sqlite,postgres,lite,database,sql
Requires-Python: >=3.11.0
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pyright>=1.1.401; extra == "dev"
Requires-Dist: ruff>=0.11.13; extra == "dev"
Requires-Dist: toml>=0.10.2; extra == "dev"
Dynamic: license-file

# PostgresLite
Python SQLite combined with syntax compared to asyncpg progject.

No longer do you need to use the default SQLite and rather have a more powerful and easy way to work with SQLite and have good, default additions for things like timestamps, dates.
It also supports async and sync connections, in case you need to use it in an async environment.

## Install
You can install it by running `pip install postgreslite`

## How to use
```py
from postgreslite import PostgresLite

db = PostgresLite("./hello_world.db")
pool = db.connect()

# Same syntax as asyncpg with pool connection
```
The value you put in PostgresLite will become the filename of the database.
If you leave it empty, it will use the default filename of `storage.db`.
