Skip to main content

This library is for run MYSQL queries as fast as possible 🚄🔥!

Project description

cautious-pysql

CTpysql helps you to code mysql queries as fast as possible 🚄🔥

Usage

Installation

Use pip install ctpysql to install the ctpysql and it's dependencies on your pc (or venv).

import module with:

from ctpysql import ctpysql

to use it in your project.

How it works?

You may import mysql.connector to work with ctpysql, just use:

from mysql.connector import (connection, Error)

and make a connection like this:

cnx = connection.MySQLConnection(user='root', password='password, host='127.0.0.1', database='db')

then make an object from ctpysql class using this connection:

obj = ctpysql(cnx)

after these steps you are able to use this library correctly, for example, insert query using dictionary values:

obj.insert('users', {'username': 'user1', 'password': 'password1'})

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

ctpysql-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

ctpysql-0.0.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file ctpysql-0.0.2.tar.gz.

File metadata

  • Download URL: ctpysql-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for ctpysql-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b082a12cb54ec61362e48842845ce03535b4a2604cf8494c253d3fafa23ca7ca
MD5 a7ceda6b8f10f23579e6ec8d6e111455
BLAKE2b-256 42c0082be64892cb13d8988198382a75f06af81cf350a2e74ac727e8eb01b39f

See more details on using hashes here.

File details

Details for the file ctpysql-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ctpysql-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for ctpysql-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8eaaa0c290439d640d3ed210a56cf2aeab687882386f1f5da40e5983e28b7c9e
MD5 4b093357ec6d4164b207e2579bdfe42c
BLAKE2b-256 08a8027564b01f7d9726a5e2a6ed05b648dd2c0e7c5a33b7a5b152364a88d1fe

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