Python CLI utility and library for manipulating SQLite databases https://sqlite-utils.datasette.io
  • Python 99.7%
  • C 0.2%
Find a file
2019-02-24 10:46:44 -08:00
docs Added create_index(..., if_not_exists=True), refs #14 2019-02-24 10:46:44 -08:00
sqlite_utils Added create_index(..., if_not_exists=True), refs #14 2019-02-24 10:46:44 -08:00
tests Added create_index(..., if_not_exists=True), refs #14 2019-02-24 10:46:44 -08:00
.gitignore Initial project layout + database table creation tools 2018-07-28 06:46:17 -07:00
.travis.yml Support for numpy types, closes #11 (#12) 2019-02-23 20:02:19 -08:00
LICENSE Added LICENSE file 2019-02-23 09:16:57 -08:00
README.md sqlite-utils tables now takes --counts, --columns, --csv, --nl 2019-02-22 18:12:53 -08:00
setup.py Release 0.13 2019-02-23 22:54:43 -08:00

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 --counts
[{"table": "dogs", "count": 2}]

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

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

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

Related projects: