6 best Python Key Value Database libraries in 2024

share link

by marketing.admin@openweaver.com dot icon Updated: Feb 13, 2023

technology logo
technology logo

Guide Kit 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

Python doticonstar image 6082 doticonVersion:v1.0.0doticon
License: Permissive (BSD-3-Clause)

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.

Support
    Quality
      Security
        License
          Reuse

            python-dotenvby theskumar

            Python doticon star image 6082 doticonVersion:v1.0.0doticon License: Permissive (BSD-3-Clause)

            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.
            Support
              Quality
                Security
                  License
                    Reuse

                      pickledbby patx

                      Python doticonstar image 781 doticonVersion:Currentdoticon
                      License: Permissive (BSD-3-Clause)

                      pickleDB is an open source key-value store using Python's json module.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                pickledbby patx

                                Python doticon star image 781 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                pickleDB is an open source key-value store using Python's json module.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          simplekvby mbr

                                          Python doticonstar image 133 doticonVersion:0.14.1doticon
                                          License: Permissive (MIT)

                                          A simple key-value store for binary data.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    simplekvby mbr

                                                    Python doticon star image 133 doticonVersion:0.14.1doticon License: Permissive (MIT)

                                                    A simple key-value store for binary data.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              elaraby saurabh0719

                                                              Python doticonstar image 103 doticonVersion:v0.5.4doticon
                                                              License: Permissive (BSD-3-Clause)

                                                              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:

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        elaraby saurabh0719

                                                                        Python doticon star image 103 doticonVersion:v0.5.4doticon License: Permissive (BSD-3-Clause)

                                                                        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:
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  yedb-rsby alttch

                                                                                  Rust doticonstar image 12 doticonVersion:v0.3.6doticon
                                                                                  License: Permissive (Apache-2.0)

                                                                                  Rugged embedded and client/server key-value database (Rust implementation)

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            yedb-rsby alttch

                                                                                            Rust doticon star image 12 doticonVersion:v0.3.6doticon License: Permissive (Apache-2.0)

                                                                                            Rugged embedded and client/server key-value database (Rust implementation)
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      deadsimpledbby bkusenda

                                                                                                      Python doticonstar image 1 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (MIT)

                                                                                                      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.

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                deadsimpledbby bkusenda

                                                                                                                Python doticon star image 1 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                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.
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          See similar Kits and Libraries