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.20.tar.gz
(3.2 kB
view details)
Built Distribution
loaf-0.1.20-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file loaf-0.1.20.tar.gz
.
File metadata
- Download URL: loaf-0.1.20.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1925ea0975a49f58fa81ceba52f57ab3fbe6cd55527b8cca6e430fd6b07045f |
|
MD5 | cc2781cda94ed8115a5b78220273e60c |
|
BLAKE2b-256 | f5393edb80c4365d6f2c0f5fdb56fdfeb2f56312c5b92b267f47709add466103 |
File details
Details for the file loaf-0.1.20-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.20-py3-none-any.whl
- Upload date:
- Size: 5.3 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 | 23c0026715f28854b3ba4b54de843b0bb2cf6be23a4e02e3280107a1e5e8b81d |
|
MD5 | 04c3cbad485277ceed837a2c14f4f1de |
|
BLAKE2b-256 | c033146c6afe3772a9db29006b1d621a7dab19adaa19d07ade72b52fab0e3ca0 |