this post was submitted on 28 Mar 2025
33 points (100.0% liked)
Programming
19268 readers
44 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Definitely SQLite. Easily accessible from Python, very fast, universally supported, no complicated setup, and everything is stored in a single file.
It even has a number of good GUI frontends. There's really no reason to look any further for a project like this.
One concern I'm seeing from other comments is that I may have more data than SQLite is ideal for. I have thousands of stories (My estimate is between 10 and 40 thousand), and many of the stories can be several pages long.
Ha no. SQLite can easily handle tens of GB of data. It's not even going to notice a few thousand text files.
The initial import process can be sped up using transactions but as it's a one-time thing and you have such a small dataset it probably doesn't matter.
That's good to know.