Use MySQLServer like a layman. Super easy to use MySQL with Python
Project description
🤐 Introduction - QuickSQLConnector
-
🖇 Directly establishes connection between python and mysqlserver.
-
😃 Gives you simple interface to execute mysql commands easily.
💽 Pre-requisites & Installation
-
MySQLServer and MySQL Command-Line Client should be installed on your machine.
😋USING PIP
pip install quicksqlconnector
😈FOR LINUX FRIENDS
python3 pip install quicksqlconnector
🙄How to use?
Use 'quicksqlconnector' keyword to import
from quicksqlconnector import quicksqlconnector
Creating instance of module
DB = quicksqlconnector('host', port, 'username', 'password', 'database-name')
quicksqlconnector only have one method which is 'query'
pass your 'mysql commnad' as a 'string' in 'query' method to execute query.
DB.query('update people set id=90 where id=1')
DB.query('delete from people where id=1000')
DB.query('delete from people where id=1022')
DB.query('insert into people value(26,4,6)')
DB.query('select * from people')
🔗Useful Links
PyPi - Visit Here
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
quicksqlconnector-1.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for quicksqlconnector-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c506e733d07ee6516505b4422efc8dd05fde91861602f0c680732116b6008b |
|
MD5 | 5bcb1023c709e4d44a2138935b7c449d |
|
BLAKE2b-256 | 8eba50c7bca734b5d0743a427a6ab035b0e46658f673547cb4bef9be10ae329b |