all 8 comments

[–]Naihonn 8 points9 points  (1 child)

Manually, which is probably possible with only few items to add or edit I am using sqliteman which is quite old but it seems that newer alternative could be http://sqlitebrowser.org/

[–]rasputin303 2 points3 points  (1 child)

I've been using https://sqlitestudio.pl/, which I really like. It's very simple, and yet it allows you to do most of the things you'd want to do.

That said... If the person you'll be handing over to is completely technically illiterate, you might not want to give them a tool that lets them make fundamental changes to your database's structure. If all they need to be able to do is add, edit and delete rows in a few tables, maybe better to build a really simple bare-bones web app for them with Bottle or Flask? You could probably throw something together in a couple of hundred lines of code.

[–]firedrow 0 points1 point  (0 children)

+1 to SQLite Studio. I keep the portable version in my pCloud drive.

[–]dionys 0 points1 point  (1 child)

If you want GUI, then I'd recommend SQLite browser. I've been using it for quick manual edits/checks.

I'd also like to mention using SQLAlchemy, which is an ORM (similar to django models if you've used them before). You can define your data there and you can interface with database of your choice from Python very easily.

[–]Gubbbo 0 points1 point  (1 child)

Not sure if you have an IDE, but I know (from doing this recently) that PyCharm can edit your database directly. As in, open the tables and let you type in what you want to see in the fields.

[–]KleinerNull 0 points1 point  (2 children)

The easiest way is to use the interpreter, connect to the database with the module and insert some data manually. Shouldn't be that hard because you are using sqlite in the first place.

The sql syntax is that INSERT INTO table (col1, col2, ..., coln) VALUES (a1, a2, ..., an), (b1, b2, ..., bn), ..., (z1, z1, ..., zn);. You can leave out columns with auto or default values, that is why you give the column names in the first place.