MariaDB SQL Builder is a simple way to use Maria SQL. Use your own SQL or use the integrated Maria SQL Builder tool.
Project description
MariaDB SQL Builder
Warning! Update 1.0 change many functions and variable names to the pep8 standard
Too lazy to write SQL? Then use the SQL Builder to make your life easier!
MariaDB SQL Builder is a simple way to use SQL. Use your own SQL or use the integrated SQL Builder tool.
Install
Install the package with pip
pip install mariadb-sqlbuilder
Installation with pip + github
pip install git+https://github.com/princessmiku/MariaDB-SQLBuilder
Setup
import mariadb_sqlbuilder
connection = mariadb_sqlbuilder.Connect(
host="HostIP/URL",
user="User",
password="Password",
database="DatabaseToConnect"
)
Example Functions
Select
result = connection.table("myTable").select("name, age, email").where("age", 25).fetchall()
Insert
connection.table("myTable").insert().set("id", 10).set("age", 25).set("Name", "Helgo").execute()
Wiki
For all Details and how to use
Functions
Not completely used but
Translated with www.DeepL.com/Translator (free version)
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
MariaDB-SQLBuilder-1.0.0a2.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for MariaDB-SQLBuilder-1.0.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47664958db7780b16c87b656e28af17af2f23db9b6bce978989de2b75ca6f518 |
|
MD5 | 4e7b9ab383ace7d906c9c9511e619335 |
|
BLAKE2b-256 | 59d76881097389ebd85fd359866edc690df68555381b75a7707cc55538b5b3b4 |
Close
Hashes for MariaDB_SQLBuilder-1.0.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4ea37175af89f92d632bc13823f388b517860fea53dcf4a7ac2f152794c848 |
|
MD5 | af09ffdcae77d0eb005568541326ae67 |
|
BLAKE2b-256 | d0a01f15df9982e229bdb330249e5b5166f8ed0af2014a25ede8476663096f15 |