title: Execute Azure steaming analytics queries from a python script
body: <p>The <code>azure-eventhub (1.3.2)</code> lib for python only allows users to send and consume messages from Azure EventHub.</p>
  <blockquote>
  <p>Use the Event Hubs client library for Python to:</p>
  <ul>
  <li><p>Publish events to the Event Hubs service through a sender.</p>
  </li>
  <li><p>Read events from the Event Hubs service through a receiver.</p>
  </li>
  </ul>
  </blockquote>
  <p>For conception and debugging purposes, I tried using the querying console available on the Azure portal but the experience was... unproductive (multiple crashes, reloads, etc.). Is there a way to execute steaming analytics queries from python code?</p>
  <p>Example query:</p>
  <pre><code>SELECT
      [event],
      DATEDIFF(...)
  INTO
      [Output]
  FROM
      [input] TIMESTAMP BY Time
  </code></pre>