GithubHelp home page GithubHelp logo

isabella232 / storage-table-python-getting-started Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/storage-table-python-getting-started

0.0 0.0 0.0 20 KB

This sample demonstrates how to make a use of modules provided by Microsoft Azure Table Service in Python.

License: MIT License

Python 100.00%

storage-table-python-getting-started's Introduction

services platforms author
storage
python
dineshmurthy

Azure Storage: Getting Started with Azure Storage in Python

This demo demonstrates how to perform common tasks using Azure Table storage and Azure Cosmos DB Table API including creating a table, CRUD operations, batch operations and different querying techniques.

If you don't have a Microsoft Azure subscription you can get a FREE trial account here

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

Please run 'pip install -r requirements.txt' to set up the Python environment.

Running this sample

Azure Cosmos DB Table API

  1. Go to your Azure Cosmos DB Table API instance in the Azure Portal and select "Connection String" in the menu, select the Read-write Keys tab and copy the value in the "CONNECTION STRING" field.
  2. Open config.py and set IS_EMULATED to False and set STORAGE_CONNECTION_STRING to the connection string value from the previous step.
  3. Run 'python start.py'

More Information

-Introduction to Azure Cosmos DB Table API

Azure Table Storage

This sample can be run using either the Azure Storage Emulator or with your Azure Storage account by updating the config.properties file with your connection string.

To run the sample using the Storage Emulator (Only available on Microsoft Windows OS):

  1. Download and install the Azure Storage Emulator https://azure.microsoft.com/en-us/downloads/
  2. Start the Azure Storage Emulator 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. Open the config.py file and set IS_EMULATED to true.
  4. Run 'python start.py'

To run the sample using the Storage Service:

  1. Go to your Azure Storage account in the Azure Portal and under "SETTINGS" click on "Access keys". Copy either key1 or key2's "CONNECTION STRING".
  2. Open config.py and set IS_EMULATED to False and set STORAGE_CONNECTION_STRING to the connection string value from the previous step.
  3. Run 'python start.py'

More information

storage-table-python-getting-started's People

Contributors

acomsmpbot avatar georgewallace avatar sanayak avatar yaronyg avatar

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.