Metadata-Version: 2.5
Name: pysely
Version: 0.1.0.dev0
Summary: A typed Python SQL query builder inspired by Kysely
Project-URL: Documentation, https://pysely.dev
Project-URL: Repository, https://github.com/mylesmmurphy/pysely
Project-URL: Issues, https://github.com/mylesmmurphy/pysely/issues
Author: Pysely contributors
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.11
Provides-Extra: mysql
Requires-Dist: asyncmy<1,>=0.2; extra == 'mysql'
Provides-Extra: postgres
Requires-Dist: asyncpg<1,>=0.30; extra == 'postgres'
Provides-Extra: sqlite
Requires-Dist: aiosqlite<1,>=0.20; extra == 'sqlite'
Description-Content-Type: text/markdown

# Pysely

Pysely is an async-first, typed Python SQL query builder inspired by Kysely.

Documentation: [pysely.dev](https://pysely.dev)

The project is in active development. The current implementation supports immutable
typed table metadata, select construction, predicates, aliases, and offline SQL
compilation for PostgreSQL, MySQL, SQLite, SQL Server, and PGlite binding profiles.
SQLite also supports async execution and transaction scopes through `aiosqlite`.
Insert, update, and delete builders support bound values and returning projections.

```python
query = (
    db.select_from("person")
    .select(["id", "first_name"])
    .where("first_name", "=", "Jennifer")
)

compiled = query.compile()
```

Install driver support with `pysely[postgres]`, `pysely[mysql]`, or
`pysely[sqlite]`.

See `docs/ROADMAP.md` for implementation stages and current acceptance targets.
