Effortlessly access your MySQL server and procedures, plus some other utilities!
Project description
🍞 Loaf
So bland yet so good!™
Effortlessly access your MySQL server 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.7.tar.gz
(2.7 kB
view details)
Built Distribution
loaf-0.1.7-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file loaf-0.1.7.tar.gz
.
File metadata
- Download URL: loaf-0.1.7.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee5221bd05c958839bd67923d91cf3e6b0424d810336b5258f24f899360d4f3 |
|
MD5 | ec2d2e9abfab3bd540acfe989fc0f455 |
|
BLAKE2b-256 | 87287435eb78ed66ad8b2973be9d8268559f594e8eea3aa53cfa4dac2214c7cf |
File details
Details for the file loaf-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.7-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68ce17eb8d5ad3fc2d02f0e9fa14dd481b41d54eb1ec528ce056bd40366391e |
|
MD5 | c5d139995255b089ad5513adcd080cfc |
|
BLAKE2b-256 | 7f392e21d051e42fcf0cd423d003e8d797d86d46acb88ba89b8fd18f5c76d454 |