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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for views_storage-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be008d387a5cc2c3de06110573ac4978184e91fef9094d850f024897ae0f3387 |
|
MD5 | a647ab60214092b8ff141cdc51ead04d |
|
BLAKE2b-256 | 8699c3698d21fbe46c6e320faf65321caf4acc63ad17ba54fcc00612222765b0 |