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.26.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.26-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file loaf-0.1.26.tar.gz
.
File metadata
- Download URL: loaf-0.1.26.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 | 7654e8015f0b6a9c2f34e2780c4a350ddc2d72e06cad4a7e95a0846e20d4e599 |
|
MD5 | 8749ff91feb1c761076bc293a60ece20 |
|
BLAKE2b-256 | 885a4db83db4d4e3cc6ddaf91bdd1d135554cf1147046176bac4af39fca85335 |
File details
Details for the file loaf-0.1.26-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.26-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 | bddd2c039b8d56378644ec56e03b0477e1a562eeed80b1c79ac41bee84835ba7 |
|
MD5 | e1757dc6345081f649550ffd42d00984 |
|
BLAKE2b-256 | c4f8e3cc3c248981931e68a9cd063f64b4acb4c749e1885a99e6be3342aa6e01 |