Skip to main content

A short description of my package

Project description

First import the DB name

from mydbpackage.database import MyDB

Then Connect your DB

db = MyDB("host", "username", "databasename")

Create table

db.create_table("table name",[column name]) # pass the table name in must br string # column name must be list

Insert the valuve

db.insert_log('[[Value]]',"table name") # pass the value [['name','20','30'],['tesname','10','10']]

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

mydbpackage-0.2.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

mydbpackage-0.2.4-py3-none-any.whl (4.4 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