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.13.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.13-py3-none-any.whl
(5.0 kB
view details)
File details
Details for the file loaf-0.1.13.tar.gz
.
File metadata
- Download URL: loaf-0.1.13.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 | 8aee8475dfa54a8f00c372ffdf8dea93668b2412ff3de53951ed3c7ce57b9f05 |
|
MD5 | 47aa86b82c9390702d6a53d95f252d35 |
|
BLAKE2b-256 | b2df076d42a44241936d27c193668a8b0b5c38caacf34a151cc81b64083fdcea |
File details
Details for the file loaf-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.13-py3-none-any.whl
- Upload date:
- Size: 5.0 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 | 2e1572f78e0016d93899400c5ea814d4ce57c58ba51537a2acacc6d066730542 |
|
MD5 | 3f791474cea6a09e2cc3246eed179fad |
|
BLAKE2b-256 | fecb4afaea488fa77350219639e9dcf149cb1e918cb6a78630eaf748afcb2638 |