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.7.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

views_storage-1.1.7-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file views_storage-1.1.7.tar.gz.

File metadata

  • Download URL: views_storage-1.1.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for views_storage-1.1.7.tar.gz
Algorithm Hash digest
SHA256 3ac72591a35f75c75f72f568a2f0673c4bde18614eeb86166a88ed50d2109274
MD5 25829f238842f965f11418bdd4bd3603
BLAKE2b-256 a85dd86a8e5d0d9f963bd41e0c24334ee8874d99cdc73aba67bf5eb06308405a

See more details on using hashes here.

File details

Details for the file views_storage-1.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for views_storage-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 81274c0b0888732676a907a5e6f3a798c396aa5a1292b1b40ef6e3d0a9846846
MD5 d1add84771aa0261a89b75a60b0b2912
BLAKE2b-256 c44d98590b6fae309fcb84f56bbacabdbfe8dcc64aaf36bd00e706f9e0adbe30

See more details on using hashes here.

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