DEV Community

Ivan Dlugos
Ivan Dlugos

Posted on

What do you think of the ObjectBox database for Python

After Android, iOS, Java, Swift, C & Go, first support arrives for Python as well.

https://objectbox.io/objectbox-python/

id = box.put(Person(first_name="Joe", last_name="Green"))  # Create
person = box.get(id)  # Read
person.last_name = "Black"
box.put(person)       # Update
box.remove(person)    # Delete

Top comments (2)

Collapse
 
cbrintnall profile image
Christian Brintnall

Little confused over the hype I guess, is it just a local disk database or can it connect to an over the network database? If it's a network based database I can see it being really useful. Otherwise I'd probably just use sqlite3.

Collapse
 
ivan profile image
Ivan Dlugos

Currently, it's embedded though sync to remote server and between many clients is in the making.

In any case, yes it's your use case and your preference. Performance-wise ObjectBox should beat SQLite by a large margin, judging from the benchmarks in other languages it supports.