Skip to main content

Storage driver used throughout views 3.

Project description

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)

Project details


Download files

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

Source Distribution

views_storage-1.1.6.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

views_storage-1.1.6-py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page