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.11.tar.gz
(2.7 kB
view details)
Built Distribution
loaf-0.1.11-py3-none-any.whl
(4.3 kB
view details)
File details
Details for the file loaf-0.1.11.tar.gz
.
File metadata
- Download URL: loaf-0.1.11.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 | 13d1ff5e2587330f48c4040fad58e4c1cd0930128f355fffbe9880886f864859 |
|
MD5 | 67a14cbe7fbb7b58fc7b46d8a93d6d2d |
|
BLAKE2b-256 | 0f9c57b9054845ca1ff4674e9996e7184bcd959eea0895d334e3fdda537ea211 |
File details
Details for the file loaf-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.11-py3-none-any.whl
- Upload date:
- Size: 4.3 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 | 1e1513d7b66814d3ed11f22ec1cf783f92abfa6114ae97d71eddbd1981715c85 |
|
MD5 | cddd3500581302c328fad696a22cf19a |
|
BLAKE2b-256 | d09e77f2788dd9a632e55105c90de8bed56b47a200e92c8d18c5ec77b97dfdb7 |