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.19.tar.gz
(3.1 kB
view details)
Built Distribution
loaf-0.1.19-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file loaf-0.1.19.tar.gz
.
File metadata
- Download URL: loaf-0.1.19.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1921dfa5ead9c57326a2de68b1882eb94bb28bddb8a7c9d7b7c0bbc492c21f |
|
MD5 | d7acdf04a962eb9b5977a1af2ef7c45e |
|
BLAKE2b-256 | b60a499aa7d66dc979692bbcfa6a31cc5b8bd79f964a28d50b92be0b9239c95d |
File details
Details for the file loaf-0.1.19-py3-none-any.whl
.
File metadata
- Download URL: loaf-0.1.19-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 | 1c4d625ed532b6b0fa89690b93a26cb56ccc168ecd7a2426fecd34aea41a7a43 |
|
MD5 | 96e29454938c14f371b0f4f3f2e01abf |
|
BLAKE2b-256 | 5b3e77afaf2f6fe94a1f0b96b1bc33d442632143c2c365a5988c107b8924de2e |