Pre-release
This release is a pre-release and may not be stable for production use.
A good SQLian like a good shepherd. I handle SQL strings so you don’t have to.
Sneak Peek
Connect to a database:
import sqlian
db = sqlian.connect('postgresql:://user:pa55@localhost/contactbook')
Perform a query:
rows = db.select(
'name', 'occupation',
from_='person',
where={'main_language': 'Python'},
)
Access the data directly:
>>> rows[0]
<Record {"name": "Mosky", "occupation": "Pinkoi"}>
Or iterate over them:
for r in rows:
print('{} works at {}'.format(r.name, r.occupation))
Want more? Read the documentation.
Metadata
Release files for sqlian 0.1.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sqlian-0.1.0.dev0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlian-0.1.0.dev0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 40.9 kB
Release files / sqlian-0.1.0.dev0.tar.gz
| Download URL | sqlian-0.1.0.dev0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5fa0931c779c0d2be3d477e22f3c7c0e2ef9bddd10b2a0eec5194c64976183e
|
|
BLAKE2b-256 checksum How to use checksums |
a8f19c0e79c6ab73c7b6e7fcdd45113ae1c8b83d345e048ab18975a1e395ff34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sqlian-0.1.0.dev0-py2.py3-none-any.whl
| Download URL | sqlian-0.1.0.dev0-py2.py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
903d0667eece2ab52a4a662856b504bfd6cd95160f87534d4eb332b2ff751817
|
|
BLAKE2b-256 checksum How to use checksums |
5a001c4e58e24a5fea440220f0e018d1cbb6679a3c4f981004cdacbcd783f7b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |