SQLITE tools
Project description
sqllite3tools1
sqllite3tools1 a simple library that connects to a database.
>>> data1={
"name":"John",
"email":"John@gmail.com"
}
>>> from sqllite3tolls1 import data
>>>
>>> db=data('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.5.tar.gz
(4.0 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.5.tar.gz.
File metadata
- Download URL: sqllite3tools1-0.0.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ca13589e5bfd870c694699c3fedb58b7fa451a436c151dca42ab72e6fd7342b
|
|
| MD5 |
973200b522c34dc64230e51d1916758c
|
|
| BLAKE2b-256 |
d10edb033235e39baeaf3ff321cd983c118c669b285fd2181ad196f66262d183
|
File details
Details for the file sqllite3tools1-0.0.5-py3-none-any.whl.
File metadata
- Download URL: sqllite3tools1-0.0.5-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 |
34aefca1cbbed030661db4ec6518d38ace015eddd49a110475fe918e6cd680e5
|
|
| MD5 |
3dceced19cb12ed05e9c580a1beb54b6
|
|
| BLAKE2b-256 |
831ab06891a4f2056ff095f481f047748d2f77ec7c7e24d3004b69001425f261
|