Influx line protocol builder
Project Links
Meta
Author: Oluwatimilehin Akogun
Classifiers
Intended Audience
- Developers
Programming Language
- Python :: 3
License
- OSI Approved :: MIT License
Operating System
- OS Independent
influx-line
Lightweight influxdb line protocol builder
Installation
pip install influx-line
Usage
from influx_line import InfluxLine
line = InfluxLine("weather")
line.add_tag("location", "CA")
line.add_tag("season", "summer")
line.add_field("temperature", 82, is_integer=True)
line.add_field("error", 0.1)
line.add_field("time_zone", "PDT")
line.set_timestamp(1556813561098000000)
str(line)
"""
weather,location=CA,season=summer temperature=82i,error=0.1,time_zone="PDT" 1556813561098000000
"""
Contributing
The default repository is on gitlab but mirrored on github
Google style guidelines has been chosen as the style and contribution guidelines for submitting additions. In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitLab
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Merge request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
License
See LICENSE file.
1.0.0
Mar 30, 2024
0.0.10
Sep 02, 2022
0.0.9
Sep 02, 2022
0.0.8
Sep 01, 2022
0.0.7
Sep 01, 2022
0.0.6
Aug 29, 2022
0.0.5
Aug 08, 2022
0.0.4
Aug 01, 2022
0.0.3
Aug 01, 2022
0.0.2
Aug 01, 2022
0.0.1
Jul 31, 2022
0.0.0
Sep 01, 2022