Skip to main content

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


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.9.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

loaf-0.1.9-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file loaf-0.1.9.tar.gz.

File metadata

  • Download URL: loaf-0.1.9.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

Hashes for loaf-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d11cace26301c15a05dee1c77642e439ea1cc8e17c0652203df36d5f32e8633a
MD5 0fae51420a1093cc95ae2a78972f01cb
BLAKE2b-256 a26ba3f00cd7594d3d93d6bbf79840fd181213f8dadd9f9238c42e4cb9573ddd

See more details on using hashes here.

File details

Details for the file loaf-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: loaf-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.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

Hashes for loaf-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 85e328eb8b3efe4e69ac4f3459b030182a89de0786ddead4be1ce946c28d28c5
MD5 682a709980ffacb682030d276e636575
BLAKE2b-256 15d226b7426689aa437ce7319dfa5f8263ac88aa90d8ccc2092ef74622274128

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page