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 import BlobStorage
from mymodels import Person, Profession
if __name__ == "__main__":
alex = Person("Alex", 27, Profession("Developer", "A developer"))
# Create a storage client
storage = BlobStorage(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-2.0.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for bloboluni-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92390a5edba93a0af1c5cb784f4249ee2e6e20cf736ae19dcc5af27d78b5f10d |
|
MD5 | ad7048c7126c2e2d3912f271fe3cbcd0 |
|
BLAKE2b-256 | 002f0327abf4ee051ee81cf8ab2dd32403792a90e1db7658bf3e73545d513b83 |