Skip to main content

Python library for Apache StreamPipes

Project description


StreamPipes Logo with Python

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.


License Apache 2.0 Supported Python versions Current PyPI version Status Python Docs Code Style: Black Typed: MyPy Dependency & Build Management: Poetry “interrogate” Downloads: PyPI/Month



💡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:

👉 development docs 🤓


⚡️ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streampipes-0.93.0.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streampipes-0.93.0-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file streampipes-0.93.0.tar.gz.

File metadata

  • Download URL: streampipes-0.93.0.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.1.0

File hashes

Hashes for streampipes-0.93.0.tar.gz
Algorithm Hash digest
SHA256 fcbc1d8d698957acb8da9e0dcdce79717bfd4e6d4fbbe5ee7c2f6665219c7709
MD5 5a6c5035f821481c1afdeee1ae7ad64c
BLAKE2b-256 d24541e8bda543f7ac3181e298287e9702b9b721859e28363d1b9fe1c51fe84c

See more details on using hashes here.

File details

Details for the file streampipes-0.93.0-py3-none-any.whl.

File metadata

  • Download URL: streampipes-0.93.0-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.1.0

File hashes

Hashes for streampipes-0.93.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1656c160880ee629744844ceb1c7d930e018dc05d769ad24b280307c5279763b
MD5 4cc21cb2b2d393483cb04eda14cfadae
BLAKE2b-256 0304994a9b66b104f11ea24f27abfd3e5616f1e9e4ba7423b849ccacdee0b4ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page