Metadata-Version: 1.1
Name: tourbillon-client
Version: 1.0.0
Summary: client for the tourbillon service
Home-page: https://etsgitlab.westeurope.cloudapp.azure.com/clients/tourbillon-client
Author: See AUTHORS
Author-email: eric@adimian.com
License: MIT/Expat
Description: # Tourbillon Client
        
        ## Installing
        
            pip install -U pip pbr setuptools
            pip install tourbillon-client
        
        
        ## Usage
        
        
        ### Connection
        ```python
        from tourbillon_client import Client
        
        client = Client('http[s]://<tourbillon instance>[:<tourbillon port>]/')
        
        ```
        
        ### Create a table
        ```python
        client.create('ham')
        ```
        
        ### Delete a table
        ```python
        client.delete('ham')
        ```
        
        ### Write data to a table
        ```python
        client.create('ham')
        sample_data = [
            ('2016-11-03 01:00', 10),
            ('2016-11-03 02:00', 20),
            ('2016-11-03 04:00', 40),
            ('2016-11-03 05:00', 50),
        ]
        client.write('ham', sample_data)
        ```
        
        
        ### Read back data
        ```python
        result = client.read('ham', '2016-11-01', '2016-11-05')
        print(result)
        #                      value
        # index
        # 2016-11-03 01:00:00     10
        # 2016-11-03 02:00:00     20
        # 2016-11-03 04:00:00     40
        # 2016-11-03 05:00:00     50
        ```
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
