You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by go...@apache.org on 2020/07/11 09:02:49 UTC

[incubator-tubemq] branch tubemq-client-python updated: [TUBEMQ-260] Init Python client module (#201)

This is an automated email from the ASF dual-hosted git repository.

gosonzhang pushed a commit to branch tubemq-client-python
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git


The following commit(s) were added to refs/heads/tubemq-client-python by this push:
     new 754c965  [TUBEMQ-260] Init Python client module (#201)
754c965 is described below

commit 754c9659993ef61a414fb57cc974159e05ff6602
Author: dockerzhang <zh...@outlook.com>
AuthorDate: Sat Jul 11 17:02:41 2020 +0800

    [TUBEMQ-260] Init Python client module (#201)
    
    Co-authored-by: dockerzhang(张超) <do...@tencent.com>
---
 .gitignore                                         |  3 +++
 .../tubemq-client-python/__init__.py               | 18 +++++++++++++
 .../tubemq-client-python/config/__init__.py        | 18 +++++++++++++
 .../tubemq-client-python/network/__init__.py       | 18 +++++++++++++
 .../tubemq-client-python/requirements.txt          | 18 +++++++++++++
 .../tubemq-client-python/service/__init__.py       | 18 +++++++++++++
 tubemq-client-twins/tubemq-client-python/setup.py  | 30 ++++++++++++++++++++++
 .../tubemq-client-python/test/__init__.py          | 18 +++++++++++++
 .../tubemq-client-python/tubemq/__init__.py        | 18 +++++++++++++
 .../tubemq-client-python/util/__init__.py          | 18 +++++++++++++
 10 files changed, 177 insertions(+)

diff --git a/.gitignore b/.gitignore
index eeb8963..420f988 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,6 @@ target/
 !.gitignore
 !.gitkeep
 !.travis.yml
+venv/
+eggs/
+wheels/
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/__init__.py b/tubemq-client-twins/tubemq-client-python/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/config/__init__.py b/tubemq-client-twins/tubemq-client-python/config/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/config/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/network/__init__.py b/tubemq-client-twins/tubemq-client-python/network/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/network/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/requirements.txt b/tubemq-client-twins/tubemq-client-python/requirements.txt
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/requirements.txt
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/service/__init__.py b/tubemq-client-twins/tubemq-client-python/service/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/service/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/setup.py b/tubemq-client-twins/tubemq-client-python/setup.py
new file mode 100644
index 0000000..f1c37cf
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/setup.py
@@ -0,0 +1,30 @@
+#
+# 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.
+#
+
+from setuptools import setup
+
+setup(
+        name='tubemq-client-python',
+        version='0.1.0',
+        description='TubeMQ Python SDK Client',
+        author='dockerzhang',
+        author_email='dockerzhang@tencent.com',
+        url='https://tubemq.apache.org/',
+        packages=['tubemq-client-python'],
+)
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/test/__init__.py b/tubemq-client-twins/tubemq-client-python/test/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/test/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/tubemq/__init__.py b/tubemq-client-twins/tubemq-client-python/tubemq/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/tubemq/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file
diff --git a/tubemq-client-twins/tubemq-client-python/util/__init__.py b/tubemq-client-twins/tubemq-client-python/util/__init__.py
new file mode 100644
index 0000000..5fb2552
--- /dev/null
+++ b/tubemq-client-twins/tubemq-client-python/util/__init__.py
@@ -0,0 +1,18 @@
+#
+# 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.
+#
\ No newline at end of file