Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 3.22 KB

README.md

File metadata and controls

50 lines (41 loc) · 3.22 KB
services platforms author
storage
python
dineshmurthy

Azure Storage: Getting Started with Azure Storage in Python

Samples documenting basic operations with Azure storage services (Blob, File, Table, Queue) in Python.

Running this sample

This sample can be run using either the Azure Storage Emulator (Windows) or by using your Azure Storage account name and key. Please update the config.py file with the appropriate properties.

To run the sample using the Storage Emulator:

  1. Download and install the Azure Storage Emulator https://azure.microsoft.com/en-us/downloads/
  2. Start the emulator (once only) by pressing the Start button or the Windows key and searching for it by typing "Azure Storage Emulator". Select it from the list of applications to start it.
  3. Run the project.

To run the sample using the Storage Service

  1. Open the config.py file and comment out the connection string for the emulator (UseDevelopmentStorage=True) and uncomment the connection string for the storage service (AccountName=[]...).
  2. Create a Storage Account through the Azure Portal and provide your [AccountName] and [AccountKey] in the config.properties file. See https://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/ for more information 3.Set breakpoints and run the project.

Deploy this sample

Either fork the sample to a local folder or download the zip file from https://github.com/Azure-Samples/storage-python-getting-started/

To get the source code of the SDK via git, type: git clone git://github.com/Azure-Samples/storage-python-getting-started.git cd .\storage-python-getting-started

##Minimum Requirements Python 2.7, 3.3, or 3.4. To install Python, please go to https://www.python.org/downloads/

More information