Skip to main content

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)

Uploaded Source

Built Distribution

bloboluni-2.0.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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