Skip to main content

CookieDB is a noSQL document database.

Project description

🍪 CookieDB database

CookieDB is a noSQL document database developed in Python. Using JSON as the document where all data is stored.

See a little about:

  • Store information in various types of data;
  • Encrypted database;
  • Easy access to data;
  • Data search by path.

To install CookieDB, use the pip package manager:

pip install cookiedb

Documentation

All CookieDB documentation is in the directory DOCS/ on GitHub, there you go find database documentation and other functionality.

Demonstration of use

Simple usage demo, see full example in examples/example.py:

from cookiedb import CookieDB

database = CookieDB()

database.create_database('MyDatabase')
database.open('MyDatabase')

database.add('languages', {
    'python': {
        'name': 'Python',
        'ext': '.py'
    },
    'cpp': {
        'name': 'C++',
        'ext': '.cpp'
    }
})

languages = database.get('languages')
print(f'All languages: {languages}')

License

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

This code is licensed under GPL v3 license (see LICENSE for details)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cookiedb-4.0.0.tar.gz (19.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page