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

Python

7037 readers
63 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
 
>>> 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
[–] [email protected] 4 points 2 months ago (1 children)

KenobiDB is designed for small-scale applications and prototypes. While it provides excellent performance for most operations, it is not intended to replace full-fledged databases for high-scale or enterprise-level applications for that you should use MongoDB.

Only MongoDB is webscale...

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago) (1 children)

Which is stated very clearly.

Not stated, kenobi data engine is limited to only sqlite3. Would pigeon hole yourself unable to switch data engines later on. For that usecase, recommend an ORM (SQLAlchemy).

kenobi looks like a fun project. Not every project needs to be bleeding edge or the bestest. kenobi is a good choice who those who are making a local app that doesn't deal with requests.

[–] [email protected] 3 points 2 months ago (1 children)

Don't make me explain the joke.

[–] [email protected] 0 points 2 months ago (1 children)

Oh! How embarrassing. Gonna pretend i understand the joke and hope no one notices.

Not familiar enough with MongoDB, besides it's not exactly open source

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 children)

All you need to understand about MongoDB is that it is webscale, because it doesn't do joins and it has the most kick-ass benchmarks. And sharding.

[–] [email protected] 2 points 1 month ago

sharing is the secret to the web scale sauce. you just turn it on and it scales right up