Simple SQL in Python.
Project description
aiosql
Simple SQL in Python.
SQL is code, you should be able to write it, version control it, comment on it, and use it in database tools
like psql as you would any other SQL. But, you also want to be able to use it from your python
applications, and that's where aiosql can help. With aiosql you can organize your SQL statements in .sql
files and load them into a python object as methods to call.
This project supports sync and asyncio based drivers for SQLite (sqlite3, aiosqlite) and PostgreSQL
(psycopg2, asyncpg) out of the box, and can be extended to support other database drivers by you! The asyncio
support restricts this package to python versions >3.6. If you are using older versions of python please see the
related anosql package which this project is based on.
Install
pip install aiosql
Or if you you use poetry:
poetry add aiosql
Documentation
Project and API docs https://nackjicholson.github.io/aiosql
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiosql-2.0.1.tar.gz.
File metadata
- Download URL: aiosql-2.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.9 CPython/3.7.1 Darwin/18.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62bcf91a80983b95b99483d5da42711acb74ce65289088a7030a080b0597eed0
|
|
| MD5 |
8b4a34e7600d21ead0f87f87eab3c4b3
|
|
| BLAKE2b-256 |
598baf8d5737b6817b710dbf87a8ef755c129af008d20bf083dcaa75b007d7b8
|
File details
Details for the file aiosql-2.0.1-py3-none-any.whl.
File metadata
- Download URL: aiosql-2.0.1-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.9 CPython/3.7.1 Darwin/18.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c134ab9afe4f8b96fb21b5ab10912a5892e4a75a714799fdc50a3f1682f0dc2
|
|
| MD5 |
0894e3e8c91e86d57f584b83388127fb
|
|
| BLAKE2b-256 |
32fea80e428db5ffa7e690769274461db2634582a53fe2dfa35aea592037829f
|