6 best Python Key Value Database libraries in 2024
by marketing.admin@openweaver.com Updated: Feb 13, 2023
Guide Kit
The python key-value database libraries are the perfect tool for storing references to objects in your app. It's also great for storing data that will be accessed by several different parts of the application. The key-value database can be used in conjunction with any other Python library and is relatively straightforward to use. One of the best features of using a key-value database is that it can be easily changed or removed from a project without affecting any other parts of the application. Python-dotenv library, which is used to store environment variables in a JSON file. PickledDB is a Python package that provides a simple key-value storage library. It has been designed to be simple, fast, and easy to use. The library is completely object-oriented and uses pickling to store the data. The main advantage of using a python key-value database over a relational database is that you don't have to worry about foreign keys, which are necessary for many applications. Because of this, you can store an infinite number of objects in a single table without worrying about overloading your server or crashing under load. Some of the most popular python key-value database libraries among developers are
python-dotenvby theskumar
Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
python-dotenvby theskumar
Python 6082 Version:v1.0.0 License: Permissive (BSD-3-Clause)
pickledbby patx
pickleDB is an open source key-value store using Python's json module.
pickledbby patx
Python 781 Version:Current License: Permissive (BSD-3-Clause)
elaraby saurabh0719
Elara DB is an easy to use, lightweight key-value database that can also be used as a fast in-memory cache. Manipulate data structures in-memory, encrypt database files and export data. :dart:
elaraby saurabh0719
Python 103 Version:v0.5.4 License: Permissive (BSD-3-Clause)
yedb-rsby alttch
Rugged embedded and client/server key-value database (Rust implementation)
yedb-rsby alttch
Rust 12 Version:v0.3.6 License: Permissive (Apache-2.0)
deadsimpledbby bkusenda
Dead Simple Database is a key-value database focused on storing data to the file system in a standard readable format (eg JSON, pickle, jpg, png, etc). It's more appopriate to describe describe it as a simplified interface to the filesystem. This library may be useful for those who want to read the data directly from the file system without the need for an intermediate data access layer/library.
deadsimpledbby bkusenda
Python 1 Version:Current License: Permissive (MIT)