Skip to content

classroom-x/dbclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBClient

An easy-to-use, flexible, and fast client for reading, writing, and manging your local database.

Usage

from dbclient import Collection, Document
db = Collection('/path/to/db')
users = db['users'] # Creates a ghost collection; Will be created when sub-document is written
users['johndoe'] = {'name': 'Jhon Doe', 'age': 26, 'email': 'johndoe@example.com'} # Creates a document with contents

About

This a dictionary-like wrapper for the filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages