A package to query Parosbox InfluxDB data securely
Project description
paros_data_grabber
A Python package to securely query Parosbox InfluxDB data using encrypted credentials.
Features
- Loads encrypted InfluxDB credentials bundled inside the package.
- Prompts user for a password to decrypt credentials securely.
- Queries InfluxDB using Flux queries.
- Processes and exports data to CSV, MATLAB
.mat, or pickle formats. - Easy to extend and customize.
Installation
Make sure you have Python 3.7+ installed.
pip install paros_data_grabber.
pip install influxdb-client pandas scipy cryptography pytz
Example Usage
from paros_data_grabber import query_influx_data, save_data
# Example query
data = query_influx_data(
start_time="2024-01-01T00:00:00",
end_time="2024-01-02T00:00:00",
box_id="parosbox1",
sensor_id="sensorA",
bucket="parosbox",
input_zone="Etc/UTC",
output_zone="Etc/UTC"
)
# Save results to CSV files
save_data(data, "output.csv")
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 paros_data_grabber-0.1.0.tar.gz.
File metadata
- Download URL: paros_data_grabber-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3823de455421a2b8e2873d27070ea2f5e9f093a4c55c3d7ad5fd19a85e32398a
|
|
| MD5 |
c70edf6c228ac2006260f588f5293f92
|
|
| BLAKE2b-256 |
a192426cf32c29e30c7a9baa36982386124759f146d4f68e9edbd81dab452afd
|
File details
Details for the file paros_data_grabber-0.1.0-py3-none-any.whl.
File metadata
- Download URL: paros_data_grabber-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe0d16c712d98502b455126e37f21fdbac8b53325593db7646b9779f303d27fe
|
|
| MD5 |
e9111e17d14565b832d1129a0d93e574
|
|
| BLAKE2b-256 |
da11f3dbe64cc364c7a8715c31825d4d68f2c0e0d68d6d15a00bc60eb97805b4
|