Python library for Apache StreamPipes
Project description
StreamPipes is a self-service (Industrial) IoT toolbox to enable non-technical users to connect , analyze and explore IoT data streams.
Apache StreamPipes for Python
Apache StreamPipes meets Python! We are working highly motivated on a Python library to interact with StreamPipes. In this way, we would like to unite the power of StreamPipes to easily connect to and read different data sources, especially in the IoT domain, and the amazing universe of data analytics libraries in Python.
💡The current version of this Python client is still a beta version.
This means that it is still under development, which may result in frequent and extensive API changes, unstable behavior, etc.
⚡️ Quickstart
As a quick example, we demonstrate how to set up and configure a StreamPipes client.
You can simply install the StreamPipes library by running the following command
%pip install streampipes
# if you want to have the current development state you can also execute
%pip install git+https://github.com/apache/streampipes.git#subdirectory=streampipes-client-python
>> > from streampipes.client import StreamPipesClient
>> > from streampipes.client.client_config import StreamPipesClientConfig
>> > from streampipes.client.credential_provider import StreamPipesApiKeyCredentials
>>> config = StreamPipesClientConfig(
... credential_provider = StreamPipesApiKeyCredentials(
... username = "test@streampipes.apache.org",
... api_key = "DEMO-KEY",
... ),
... host_address = "localhost",
... http_disabled = True,
... port = 80
...)
>>> client = StreamPipesClient(client_config=config)
>>> client.describe()
Hi there!
You are connected to a StreamPipes instance running at http://localhost: 80.
The following StreamPipes resources are available with this client:
6x DataStreams
1x DataLakeMeasures
For more information about how to use the StreamPipes client visit our introduction example.
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
Hashes for streampipes-0.0.2.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f662e43a4462556afcfd3340c289cc5a260802a9da15539e4a0758a8d6e0bb |
|
MD5 | 927ba00bcebb7756f0a70310f72d0f03 |
|
BLAKE2b-256 | 1a82cd5ee0801aad3a227ed401017c1a02801f24acf206d56aa203ae17561059 |