Skip to main content

CodernityDB pure python, NoSQL, fast database

CodernityDB is opensource, pure python (no 3rd party dependency), fast (really fast check Speed in documentation if you don’t believe in words), multiplatform, schema-less, NoSQL database. It has optional support for HTTP server version (CodernityDB-HTTP), and also Python client library (CodernityDB-PyClient) that aims to be 100% compatible with embeded version.

docs/CodernityDB.png

You can call it a more advanced key-value database. With multiple key-values indexes in the same engine. Also CodernityDB supports functions that are executed inside database.

Visit Codernity Labs to see documentation (included in repo).

Note: documentation might be outdated due to migration

Migration to Python 3.x

MIGRATION IS IN PROGRESS - SOME FEATURES MAY BE NOT PROPERLY SUPPORTED YET

Unfortunately, when I found this database, Python 2.7 reached the end of its life and was no longer supported.

So I decided to port CodernityDB to Python 3.x.

I didn’t want to use tools allows simultaneous support for both versions, as it make no sense due to Python 2 EOL. Instead I tried to modify the code to work correctly on Python 3.

Currently 98% of the test are successfully passed, but there’s still a lot of work to do.

Version for Python 2.x

Original version of CodernityDB is one of projects developed and released by Codernity Labs.

Latest CodernityDB vesion with Python 2.x support was 0.5.0. You can find it’s source code in the official repository.

Key features

  • Native python database

  • Multiple indexes

  • Fast (more than 50 000 insert operations per second see Speed in documentation for details)

  • Embeded mode (default) and Server (CodernityDB-HTTP), with client library (CodernityDB-PyClient) that aims to be 100% compatible with embeded one.

  • Easy way to implement custom Storage

  • Sharding support

Install

Because CodernityDB is pure Python you need to perform standard installation for Python applications:

pip install codernitydb3

or using easy_install:

easy_install codernitydb3

or from sources:

git clone ssh://git@github.com:nickmasster/codernitydb3.git
cd codernitydb3
python setup.py install

License

Copyright 2020 Nick M. (https://github.com/nickmasster)

Copyright 2011-2013 Codernity (http://codernity.com)

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for codernitydb3 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codernitydb3 0.6.0
File Size Uploaded
codernitydb3-0.6.0.tar.gz 46.1 kB Details

Release files / codernitydb3-0.6.0.tar.gz

Download URL codernitydb3-0.6.0.tar.gz
Size 46.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87a87b96c369a02369bfd7a93fb7ef976015ac2f056ea00b73891bc62b48d3b4
BLAKE2b-256 checksum
How to use checksums
b9dfc705e7185423bc2d3be34d3b23e21d1fb18e693bb3895cb8dd2b9c980bb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page