streampipes


Namestreampipes JSON
Version 0.92.0 PyPI version JSON
download
home_pagehttps://streampipes.apache.org/docs/docs/python/latest/
SummaryPython library for Apache StreamPipes
upload_time2023-06-19 15:50:25
maintainer
docs_urlNone
authorApache Software Foundation
requires_python>=3.8.0
licenseApache License 2.0
keywords streampipes iot iiot analytics stream-processing apache
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~
-->


<h1 align="center">
  <br>
   <img src="https://raw.githubusercontent.com/apache/streampipes/dev/streampipes-client-python/docs/img/streampipes-python.png"
   alt="StreamPipes Logo with Python" title="Apache StreamPipes Logo with Python" width="75%"/>
  <br>
</h1>
<h4 align="center"><a href="[StreamPipes](https://github.com/apache/streampipes)">StreamPipes</a> is a self-service (Industrial) IoT toolbox to enable non-technical users to connect , analyze and explore IoT data streams.</h4>

<br>
<h3 align="center">Apache StreamPipes for Python</h3>

<p align="center"> 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. </p>
<br>

<p align="center">
<a href="https://github.com/apache/streampipes/tree/dev/streampipes-client-python" target="_blank">
    <img src="https://img.shields.io/pypi/pyversions/streampipes" alt="Supported Python versions">
</a>
<a href="https://pypi.org/project/streampipes/" target="_blank">
    <img src="https://img.shields.io/pypi/v/streampipes" alt="Current PyPI version">
</a>
<a href="https://streampipes.apache.org/docs/docs/python/latest/" target="_blank">
    <img src="https://github.com/apache/streampipes-website/actions/workflows/update-python-docs.yml/badge.svg" alt="Status Python Docs">
</a>
<a href="https://github.com/psf/black" target="_blank">
    <img src="https://img.shields.io/badge/code%20style-black-black" alt="Code Style: Black">
</a>
<a href="https://github.com/python/mypy" target="_blank">
    <img src="https://img.shields.io/badge/typed-mypy-blue" alt="Typed: MyPy">
</a>
<img src="./docs/img/interrogate_badge.svg" alt= “interrogate” height="20">
<a href="https://pypi.org/project/streampipes/" target="_blank">
    <img src="https://img.shields.io/pypi/dm/streampipes" alt="Downloads: PyPI/Month">
</a>
</p>

---

<br>

<h4 align="center">💡The current version of this Python client is still a beta version.</h4>
<h4 align="center">This means that it is still under development, which may result in frequent and extensive API changes, unstable behavior, etc.</h4>

<br>


## 📚 Documentation
Please visit our [documentation](https://streampipes.apache.org/docs/docs/python/latest/).
There you can find information about how to [get started](https://streampipes.apache.org/docs/docs/python/latest/getting-started/first-steps/),
follow some [tutorials](https://streampipes.apache.org/docs/docs/python/latest/tutorials/1-introduction-to-streampipes-python-client/),
or discover the library via our [references](https://streampipes.apache.org/docs/docs/python/latest/reference/client/client/).
<br>

In case you want to access the documentation of the current development state, you can go here:

👉 [development docs 🤓](https://streampipes.apache.org/docs/docs/python/dev/)

<br>

## ⚡️ 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
```bash
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
```

```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](https://streampipes.apache.org/docs/docs/python/latest/tutorials/1-introduction-to-streampipes-python-client/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://streampipes.apache.org/docs/docs/python/latest/",
    "name": "streampipes",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": "",
    "keywords": "streampipes,iot,iiot,analytics,stream-processing,apache",
    "author": "Apache Software Foundation",
    "author_email": "dev@streampipes.apache.org",
    "download_url": "https://files.pythonhosted.org/packages/4f/ee/dc3ae5b58e7a645196aa9454fb602a958d4fcd9fb0bb0011cbdf516a4159/streampipes-0.92.0.tar.gz",
    "platform": null,
    "description": "\n<!--\n  ~ Licensed to the Apache Software Foundation (ASF) under one or more\n  ~ contributor license agreements.  See the NOTICE file distributed with\n  ~ this work for additional information regarding copyright ownership.\n  ~ The ASF licenses this file to You under the Apache License, Version 2.0\n  ~ (the \"License\"); you may not use this file except in compliance with\n  ~ the License.  You may obtain a copy of the License at\n  ~\n  ~    http://www.apache.org/licenses/LICENSE-2.0\n  ~\n  ~ Unless required by applicable law or agreed to in writing, software\n  ~ distributed under the License is distributed on an \"AS IS\" BASIS,\n  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  ~ See the License for the specific language governing permissions and\n  ~ limitations under the License.\n  ~\n-->\n\n\n<h1 align=\"center\">\n  <br>\n   <img src=\"https://raw.githubusercontent.com/apache/streampipes/dev/streampipes-client-python/docs/img/streampipes-python.png\"\n   alt=\"StreamPipes Logo with Python\" title=\"Apache StreamPipes Logo with Python\" width=\"75%\"/>\n  <br>\n</h1>\n<h4 align=\"center\"><a href=\"[StreamPipes](https://github.com/apache/streampipes)\">StreamPipes</a> is a self-service (Industrial) IoT toolbox to enable non-technical users to connect , analyze and explore IoT data streams.</h4>\n\n<br>\n<h3 align=\"center\">Apache StreamPipes for Python</h3>\n\n<p align=\"center\"> Apache StreamPipes meets Python! We are working highly motivated on a Python library to interact with StreamPipes.\nIn 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,\nand the amazing universe of data analytics libraries in Python. </p>\n<br>\n\n<p align=\"center\">\n<a href=\"https://github.com/apache/streampipes/tree/dev/streampipes-client-python\" target=\"_blank\">\n    <img src=\"https://img.shields.io/pypi/pyversions/streampipes\" alt=\"Supported Python versions\">\n</a>\n<a href=\"https://pypi.org/project/streampipes/\" target=\"_blank\">\n    <img src=\"https://img.shields.io/pypi/v/streampipes\" alt=\"Current PyPI version\">\n</a>\n<a href=\"https://streampipes.apache.org/docs/docs/python/latest/\" target=\"_blank\">\n    <img src=\"https://github.com/apache/streampipes-website/actions/workflows/update-python-docs.yml/badge.svg\" alt=\"Status Python Docs\">\n</a>\n<a href=\"https://github.com/psf/black\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/code%20style-black-black\" alt=\"Code Style: Black\">\n</a>\n<a href=\"https://github.com/python/mypy\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/typed-mypy-blue\" alt=\"Typed: MyPy\">\n</a>\n<img src=\"./docs/img/interrogate_badge.svg\" alt= \u201cinterrogate\u201d height=\"20\">\n<a href=\"https://pypi.org/project/streampipes/\" target=\"_blank\">\n    <img src=\"https://img.shields.io/pypi/dm/streampipes\" alt=\"Downloads: PyPI/Month\">\n</a>\n</p>\n\n---\n\n<br>\n\n<h4 align=\"center\">\ud83d\udca1The current version of this Python client is still a beta version.</h4>\n<h4 align=\"center\">This means that it is still under development, which may result in frequent and extensive API changes, unstable behavior, etc.</h4>\n\n<br>\n\n\n## \ud83d\udcda Documentation\nPlease visit our [documentation](https://streampipes.apache.org/docs/docs/python/latest/).\nThere you can find information about how to [get started](https://streampipes.apache.org/docs/docs/python/latest/getting-started/first-steps/),\nfollow some [tutorials](https://streampipes.apache.org/docs/docs/python/latest/tutorials/1-introduction-to-streampipes-python-client/),\nor discover the library via our [references](https://streampipes.apache.org/docs/docs/python/latest/reference/client/client/).\n<br>\n\nIn case you want to access the documentation of the current development state, you can go here:\n\n\ud83d\udc49 [development docs \ud83e\udd13](https://streampipes.apache.org/docs/docs/python/dev/)\n\n<br>\n\n## \u26a1\ufe0f Quickstart\n\nAs a quick example, we demonstrate how to set up and configure a StreamPipes client.\n\nYou can simply install the StreamPipes library by running the following command\n```bash\npip install streampipes\n\n# if you want to have the current development state you can also execute\npip install git+https://github.com/apache/streampipes.git#subdirectory=streampipes-client-python\n```\n\n```python\nfrom streampipes.client import StreamPipesClient\nfrom streampipes.client.config import StreamPipesClientConfig\nfrom streampipes.client.credential_provider import StreamPipesApiKeyCredentials\n\nconfig = StreamPipesClientConfig(\n    credential_provider = StreamPipesApiKeyCredentials(\n        username = \"test@streampipes.apache.org\",\n        api_key = \"DEMO-KEY\",\n    ),\n    host_address = \"localhost\",\n    https_disabled = True,\n    port = 80\n)\n\nclient = StreamPipesClient(client_config=config)\nclient.describe()\n```\n\nOutput:\n```\nHi there!\nYou are connected to a StreamPipes instance running at http://localhost:80.\nThe following StreamPipes resources are available with this client:\n6x DataStreams\n1x DataLakeMeasures\n```\n\nFor more information about how to use the StreamPipes client visit our [introduction tutorial](https://streampipes.apache.org/docs/docs/python/latest/tutorials/1-introduction-to-streampipes-python-client/).\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Python library for Apache StreamPipes",
    "version": "0.92.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/apache/streampipes/issues",
        "Documentation": "https://streampipes.apache.org/docs/docs/python/latest/",
        "Homepage": "https://streampipes.apache.org/docs/docs/python/latest/",
        "Source Code": "https://github.com/apache/streampipes"
    },
    "split_keywords": [
        "streampipes",
        "iot",
        "iiot",
        "analytics",
        "stream-processing",
        "apache"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0225ef52b6b25c38a4a252f7e1f63a0a910ff644cbfab14fe32a1541fa4e5e16",
                "md5": "c35ee4348e3906382732204fc19e696e",
                "sha256": "141b9980c8f3c41a411ff24a01e65c9d879cfe19d84b5fa3bf71b295b0027d64"
            },
            "downloads": -1,
            "filename": "streampipes-0.92.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c35ee4348e3906382732204fc19e696e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.0",
            "size": 77962,
            "upload_time": "2023-06-19T15:50:23",
            "upload_time_iso_8601": "2023-06-19T15:50:23.451764Z",
            "url": "https://files.pythonhosted.org/packages/02/25/ef52b6b25c38a4a252f7e1f63a0a910ff644cbfab14fe32a1541fa4e5e16/streampipes-0.92.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4feedc3ae5b58e7a645196aa9454fb602a958d4fcd9fb0bb0011cbdf516a4159",
                "md5": "3b1766a662e69e963572f14e5277bc94",
                "sha256": "e5a02627e83161cea579cb5aef17ef057ba53142cdba42ef03726fa9be3d164b"
            },
            "downloads": -1,
            "filename": "streampipes-0.92.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3b1766a662e69e963572f14e5277bc94",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 36689,
            "upload_time": "2023-06-19T15:50:25",
            "upload_time_iso_8601": "2023-06-19T15:50:25.123996Z",
            "url": "https://files.pythonhosted.org/packages/4f/ee/dc3ae5b58e7a645196aa9454fb602a958d4fcd9fb0bb0011cbdf516a4159/streampipes-0.92.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-19 15:50:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apache",
    "github_project": "streampipes",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "streampipes"
}
        
Elapsed time: 0.07869s