Quickstart

  1. Install this package:

    pip install ezazure
    
  2. Put your Azure connection string and container name in a .ezazure file:

    connection_str: AZURE_CONNECTION_STRING
    container: CONTAINER_NAME
    
  3. Run from the command line either of the following:

    python -m ezazure --upload FNAME
    python -m ezazure --download FNAME
    
  4. ezazure supports regex pattern matching:

    python -m ezazure --upload --regex FNAME[0-9]+
    python -m ezazure --download --regex FNAME.*
    
  5. You can also use this package as an API:

    from ezazure import Azure
    
    
    azure = Azure()
    azure.upload(fname)
    azure.download(fname)