A simple package for storing and retrieving blobs of data from Azure Blob Storage
Project description
bloboluni: Azure blob storage wrapper
bloboluni
is a simple python module for interacting with Azure blob storage.
Installation
pip install bloboluni
Usage
from bloboluni.storage import JsonPickleBlobStorage
from mymodels import Person, Profession
if __name__ == "__main__":
alex = Person("Alex", 27, Profession("Developer", "A developer"))
# Create a storage client
storage = JsonPickleBlobStorage(connectionstring="...", container="mycontainer")
# Store some data
storage.upsert(key="Alex", alex)
# Read some data
sam = storage.get(key="Sam") # Returns instance of Person or None
# Delete some data
storage.delete(key="Sam")
bloboluni
provides storage clients using several different serialization implementations.
Currently, these are:
BlobStorage
JsonBlobStorage
JsonPickleBlobStorage
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
bloboluni-1.1.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for bloboluni-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8afadfae22fa1f5a9244281913056f978b2b611974edf97765c7d1cfd985412c |
|
MD5 | 0b758dff7a5999d1117d26b31b94f3b9 |
|
BLAKE2b-256 | c70eff0a03b5453c5d1271be3a7713c2d79459b7aed9ba0a70301bbdc544280a |