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.
📚 Documentation
Please visit our documentation.
There you can find information about how to get started,
follow some tutorials,
or discover the library via our references.
In case you want to access the documentation of the current development state, you can go here:
⚡️ 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.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",
https_disabled = True,
port = 80
)
client = StreamPipesClient(client_config=config)
client.describe()
Output:
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 tutorial.
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
File details
Details for the file streampipes-0.95.0.tar.gz
.
File metadata
- Download URL: streampipes-0.95.0.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911e661d6b30c26c6bfbc3f64357a6a984559509ccf6905b2daf46afda9717a0 |
|
MD5 | cf9061b6b374751fe4244f6ddd0c8da2 |
|
BLAKE2b-256 | f537db9c5c456632fc54774a19acc852c700a3a38c8746da03c5534504350aca |
File details
Details for the file streampipes-0.95.0-py3-none-any.whl
.
File metadata
- Download URL: streampipes-0.95.0-py3-none-any.whl
- Upload date:
- Size: 79.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9d0b70c5341d8adabd97493df9ab23e79a72c64a06279d3a77b227e339e8b4 |
|
MD5 | 47149ac4b41a9a8e0d6d0adf59c0c4b3 |
|
BLAKE2b-256 | 552cfcc088fa6c410ebe70735dcbeb81f2ef373abfd7b06408986f80c3fe5765 |