Skip to main content

A lightweight db tools for sql

Project description

dbtool

A lightweight db tools for sql.

# sql
db.query_one(sql)
db.query_all(sql)
db.query_count(sql)
db.query_cursor(sql)

db.execute(sql)
db.executemany(sql)
db.executescript(sql)
db.executescript_file(sql)

# crud
db.insert(dict, table='user')
db.update(dict, table='user', id_name='id')
db.delete_by_id(1, table='user', id_name='id')
db.find_by_id(1, table='user', id_name='id')
db.increment()

db.find_one('user', id=1)
db.find('user', type=0)

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

dbtool-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

dbtool-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file dbtool-0.0.1.tar.gz.

File metadata

  • Download URL: dbtool-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for dbtool-0.0.1.tar.gz
Algorithm Hash digest
SHA256 69ca05d2ebce5d7f82c1e44e8fc74b2d111cd6692fa202c85ecfe0f6cc75aaab
MD5 6745a71d6fd9cde2494fb976b182dfab
BLAKE2b-256 204ebcac0fe6ed1a6f92595af625361f36468169ab9bfae54fb781ec508ad9be

See more details on using hashes here.

File details

Details for the file dbtool-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dbtool-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for dbtool-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fff95a434820be430289c11115fce430a2e5873e9b6335c75c35c7714aa5af2c
MD5 c316817d62ef7a5857069b47fee08142
BLAKE2b-256 f196898668815400273ed4752011be4c53da7840726745d1d9e1ae0ca2211e43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page