Skip to main content

Python sql companion

Project description

lisql

Make sure you have upgraded version of pip

Windows

py -m pip install --upgrade pip

Linux/MAC OS

python3 -m pip install --upgrade pip

Make sure you mysql connector installed

Windows

py -m pip install mysql-connector-python

Linux/MAC OS

python3 -m pip install mysql-connector-python



## INSTALATION
Run the following to install

'''python
pip install lisql
'''

##Usage
'''python
import lisql

#To create default connection

    lisql.creacon()

#To create custom connection

    lisql.creacuscon(host, username, password)

#To create a database

    lisql.creadb(databasename)

#To drop a database

    lisql.dropdb(databasename)

#To connect a database in default connection

    lisql.condb(database_name)

#To connect a database in custom connection

    lisql.cuscondb(host, username, password, name)


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

lisql-0.0.4.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

lisql-0.0.4-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

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