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)
Built Distribution
Close
Hashes for mydbpackage-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ca93dc093363e29dac5daf07b1b2bbcc1dc11dab7c90c314caf50c87ccfbf7 |
|
MD5 | 1b6de39c74c75d8fe5b3137a7f086cb2 |
|
BLAKE2b-256 | e2cf9789282250900241989d17e50dfe18af4d4ab373802585b5dd94ca135b76 |