Skip to content

Commit 7bffa62

Browse files
committed
Switch to MIT license
1 parent 122ac0d commit 7bffa62

File tree

7 files changed

+27
-736
lines changed

7 files changed

+27
-736
lines changed

LICENSE

Lines changed: 21 additions & 674 deletions
Large diffs are not rendered by default.

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ mautrix-appservice-python
55

66
A Python 3 asyncio-based Matrix application service framework.
77

8+
The framework is minimal and only provides basic application service functions,
9+
room state storage and an intent API. The core AS functions are based on Cadair's
10+
python-appservice-framework_ and the intent API design is based on matrix-appservice-bridge.
11+
12+
.. _python-appservice-framework: https://github.com/Cadair/python-appservice-framework/
813
.. |PyPI badge| image:: https://img.shields.io/pypi/v/mautrix-appservice.svg
914
:target: https://pypi.python.org/pypi/mautrix-appservice
1015
.. |Python versions| image:: https://img.shields.io/pypi/pyversions/mautrix-appservice.svg

mautrix_appservice/appservice.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
# -*- coding: future_fstrings -*-
2-
# matrix-appservice-python - A Matrix Application Service framework written in Python.
3-
# Copyright (C) 2018 Tulir Asokan
4-
#
5-
# This program is free software: you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation, either version 3 of the License, or
8-
# (at your option) any later version.
9-
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License
16-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
#
182
# Partly based on github.com/Cadair/python-appservice-framework (MIT license)
193
from contextlib import contextmanager
204
from typing import Optional, Callable, Awaitable, Union

mautrix_appservice/errors.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
# -*- coding: future_fstrings -*-
2-
# mautrix-telegram - A Matrix-Telegram puppeting bridge
3-
# Copyright (C) 2018 Tulir Asokan
4-
#
5-
# This program is free software: you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation, either version 3 of the License, or
8-
# (at your option) any later version.
9-
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License
16-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
172
from typing import Optional
183

194

mautrix_appservice/intent_api.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
# -*- coding: future_fstrings -*-
2-
# mautrix-telegram - A Matrix-Telegram puppeting bridge
3-
# Copyright (C) 2018 Tulir Asokan
4-
#
5-
# This program is free software: you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation, either version 3 of the License, or
8-
# (at your option) any later version.
9-
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License
16-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
172
from urllib.parse import quote
183
from time import time
194
from json.decoder import JSONDecodeError

mautrix_appservice/state_store.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
# -*- coding: future_fstrings -*-
2-
# matrix-appservice-python - A Matrix Application Service framework written in Python.
3-
# Copyright (C) 2018 Tulir Asokan
4-
#
5-
# This program is free software: you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation, either version 3 of the License, or
8-
# (at your option) any later version.
9-
#
10-
# This program is distributed in the hope that it will be useful,
11-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
# GNU General Public License for more details.
14-
#
15-
# You should have received a copy of the GNU General Public License
16-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
172
from typing import Optional
183
import json
194
import time

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
classifiers=[
2626
"Development Status :: 4 - Beta",
27-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
27+
"License :: OSI Approved :: MIT License",
2828
"Topic :: Communications :: Chat",
2929
"Programming Language :: Python",
3030
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)