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.28.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.28-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file loaf-0.1.28.tar.gz
.
File metadata
- Download URL: loaf-0.1.28.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 | df7cfb7701b1aee212878836b815abba6368f9000e8cef91681fd63e2111c697 |
|
MD5 | 2169574a2adcce7fd93062ee1f91824e |
|
BLAKE2b-256 | 3f60ba690092aabacd560f6c408d526d492629af71b7a862e9083f3543aa496c |
File details
Details for the file loaf-0.1.28-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.28-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 | a22764d11ecaae62c1763ba73844cc7eaf6cd1f6d3ae1ebd7b2ca06bc2c36f91 |
|
MD5 | e074e9061f3b70faccc795d3d76b49f7 |
|
BLAKE2b-256 | 7192e0cecec0ad7dc45086ccbb86e01ede86b9bc7f671f194dccde5005454ce2 |