Skip to content

A package that contains various classes used for storage and retrieval of data within views.

License

Notifications You must be signed in to change notification settings

UppsalaConflictDataProgram/views_storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Views Storage

This package contains various classes used for storage and retrieval of data within views. The main class exposed by the package is views_storage.key_value_store.KeyValueStore. This class is composed with views_storage.serializers.serializer.Serializer and views_storage.backends.storage_backend.StorageBackend subclasses to provide storage in various formats using various backends.

Example

from views_storage.key_value_store import KeyValueStore
from views_storage.backends.azure import AzureBlobStorageBackend
from views_storage.serializers.pickle import Pickle

my_storage = KeyValueStore(
      backend = AzureBlobStorageBackend(
         connection_string = "...",
         container_name = "..."),
      serializer = Pickle()
   )

my_object = ...

my_storage.store("key", my_object)

About

A package that contains various classes used for storage and retrieval of data within views.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •