CookieDB is a noSQL document database.
Project description
CookieDB database
CookieDB is a noSQL database that uses the document
model with all data encrypted, take advantage of the performance and security to create your projects that need a quick storage and are simple to use. Read the CookieDB full documentation to understand the methods available for creating, reading, updating and deleting data in the database.
Getting started
First, let's start by performing a quick installation of CookieDB using the PIP package manager:
pip install cookiedb
Take a look at this simple example of using the database, where we create and get some data (the complete example can be found in examples/example.py)
from cookiedb import CookieDB
database = CookieDB(key='secret')
database.open('MyDatabase')
database.add('languages/python', {'name': 'Python', 'ext': '.py'})
python_ext = database.get('languages/python/ext')
print(f'Python extension: {python_ext}')
You can find more usage examples in the examples/ directory
License
Apache License
Copyright 2023 Jaedson Silva
This project uses the Apache License, anyone can use this project as long as the license conditions allow. See more about the license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.