A simple InfluxDB client library.
Project description
Inflow
A simple InfluxDB Python client library. It is an alternative for the official InfluxDB Python client library.
Inflow officially supports Python 2.7 and up, but the latest Python 3 version is recommended.
InfluxDB is supported from version 1.0 and up.
Documentation is hosted on Read the Docs.
Source code can be found on GitHub.
Example
You can write measurements in a few different ways, but writing a single “temperature” measurement is as simple as:
from inflow import Client
client = Client('http://username:pass@localhost:8086/databasename')
client.write('temperature', value=21.3)
For more examples and docs on how to use the client, refer to the Measurements and Querying chapters in the documentation.
Installing
$ pip install inflow
License
Inflow is licensed under Mozilla Public License. © 2016 Advanced Climate Systems.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file inflow-0.3.2.tar.gz
.
File metadata
- Download URL: inflow-0.3.2.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc3f909110617f8587e6586962e150ffe57f7acdbaf71feb7023153f5d5fc9fd |
|
MD5 | 82e9ff32e939b1125ce94b9ccaa489ab |
|
BLAKE2b-256 | 82a6923b042c64afc6e35883a96828d159bd4dc1f2ffce6ac463829606aa7823 |
File details
Details for the file inflow-0.3.2-py2-none-any.whl
.
File metadata
- Download URL: inflow-0.3.2-py2-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea31a02af8f98e045b388667f60d815c5eb27fdf972974b04f55c26dd82433e4 |
|
MD5 | 1177ac5dbc17ac15eea52550a2974e5c |
|
BLAKE2b-256 | 0ca22b8968b538ae74dfaf4560d84d282d135939e89c964d209a1cf7de6ffb79 |