Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file databases-0.0.1.tar.gz.

File metadata

  • Download URL: databases-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for databases-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d38434b1b6b9cfb6eb0af536d4a6f6166d5d8522be85f78fa26ba7ff09412ae0
MD5 72466c205128ac9d66acfae88a30db9e
BLAKE2b-256 775523019c441bfe37a58a31956f543ed5f5e7234a955f82decb5b23103a07f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page