You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by jf...@apache.org on 2021/03/26 09:18:58 UTC
[iotdb] branch feature/restrucutre-python-module updated: Added
license headers.
This is an automated email from the ASF dual-hosted git repository.
jfeinauer pushed a commit to branch feature/restrucutre-python-module
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/feature/restrucutre-python-module by this push:
new f2e0b63 Added license headers.
f2e0b63 is described below
commit f2e0b63da6eedc76b52cec2991fa8b7562517122
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Fri Mar 26 10:18:35 2021 +0100
Added license headers.
---
client-py/.flake8 | 17 +++++++++++++++++
client-py/pyproject.toml | 18 ++++++++++++++++++
client-py/requirements.txt | 18 ++++++++++++++++++
client-py/requirements_dev.txt | 18 ++++++++++++++++++
client-py/setup.py | 6 +++++-
client-py/tests/__init__.py | 17 +++++++++++++++++
client-py/tests/test_dataframe.py | 18 ++++++++++++++++++
7 files changed, 111 insertions(+), 1 deletion(-)
diff --git a/client-py/.flake8 b/client-py/.flake8
index d8098a6..bd7e7bd 100644
--- a/client-py/.flake8
+++ b/client-py/.flake8
@@ -1,3 +1,20 @@
+# 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.
+#
[flake8]
ignore =
E203,
diff --git a/client-py/pyproject.toml b/client-py/pyproject.toml
index e6f34c9..389b729 100644
--- a/client-py/pyproject.toml
+++ b/client-py/pyproject.toml
@@ -1,3 +1,21 @@
+# 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.
+#
+
[tool.black]
line-length = 88
target-version = ['py37']
diff --git a/client-py/requirements.txt b/client-py/requirements.txt
index 39c5e61..55839d9 100644
--- a/client-py/requirements.txt
+++ b/client-py/requirements.txt
@@ -1,3 +1,21 @@
+# 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.
+#
+
# Pandas Export
pandas==1.2.3
# Testcontainer
diff --git a/client-py/requirements_dev.txt b/client-py/requirements_dev.txt
index 6fb957f..23e35d4 100644
--- a/client-py/requirements_dev.txt
+++ b/client-py/requirements_dev.txt
@@ -1,3 +1,21 @@
+# 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.
+#
+
-r requirements.txt
# Pytest to run tests
pytest==6.2.2
diff --git a/client-py/setup.py b/client-py/setup.py
index 5b2d95c..43cb845 100644
--- a/client-py/setup.py
+++ b/client-py/setup.py
@@ -39,7 +39,11 @@ setuptools.setup(
long_description_content_type="text/markdown",
url="https://github.com/apache/iotdb",
packages=setuptools.find_packages(),
- install_requires=["thrift>=0.13.0", "pandas>=1.0.0,<1.99.99", "testcontainers>=2.0.0"],
+ install_requires=[
+ "thrift>=0.13.0",
+ "pandas>=1.0.0,<1.99.99",
+ "testcontainers>=2.0.0",
+ ],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
diff --git a/client-py/tests/__init__.py b/client-py/tests/__init__.py
index e69de29..2a1e720 100644
--- a/client-py/tests/__init__.py
+++ b/client-py/tests/__init__.py
@@ -0,0 +1,17 @@
+# 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.
+#
diff --git a/client-py/tests/test_dataframe.py b/client-py/tests/test_dataframe.py
index 239cc8d..14f996d 100644
--- a/client-py/tests/test_dataframe.py
+++ b/client-py/tests/test_dataframe.py
@@ -1,3 +1,21 @@
+# 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 iotdb.Session import Session
from iotdb.TestContainer import IoTDBContainer