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.29.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.29-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file loaf-0.1.29.tar.gz
.
File metadata
- Download URL: loaf-0.1.29.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 | c967ede2f451a24b6ff37d489b4ec956c3137e4a0e8def3ddd4acef0686582e0 |
|
MD5 | 25660ea4be5335f40c9727923c882e20 |
|
BLAKE2b-256 | cf5d28a32c7a31f084dc1a9e9f332b5e1ed739823167862eee4f80d5df5bb15a |
File details
Details for the file loaf-0.1.29-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.29-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 | b5ef63e377749161998ac369d905807cf857cc2e6a86ba4c5c6f77ac9c1f8905 |
|
MD5 | fa77300535254cc461e9c1281dc80659 |
|
BLAKE2b-256 | a57e88c89931ab9b0d4f527807a5b0cb1beb4b81644031ccb16176038c7a8e8d |