Effortlessly access your SQL servers and procedures, plus some other utilities!
Project description
🍞 Loaf
So bland yet so good!™
Effortlessly access your SQL servers and procedures, plus some other utilities.
Install
$ pip install loaf
Sample Demo
import loaf
# Setup your credentials with a single line.
loaf.bake(port=6969, db="pizzeria")
# Make a query easily.
result = loaf.query("SELECT * from toppings")
print(result)
# Not lazy enough? Try some of the pre-built queires.
result = loaf.all("toppings")
print(result)
# Got stored procedures? No problemo!
result = loaf.call("ProcedureFindClient", 1)
print(result)
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
loaf-0.1.21.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.21-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file loaf-0.1.21.tar.gz
.
File metadata
- Download URL: loaf-0.1.21.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd52e8cd39ccbad6d2f03efa82fa7a728eafdaf97c29960986a5756586f8b38 |
|
MD5 | 45f600ff54fa0d89ea4725f044bb5595 |
|
BLAKE2b-256 | 9304d5dc8284092d8b6fb5c3003bcffb57941694b8b255d47042bde845cd3df5 |
File details
Details for the file loaf-0.1.21-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.21-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868a6bef4de1dcf4c6f95f3d97f2e439d91e2ce3c4d9de94fc17843bf7eabf7b |
|
MD5 | c2a3f5ca833c78eed7dd0579b68e002a |
|
BLAKE2b-256 | 651237e275f13dc968c906910b081b2e9b5ab3269f9e7bbdae4f559b1fed8c42 |