Skip to content

Releases: justincpresley/ndn-python-storage

V0.2.3 Storage Loop Initialization

01 Feb 04:27
Compare
Choose a tag to compare

ndn-storage: V0.2.3 Storage Loop Initialization

This release simply fixes an error associated with not having a current loop activated upon making a storage. This bug was found when exploring errors found in ndn-hydra.

V0.2.2 Python Support

29 Dec 15:59
Compare
Choose a tag to compare

This release adds python 3.10 (the latest version) and makes minor improvements code wise.

V0.2.1 Reinitializing Errors

26 Dec 09:04
Compare
Choose a tag to compare

V0.2.1 Reinitializing Errors

A DiskStorage throws an error if it is ever initialized more than once.

V0.2.0 'Thread Passing'

26 Dec 08:13
Compare
Choose a tag to compare

V0.2.0 'Thread Passing'

Most often, database connections are specific to a certain thread throwing an error if used in another. To provide the most flexibility, this release allows one to initialize the storage later on (possibly in another thread), When creating the instance, just set initialize to False, and ensure that the function initialize is called in the chosen thread.

Libraries and Users that use this library should ensure that initialized is called if the storage is of DiskStorage and it is thread specific.

V0.1.10 Meet python-ndn and plyvel Demands

25 Dec 06:42
Compare
Choose a tag to compare

V0.1.10 Meet python-ndn Demands

A minor update that should get rid of some github testing when using this library.

V0.1.8 Basic Working Library

25 Dec 02:46
Compare
Choose a tag to compare

V0.1.8 Basic Working Library

This release updates the pip library to officially working. In addition, this release has been tested for quality purposes.

0.1.3 -> 0.1.8 was used to ensure proper use.

V0.1.3 Proper Imports and Import Comments

25 Dec 02:24
Compare
Choose a tag to compare

V0.1.3 Proper Imports and Import Comments

This release simply corrects necessary imports and provides additional comments.

V0.1.2 Import Typo

25 Dec 02:10
Compare
Choose a tag to compare

V0.1.2 Import Typo

This release simply corrects a init.py file that contained a typo leading to users unable to import the necessary API.

V0.1.1 Requirements and Proper Inheritance

25 Dec 02:04
Compare
Choose a tag to compare

V0.1.1 Requirements and Proper Inheritance

This release simply corrects the requirements.txt to include all libraries needed for all solutions and proper function naming that covers the API enlisted via inheritance.

V0.1.0 Start of the Pip library

25 Dec 02:02
Compare
Choose a tag to compare

V0.1.0 Start of the Pip library

This is the start of the ndn-storage pip library.

It includes a simply storage API that is similar to use to the storage API in ndn-python-repo.

Additions

  • The use of the provided classes: Storage, DiskStorage, MemoryStorage, SqliteStorage, LevelDBStorage, MongoDBStorage

Tree of Inheritance

A = Abstract class, unable to be instantiate
C = Concrete class, able to be instantiate

Storage (A) -> DiskStorage (A) | MemoryStorage (C)
DiskStorage (A) -> SqliteStorage (C) | LevelDBStorage (C) | MongoDBStorage (C)