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.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for bloboluni-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669d01a1350a3a0357c4c97168e33187d46e1e7c563d26a5d37342c83142412e |
|
MD5 | c6490d15d0dccc9a82d0d3e106034f1e |
|
BLAKE2b-256 | 33d87eaf439b4f0a3d06198c519a03e55faa5ce7ad598d0532ab33ed16edaff9 |