All Projects → paulfitz → visql

paulfitz / visql

Licence: other
edit slices of SQL databases in vi

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to visql

Vim.js
✌️simple vim for textarea and input
Stars: ✭ 78 (+62.5%)
Mutual labels:  vi
vimrc
My neovim config
Stars: ✭ 43 (-10.42%)
Mutual labels:  vi
przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 19 (-60.42%)
Mutual labels:  vi
nextvi
Next version of neatvi (a small vi/ex editor) for editing bidirectional UTF-8 text
Stars: ✭ 67 (+39.58%)
Mutual labels:  vi
vim-cheatsheet
🍁Vim cheat sheet with everything you want to know.
Stars: ✭ 69 (+43.75%)
Mutual labels:  vi

visql

Edit slices of SQL tables in vi. Just specify a table and any filters you want to apply, and the table will show up in vi in csv format. Any edits you make will be applied back to the original source.

demo

Install

To edit local Sqlite databases, just do:

pip install visql

For PostgreSQL or MySQL support, add catsql[postgres] or catsql[mysql]:

pip install visql catsql[mysql]
pip install visql catsql[postgres]

For other databases, just install the appropriate SQLAlchemy dialect.

Use

visql test.sqlite3
visql test.sqlite3 --table users
visql postgres[ql]://user:pass@host/db --table users
visql mysql://user:pass@host/db --table users
visql test.sqlite3 --table users --grep paul
visql test.sqlite3 --table comments --sql "length(txt) < 40"

For all filters, see https://github.com/paulfitz/catsql#examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].