Skip to content

XDBX DataBase eXtension is a SQLite3 wrapper with Pythonic dict-like interface for easier database manipulation and NOSQL support with JSON Storage

License

Notifications You must be signed in to change notification settings

anubhav-narayan/xdbx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDBX - XDBX DataBase eXtention

License

A Python3 wrapper around sqlite3 database, can also be used as a JSON document storage. Pythonic dict-like interface and support for multi-thread access derived from sqlitedict exclusively for Python3.6+.

from xdbx import Database
db = Database('./my_db.sqlite', autocommit=True)
tab = db['mytab']
tab['some_key'] = 'any_picklable_object'
print(tab['some_key'])  # prints the value
for key, value in mydict.items():
    print(key, value)
print(len(mydict)) # etc. most dict functions work
mydict.close() # close connection

About

XDBX DataBase eXtension is a SQLite3 wrapper with Pythonic dict-like interface for easier database manipulation and NOSQL support with JSON Storage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages