SQLITE tools
Project description
sqllite3tools1
sqllite3tools1 a simple library that connects to a database.
>>> data1={
"name":"John",
"email":"John@gmail.com"
}
>>> from sqllite3tolls1 import dataBase
>>>
>>> db=dataBase('path') #by default main.db
>>> db.create_table('Students',id='INTEGER PRIMARY KEY AUTOINCREMENT',name='varchar(255)',email="varchar(255)")
>>> #create_table(table_name:str,**kwargs)
>>> db.info('Students')
'|| 0, id, INTEGER, 0, None, 1 ||'
'|| 1, name, varchar(255), 0, None, 0 ||'
'|| 2, email, varchar(255), 0, None, 0 ||'
>>> #info(table_name:str) return table info,cols,data types
>>> db.add_to_table('Students',data1) #parametrs: <table_name:str>,<data:dict>
'Executing:'
"INSERT INTO Users5('name', 'email') VALUES('John','John@gmail.com')"
>>> db.drop_table('Studets') #drop_table(table_name:str)
Installing sqllite3tools1 and Supported Versions
sqllite3tools1 is available on PyPI:
$ python -m pip install sqllite3tools1
sqllite3tools1 officially supports Python 3.7+.
Cloning the repository
git clone https://github.com/SanjarbekDev/sqllite3tools1.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqllite3tools1-0.0.7.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqllite3tools1-0.0.7.tar.gz.
File metadata
- Download URL: sqllite3tools1-0.0.7.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ae76dea57e5d93e749f1aac713d7420ae134d22aded4bef8148b8f631701968
|
|
| MD5 |
455ac45c5c8147720a06077dceb15f6a
|
|
| BLAKE2b-256 |
812248f433f948413735b179cb5d95cc3db2ac63566ebd2b7ccf05ee79fc346b
|
File details
Details for the file sqllite3tools1-0.0.7-py3-none-any.whl.
File metadata
- Download URL: sqllite3tools1-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9ead8e22125dfb1fd74b4b39d9db16e3488c7319a81f0cfed3ece15a3537963
|
|
| MD5 |
e348dfedd2b31c210800c22559c328ac
|
|
| BLAKE2b-256 |
425a7e3784d61a2a9dbd867a54520e3d55c2bc8e87ec10a1cc146e0d0b936d81
|