Skip to main content
# 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
```

Metadata

Release files for tourbillon-client 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tourbillon-client 1.0.0
File Size Uploaded
tourbillon-client-1.0.0.tar.gz 3.6 kB Details

Release files / tourbillon-client-1.0.0.tar.gz

Download URL tourbillon-client-1.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e7849b8d11ff506df939eb81cefa06c6383a65190c1e223822db1370d35c4938
BLAKE2b-256 checksum
How to use checksums
0caa631182b695c9c887cf602ef2984ca7cabc8fbbbb77756b998a3222b844c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page