aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/olm/__init__.py12
-rw-r--r--python/olm/_compat.py12
-rw-r--r--python/olm/account.py12
-rw-r--r--python/olm/group_session.py12
-rw-r--r--python/olm/session.py12
-rw-r--r--python/olm/utility.py12
6 files changed, 72 insertions, 0 deletions
diff --git a/python/olm/__init__.py b/python/olm/__init__.py
index b52c88b..015c4f8 100644
--- a/python/olm/__init__.py
+++ b/python/olm/__init__.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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.
"""
Olm Python bindings
~~~~~~~~~~~~~~~~~~~~~
diff --git a/python/olm/_compat.py b/python/olm/_compat.py
index 67d312b..8f1670d 100644
--- a/python/olm/_compat.py
+++ b/python/olm/_compat.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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 builtins import bytes, str
from typing import AnyStr
diff --git a/python/olm/account.py b/python/olm/account.py
index 5705fe3..170f94e 100644
--- a/python/olm/account.py
+++ b/python/olm/account.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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.
"""libolm Account module.
This module contains the account part of the Olm library. It contains a single
diff --git a/python/olm/group_session.py b/python/olm/group_session.py
index 6b13c60..5656e5a 100644
--- a/python/olm/group_session.py
+++ b/python/olm/group_session.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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.
"""libolm Group session module.
This module contains the group session part of the Olm library. It contains two
diff --git a/python/olm/session.py b/python/olm/session.py
index b7b2c4b..eba63d4 100644
--- a/python/olm/session.py
+++ b/python/olm/session.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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.
"""libolm Session module.
This module contains the Olm Session part of the Olm library.
diff --git a/python/olm/utility.py b/python/olm/utility.py
index 838cf3f..1c5c41d 100644
--- a/python/olm/utility.py
+++ b/python/olm/utility.py
@@ -2,6 +2,18 @@
# libolm python bindings
# Copyright © 2015-2017 OpenMarket Ltd
# Copyright © 2018 Damir Jelić <poljar@termina.org.uk>
+#
+# Licensed 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.
"""libolm Utility module.
This module contains utilities for olm.