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.14.tar.gz
(3.3 kB
view details)
Built Distribution
loaf-0.1.14-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file loaf-0.1.14.tar.gz
.
File metadata
- Download URL: loaf-0.1.14.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 | db8ad41193d318970c039a52fb7c303df6745a8af9796c64e45f570805872fe1 |
|
MD5 | 5f32a047a00974cb3a5f4aa440ce9167 |
|
BLAKE2b-256 | 88944087c512530d4cc15a497013a24500dea710eb09b9f84efa954e0d44a331 |
File details
Details for the file loaf-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.14-py3-none-any.whl
- Upload date:
- Size: 5.1 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 | b760d6d7b33f40228da04a397a98ee5e751ad6d7be28b23ea3fdfce9ef7a682d |
|
MD5 | 008e5f687115c5b0c753dc325512bf98 |
|
BLAKE2b-256 | 8c64c17942c1dd09a45e543759f7562f6aba1363d9652860df6a2383fb71584a |