Databases.
Project description
Databases
NOT YET READY FOR USE
Databases gives you asyncio support for making SQLAlchemy core queries against a range of databases.
- Postgres, MySQL, and SQLite support.
- Queries using SQLAlchemy core.
- Migrations using Alembic.
$ pip install databases
from databases import Database
database = Database('postgresql://localhost/example')
query = ...
rows = await database.execute()
query = ...
rows = await database.fetchall()
query = ...
row = await database.fetchone()
query = ...
value = await database.fetchval()
Transactions
async with database.transaction():
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
databases-0.0.1.tar.gz
(5.1 kB
view hashes)