30
submitted 6 months ago by rimu@piefed.social to c/python@programming.dev
>>> from kenobi import KenobiDB  

>>> db = KenobiDB('example.db')  

>>> db.insert({'name': 'Yoda', 'lightsaber': 'green'})  
True  

>>> db.search('lightsaber', 'green')  
[{'name': 'Yoda', 'lightsaber': 'green'}]  
you are viewing a single comment's thread
view the rest of the comments
[-] Voroxpete@sh.itjust.works 5 points 6 months ago

OK, yeah, this looks pretty cool. There are a lot of situations where I want to store information, and a text file isn't ideal, but running a full fledged database is overkill. I like the simplicity of the interface, especially the search function.

this post was submitted on 03 Feb 2025
30 points (100.0% liked)

Python

7357 readers
31 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS