Skip to main content

Python utility functions for manipulating SQLite databases

Project description

sqlite-utils

PyPI Travis CI Documentation Status License

Python CLI utility and library for manipulating SQLite databases.

Install it like this:

pip3 install sqlite-utils

Now you can do things like this:

$ sqlite-utils tables dogs.db
dogs

$ sqlite-utils csv dogs.db "select * from dogs"
id,age,name
1,4,Cleo
2,2,Pancakes

$ sqlite-utils json dogs.db "select * from dogs"
[{"id": 1, "age": 4, "name": "Cleo"},
 {"id": 2, "age": 2, "name": "Pancakes"}]

Full documentation: https://sqlite-utils.readthedocs.io/

Related projects:

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sqlite_utils-0.8.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file sqlite_utils-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: sqlite_utils-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for sqlite_utils-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3aadc2454c7dded44c4a561430ddc9ff04d07dd249571cc00adcd7bbe97c2c6f
MD5 8785e407c30b45fe2d651b9a49e2b3e6
BLAKE2b-256 5fbfb9adcd0e9e09b9cbb7ac03fe94d99c16dd1a798de8a40ecb1942eac427e1

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