Skip to main content

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

Python Software Foundation

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

sqllite3tools1-0.0.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

sqllite3tools1-0.0.6-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file sqllite3tools1-0.0.6.tar.gz.

File metadata

  • Download URL: sqllite3tools1-0.0.6.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

Hashes for sqllite3tools1-0.0.6.tar.gz
Algorithm Hash digest
SHA256 049c89008c2e4e47b9b873672c0662a2c5a8412325b7e8de9e5cfd785616ea9c
MD5 32fdd1d4787746cec54da1ab29d97020
BLAKE2b-256 28820f68ff3c25361a1507dca1943049d09fc8109e90d2b7214f36b4c34ce0ed

See more details on using hashes here.

File details

Details for the file sqllite3tools1-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: sqllite3tools1-0.0.6-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

Hashes for sqllite3tools1-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29012ce6b85ca77b6840b6db8b0771325842fcae4c9871c5a9376b163a235b47
MD5 0718c5b2cd8a10c002c714e2b2aedada
BLAKE2b-256 8337f6d183a853d37aba66367ea27e40d117ef893596ae87fe67af4cd4330ae5

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