Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 644 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 644 Bytes

🍞 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)