You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/02/28 21:03:57 UTC
[streampipes] branch rel/0.91.0 updated (f3729b562 -> e4b0476fb)
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a change to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git
from f3729b562 [#1254]: extend data lake measure endpoints get method to process query parameters (#1349)
new 3c237a624 [hotfix] Fix example in python client README
new d7fd69c8a [hotfix] Modify README of python client so that commands can be copied
new e4b0476fb chore: reify project url in package metadata (#1356)
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
streampipes-client-python/README.md | 37 ++++++++++++++++++++-----------------
streampipes-client-python/setup.py | 2 +-
2 files changed, 21 insertions(+), 18 deletions(-)
[streampipes] 01/03: [hotfix] Fix example in python client README
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 3c237a624b5223c69a5f919090ec7d96b214e487
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Tue Feb 28 11:17:40 2023 +0100
[hotfix] Fix example in python client README
---
streampipes-client-python/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/streampipes-client-python/README.md b/streampipes-client-python/README.md
index 4231ae59c..68b4bf4bb 100644
--- a/streampipes-client-python/README.md
+++ b/streampipes-client-python/README.md
@@ -64,7 +64,7 @@ pip install git+https://github.com/apache/streampipes.git#subdirectory=streampip
... api_key = "DEMO-KEY",
... ),
... host_address = "localhost",
-... http_disabled = True,
+... https_disabled = True,
... port = 80
...)
@@ -78,4 +78,4 @@ The following StreamPipes resources are available with this client:
1x DataLakeMeasures
```
-For more information about how to use the StreamPipes client visit our [introduction example](https://github.com/apache/streampipes/blob/dev/streampipes-client-python/docs/examples/1-introduction-to-streampipes-python-client.ipynb).
\ No newline at end of file
+For more information about how to use the StreamPipes client visit our [introduction example](https://github.com/apache/streampipes/blob/dev/streampipes-client-python/docs/examples/1-introduction-to-streampipes-python-client.ipynb).
[streampipes] 03/03: chore: reify project url in package metadata (#1356)
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit e4b0476fb7ae44c99b33cc2d79261774f5be665b
Author: Tim <50...@users.noreply.github.com>
AuthorDate: Tue Feb 28 19:17:06 2023 +0100
chore: reify project url in package metadata (#1356)
---
streampipes-client-python/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streampipes-client-python/setup.py b/streampipes-client-python/setup.py
index 8774784f0..1a4e56cd5 100644
--- a/streampipes-client-python/setup.py
+++ b/streampipes-client-python/setup.py
@@ -24,7 +24,7 @@ import setuptools
NAME = "streampipes"
DESCRIPTION = "Python library for Apache StreamPipes"
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
-URL = "https://github.com/apache/streampipes/"
+URL = "https://github.com/apache/streampipes/tree/dev/streampipes-client-python"
EMAIL = "dev@streampipes.apache.org"
AUTHOR = "Apache Software Foundation"
REQUIRES_PYTHON = ">=3.8.0"
[streampipes] 02/03: [hotfix] Modify README of python client so that commands can be copied
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch rel/0.91.0
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit d7fd69c8a434542218a38b8364e3e56394d7adb3
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Feb 28 11:43:10 2023 +0100
[hotfix] Modify README of python client so that commands can be copied
---
streampipes-client-python/README.md | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/streampipes-client-python/README.md b/streampipes-client-python/README.md
index 68b4bf4bb..15d2c976c 100644
--- a/streampipes-client-python/README.md
+++ b/streampipes-client-python/README.md
@@ -54,23 +54,26 @@ pip install git+https://github.com/apache/streampipes.git#subdirectory=streampip
```
```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()
+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: