Skip to main content

Database library for Python based on LMDB storage engine

Project description

PYNNDB2 - Python Native Nosql DataBase library

This is version 2 of the Python NoSQL database library, for more complete documentation please visit https://pynndb.madpenguin.uk or browse around the source code in this repository.

PyNNDB is a NoSQL Database library implemented in Python utilising the LMDB key-value storage store for back-end functionality. Although there might be an immediate perception that this idea might result in something that is a little "slow", it consists of a python layer backed by a powerful engine written in 'C', much like other popular Python database solutions and as a result generally compares favourably.

The idea of database logic coded in Python came about after many years of using both SQL and NoSQL databases with Python to write Cloud based microservices and coming across issued that were difficult to address with current main-stream solutions. Notably, it became apparent that the performance bottleneck in these applications ended up being in the Python layer between the application and the back-end database, a layer often added as a compatibility options to allow Python applications to access the database. This raised the question, "what if we pick a faster back-end, and make this Python layer a first-class component rather than an after-thought?"

About the code

Version 2 is coded for Python 3.7+ and makes use of Python3's new "typing" module with a view to self-documentation. All of the API documentation (and many of the examples) are documented automatically 100% from source code using the documentation routes contained within this repository, for example;

If you have problems or spot any bugs, please feel free to log an issue on the Bug Tracker or alternatively connect on Keybase

Project details


Download files

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

Files for pynndb2, version 2.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pynndb2-2.0.5-py3-none-any.whl (24.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pynndb2-2.0.5.tar.gz (19.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page