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.16.tar.gz
(3.5 kB
view details)
Built Distribution
loaf-0.1.16-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file loaf-0.1.16.tar.gz
.
File metadata
- Download URL: loaf-0.1.16.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c658b584404e3c17bc327982714fa75b6502068c3aa87d292594b8bda616b0c |
|
MD5 | 017a62ccd832c2340649d37555f5b45c |
|
BLAKE2b-256 | afbeaa11ee0af94f7de1876d984ded711399488386b5bb281252bc468c60466f |
File details
Details for the file loaf-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.16-py3-none-any.whl
- Upload date:
- Size: 5.2 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 | fedbedd6083ddfac329a352ce4713f822891e1fff299fda9570b4ac496ecef20 |
|
MD5 | cfea1a4f3e76c0c075aa889a121e8978 |
|
BLAKE2b-256 | cc7567e1142b7858516b1a7a473f629949274f120b1019fd78ad7361d9bf87e9 |