Minimal InfluxDB v2 quantities-of-interest writer client.
Reason this release was yanked:
This version is yanked.
Project description
deteqt
Python package for writing quantities of interest (QOI) to InfluxDB v2.
Install from TestPyPI
python -m pip install --upgrade pip
python -m pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
deteqt
User configuration
Recommended (one-time):
from deteqt import create_settings_file
create_settings_file() # creates ./settings.toml
Then edit only token in ./settings.toml.
Required keys:
urlorgbuckettoken
Optional keys:
defaults.measurementdefaults.tags
Your admin provides url, org, bucket, and a write token.
Package default template is prefilled for this deployment:
url = "https://mahmut-oqs.duckdns.org"org = "deteqt"bucket = "test-bucket-1"- you only fill
token
Python API
Public write API:
write_qoi(...)
Minimal usage:
from deteqt import write_qoi
write_qoi(
qoi="frequency",
nominal_value=1.01,
uncertainty=0.01,
run_ID="20260211-000001-abc123-demo",
cycle_ID="20260211",
condition="analysis_CosineAnalysis",
settings_path="settings.toml",
)
Fixed QOI Schema
Measurement key:
qoi
Tag keys:
elementlabelunitelement_labeldevice_IDrun_IDcycle_IDcondition
Field keys:
nominal_valueuncertaintytuid
For additional metadata:
- use
extra_tagsfor custom tags - use
extra_fieldsfor custom fields
Logging
Package logs use Python logging only.
Infrastructure and deployment are admin-managed.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deteqt-0.1.0.tar.gz.
File metadata
- Download URL: deteqt-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b09fe104d40dba0e555d49fe396b04bda55d29abcb56d9b6569876f1bb9cc3
|
|
| MD5 |
ab4aaf8cc647d88a1f349af65a3ca1e1
|
|
| BLAKE2b-256 |
70d6132fa56d178ef93b4d8f58a8afcbe0467850c3096ee97218aeaecde66e4e
|
File details
Details for the file deteqt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: deteqt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
241b46aa67c2688698ff50c620a969d9b76f9ce9842875abc2263f5c1c9a9cd7
|
|
| MD5 |
699efd0e525a67fcccca324a10f3032d
|
|
| BLAKE2b-256 |
158ce54a934aa2ad24fe302e5dac600ace417ce701e3c99040bb925452ddb586
|