Skip to main content

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.

  1. Fork the repo on GitLab
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. 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.

Metadata

Release files for influx-line 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 influx-line 1.0.0
File Size Uploaded
influx-line-1.0.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for influx-line 1.0.0
File Interpreter ABI Platform
influx_line-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / influx-line-1.0.0.tar.gz

Download URL influx-line-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
799b0769c53a8c80cc537e0efc48d391bbec3e71f266b175aaf7f0ce90468472
BLAKE2b-256 checksum
How to use checksums
4600cf254a72285012cfa5a7335b03e4f849c90dff14cb9b18227a9a57c0cdbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / influx_line-1.0.0-py3-none-any.whl

Download URL influx_line-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d8f3c7abedbe0f01da0f879edc79077f2a4c3d70b39caa55763fe777b1c7544
BLAKE2b-256 checksum
How to use checksums
160c149ede5210c79609ce4bf9e1b134c03078513c12ff78836cb9635f26343d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

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