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.98.0.tar.gz (38.5 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.98.0-py3-none-any.whl (81.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streampipes-0.98.0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for streampipes-0.98.0.tar.gz
Algorithm Hash digest
SHA256 188a89382f60ffcf35704b03fc205c6228bc7363b707d37809af3dc3e0d424b7
MD5 e578fce6678ad6149bc7d109de4722d0
BLAKE2b-256 7ad76b5754d02fd65c2bbf92febcc94544ca2b52c2b0636f11e52f7a2d583e85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: streampipes-0.98.0-py3-none-any.whl
  • Upload date:
  • Size: 81.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for streampipes-0.98.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e55556ca7d09b66dbf6593ea771c2e30fbb55ca9ace93c2017739f9fd467b9f0
MD5 5f33adaf255e30112341b1f0db127a32
BLAKE2b-256 fae0b6f2037f6af6cd3a4816ade95b3682c22245e69435a17610d81c957d56cf

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