Seven2one Questra Data
Python Client für die Questra Data Platform – Verwaltung von benutzerdefinierten Datenmodellen, Zeitreihen und Berechtigungen.
Features
- Data Client: Vereinfachte Schnittstelle für häufige Operationen
- Typsichere Dataclasses: IDE-Unterstützung mit Type Hints
- Zeitreihen-Verwaltung: Effiziente Verwaltung von TimeSeries-Daten
- CRUD-Operationen: Für benutzerdefinierte Datenmodelle
- Optional: pandas Integration: DataFrames für Analyse-Workflows
Installation
# Basis-Installation
pip install seven2one-questra-data
# Mit pandas-Unterstützung (empfohlen für Data Science)
pip install seven2one-questra-data[pandas]
Siehe INSTALLATION.md für detaillierte Installations-Anleitungen.
Schnellstart
from seven2one.questra.authentication import QuestraAuthentication
from seven2one.questra.data import QuestraData
from datetime import datetime
# Authentifizierung
auth = QuestraAuthentication(
url="https://auth.example.com",
username="user",
password="pass"
)
# Client initialisieren
client = QuestraData(
graphql_url="https://api.example.com/data-service/graphql",
auth_client=auth
)
# Inventory Items auflisten
items = client.list_items(
inventory_name="Devices",
namespace_name="IoT",
properties=["_id", "name", "status"],
first=10
)
# Zeitreihen-Werte laden
result = client.list_timeseries_values(
inventory_name="Sensors",
namespace_name="IoT",
timeseries_properties="measurements",
from_time=datetime(2025, 1, 1),
to_time=datetime(2025, 1, 31)
)
# Optional: Als pandas DataFrame
df = result.to_df()
Inventory erstellen
from seven2one.questra.data import StringProperty, IntProperty
properties = [
StringProperty(property_name="name", max_length=200, is_required=True),
IntProperty(property_name="age")
]
client.create_inventory(name="Users", properties=properties)
pandas Integration
# Alle Result-Objekte haben .to_df() Methode
df = result.to_df()
df_items = items.to_df()
Weitere Informationen
- Vollständige Dokumentation: https://pydocs.[questra-host.domain]
- Support: support@seven2one.de
Requirements
- Python >= 3.10
- gql >= 3.5.0
- requests >= 2.31.0
- questra-authentication >= 0.1.4
Optional
- pandas >= 2.0.0 (für DataFrame-Unterstützung)
License
Proprietary - Seven2one Informationssysteme GmbH
Metadata
Release files for seven2one-questra-data 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| seven2one_questra_data-4.0.0.tar.gz | 89.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seven2one_questra_data-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.5 kB
Release files / seven2one_questra_data-4.0.0.tar.gz
| Download URL | seven2one_questra_data-4.0.0.tar.gz |
|---|---|
| Size | 89.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
241ed981be86b4b2a209a2db022fdcd9f99a333288ee3c69f26e52aa607e011f
|
|
BLAKE2b-256 checksum How to use checksums |
ea150e3cfe420d5ecd973a434996757f92c0c5a3d92ac1394eb68e457d27a6f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / seven2one_questra_data-4.0.0-py3-none-any.whl
| Download URL | seven2one_questra_data-4.0.0-py3-none-any.whl |
|---|---|
| Size | 109.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d991574a6908f600cda2a45742774c2eea65f5b46c6e619c9a83eda89653762
|
|
BLAKE2b-256 checksum How to use checksums |
aee63cbbed67939c0569ece09afa4086df7ed6fbb58a2bdd1574d729418a7388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for seven2one-questra-data 4.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.