The azurify package

[Tags:bsd3, library]

An interface for a few basic functions of the Microsoft Azure blob storage. Creating and deleting containers as well as uploading, downloading and breaking leases of blobs is supported.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5
Dependencies base (>=4.5 && <5), base64-bytestring (>=0.1.2.0), bytestring (>=0.9.2.1), case-insensitive (>=0.4.0.1), cmdargs (>=0.10), conduit (>=0.5.2.2), data-default, directory (>=1.1.0.2), http-conduit (>=1.5.0.3), http-date (>=0.0.2), http-types (>=0.7.0), hxt (>=9.2.2), network (>=2.3.0.13), old-locale (>=1.0.0.4), SHA (>=1.5.1), text, time (>=1.4), transformers (>=0.3.0.0), unix-compat, utf8-string (>=0.3.7) [details]
License BSD3
Author Arno van Lumig
Maintainer Greg Weber <greg@gregweber.info>, arno@vanlumig.com
Stability Unknown
Category Development
Home page http://arnovanlumig.com/azure
Uploaded Tue Apr 15 03:06:00 UTC 2014 by GregWeber
Distributions NixOS:0.4.0.5
Downloads 2012 total (19 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
no-hxtno xml parsing, and no hxt dependencyDisabledAutomatic
library-onlydon't build the executableDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for azurify

Readme for azurify-0.4.0.3

Azurify

What's this?

Azurify is an incomplete yet sort-of-functional library and command line client to access the Azure Blob Storage API [1]

The following features are implemented:

  • Creating and deleting containers
  • Listing the contents of a container
  • Downloading blobs
  • Uploading a new block blob
  • Uploading page blobs
  • Deleting a blob
  • Breaking a blob lease

The following features are not implemented (yet):

  • Doing anything else with leases
  • Anything with snapshots
  • Proper error handling

How do I use this?

The cabal file will build a binary called azurify. The following commands are supported:

  • azurify uploadblob path/to/file accountname containername blobname: to upload the local file path/to/file to the specified location;
  • azurify downloadblob accountname containername blobname: to download the specified blob the the current directory;
  • azurify deleteblob accountname containername blobname: to delete the specified blob;
  • azurify breakbloblease accountname containername blobname: to break the lease on the specified blob;
  • azurify listcontainer accountname containername: to output a list of blobs in the specified container;
  • azurify createcontainer accountname containername [accesscontrol]: accesscontrol may be either blobpublic, containerpublic or private. blobpublic means that the blobs will be downloadable by everyone, but the container can't be listed without an access key. containerpublic means that all blobs are downloadable by everyone and that everyone can list the container. private means that the access key is required to download blobs or list the container;
  • azurify deletecontainer accountname containername: delete the container with the given name. It will fail if the container is non-empty, if you want to delete it anyway use --force.

You can also use the library in your Haskell applications, all you need are the functions exported in the azure.hs file.

Can I use this?

Azurify is BSD licensed (see LICENSE) so yes, you can use it.