Giter Club home page Giter Club logo

aioazstorage's Introduction

aioazstorage

A thin asyncio wrapper for Azure Storage

Why

I wanted a low-latency asyncio library for accessing Azure Storage via persistent connections (essentially tables and queues) and the existing Python SDK (which is auto-generated from API specs) was both too high-level and not async-ready.

In comparison with its somewhat slow pace, this can now (as published) upload roughly 2.5K "hello world" blobs/s and enumerate roughly 3K/s across the Atlantic, which is pretty decent.

This is an intentionally low-level wrapper, and meant largely for my own consumption. However, pull requests are welcome.

Style Notes

Since this targets Python 3.6+ (Ubuntu still only ships with 3.6.9 in 2020), I'm making liberal use of type annotations (which are still not uniform) and f-strings.

Features/Roadmap

  • SAS Token support
  • advanced message semantics (including queueing status codes)
  • message peek/clear/update
  • blob enumeration/creation/tier management
  • blob retrieval/deletion
  • blob container enumeration/creation/deletion
  • queue metadata
  • queue enumeration
  • message queueing/retrieval/deletion
  • queue creation/deletion
  • table batch operations (batch update implemented, result parsing not yet)
  • table entry creation/updating/deletion/querying (with EDM annotation of supported types)
  • table creation/deletion/querying

Requirements

  • Python 3.6
  • aiohttp
  • ujson (optional)
  • uvloop (optional)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.