Skip to main content

Simple SQL API

Project description

Simple MySQL API For Python

forthebadge made-with-python
Python 3.6

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
 pip install PyMySequal

Example

from PyMySequal import get_records
get_records(Server,Database,Query)

Arguments Definition

Server     --> Server Name
Database   --> Database Name 
Query      --> Sql Query

Getting the Query in Varaiable

eg. Query= ' Select id , name  \
            from Customer \
            Where id=1 '

Note

  • get_records() function will get Server name , Database and Query as input

  • All the Arguments (i.e) Server, database , query must be passed as String

  • You can read the query in varaiable and further pass that varaiable as argument or else you can directly type query with multiple lines in one variable using \

  • The Output will be in DataFrame

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

PyMySequal-0.0.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyMySequal-0.0.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file PyMySequal-0.0.3.tar.gz.

File metadata

  • Download URL: PyMySequal-0.0.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for PyMySequal-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2325a76a1583231cd51c226d53e6a6e245b910281d21cbdd2815f5fc99ddc9b7
MD5 67e4c48151a62f5df26d07f3ae98807a
BLAKE2b-256 68a49a6e83962c6e6dc329de253a64a0f6d411b723dc72acd4a52ec36233a6a6

See more details on using hashes here.

File details

Details for the file PyMySequal-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: PyMySequal-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for PyMySequal-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fae0132015c5b77858617d0c91147135ade821c4e61c9a0fc3d443ccc60f7250
MD5 d4377f091d3dcdcf81be426d6baad2eb
BLAKE2b-256 508bd54bda006bc159ea95220feca3883f5f6846f02815f5753ef9edf88039d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page