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.Connector(
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.0a6.tar.gz
(23.8 kB
view hashes)
Built Distribution
Close
Hashes for MariaDB-SQLBuilder-1.0.0a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f68d295606d33ad648ff9a0588c76b4363c7305a28f7c62af1dcdde1748e0acb |
|
MD5 | 72d69e7fa7172da6fc52c9664138aa33 |
|
BLAKE2b-256 | 2ddc2789517e0d2b41c4dc076dfb7689018709f61e09e72400b3f71edf30d8af |
Close
Hashes for MariaDB_SQLBuilder-1.0.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f37ff18906cf15a9a90decab9cad715b4cecbc63be9b68cdbe16035cfe4288 |
|
MD5 | cff38bd7c178a14dc5cd4355f426c347 |
|
BLAKE2b-256 | ce0ab28d5a3fcd733ec789f67ca655adeeceba29a22e01a971907cf28eea81b4 |