Skip to content

CookieDB: A fast and easy-to-use database, made for those who like simplicity and performance.

License

Notifications You must be signed in to change notification settings

jaedsonpys/cookiedb

Repository files navigation

CookieDB

A safe, fast and simple database.

GitHub release (latest by date including pre-releases) PyPI - License PyPI - Downloads

CookieDB is a noSQL database that uses the document model with all data encrypted using AES-256, take advantage of performance and security to create your projects that need fast storage and simple to use, where you have full control over the data. Read the full CookieDB documentation to understand the methods available to create, read, update, and delete 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

If you prefer, you can perform the installation manually using Git. See below how to do this:

git clone https://github.com/jaedsonpys/cookiedb.git
cd cookiedb/
python3 setup.py install

Usage example

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('MyDatabase', key='secret')
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.