Skip to main content

Intract with sqlite3 in python as simple as it can be.

Project description

pylite

Intract with sqlite3 in python as simple as it can be.

Install

pip install pylite

Tips

Import pylite :

from pylite import Pylite

Create a new database or open an existing database :

db = Pylite('dbname')

Add a table :

db.add_table('table_name',column1='datatype',column2='datatype',...,columnN='datatype')

Insert data :

db.insert('table_name','column1_value','column2_value',...,'columnN_value')

Remove items :

db.remove('table_name','condition')

Retrieve items :

db.get_items('table_name','condition')

Get all tables name :

db.get_tables()

Execute your sqlite queries:

db.query('your query')

Close connection :

db.close_connection()

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

pylite-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

pylite-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file pylite-0.1.0.tar.gz.

File metadata

  • Download URL: pylite-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pylite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e338d20d3f8f72dd84d1e58f2fd6dba008d593e0cfacfb5fbdd5a297b830628e
MD5 395db6952858ed3ecd953d2239d44248
BLAKE2b-256 928f70df87261536a4452c1bbdcabab8ba6f31aceadb1a981b511a41f5a76ed9

See more details on using hashes here.

File details

Details for the file pylite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pylite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pylite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb46f5beb1f2102672fd4355c013ac2feebc0df284d65f7711f2041a0a410141
MD5 664aee35ad16f889ab02bbeab78b7bae
BLAKE2b-256 c41950c463708c6b73eec146d85bd5aaa6a2580af2fa6f404609a8fbf3d42bdc

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