Metadata-Version: 2.4
Name: ticrobe.datastore
Version: 26.4.1
Summary: tX.tDataStore — database gateway package with INI-driven config and unified async CRUD API.
Author: techist
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Database
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: ticrobe.pgsql<27.0,>=26.4.3
Requires-Dist: typing-extensions>=4.0; python_version < "3.11"

# ticrobe.datastore

Database gateway package. See the [project README](../../README.md) for full documentation.

## Quick start

```python
from ticrobe.datastore import DataStore

db = DataStore("db.ini")
await db.connect()
await db.create_table({"table_name": "item", "columns": {"id": "SERIAL PRIMARY KEY", "name": "TEXT NOT NULL"}})
item = await db.create({"name": "example"}, returning=("id", "name"))
await db.disconnect()
```
