added license disclaimer

This commit is contained in:
Daniel Knüttel 2018-01-18 10:50:14 +01:00
parent f24a4ae652
commit d44df6779c
7 changed files with 114 additions and 0 deletions

6
.licor.list Normal file
View File

@ -0,0 +1,6 @@
/home/daniel/informatik/python/mathbot/mathbot/__init__.py
/home/daniel/informatik/python/mathbot/mathbot/main.py
/home/daniel/informatik/python/mathbot/mathbot/static.py
/home/daniel/informatik/python/mathbot/mathbot/__main__.py
/home/daniel/informatik/python/mathbot/mathbot/rendering.py
/home/daniel/informatik/python/mathbot/mathbot/bot.py

View File

@ -0,0 +1,18 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #

View File

@ -1,3 +1,21 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #
from .main import main
import sys, logging

View File

@ -1,3 +1,21 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #
from telegram.ext import RegexHandler
from .rendering import get_png
from .static import static_content

View File

@ -1,3 +1,21 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #
from telegram.ext import Updater, CommandHandler, RegexHandler
from . import bot

View File

@ -1,3 +1,21 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #
from io import BytesIO
import matplotlib.pyplot as plt

View File

@ -1,3 +1,21 @@
# Copyright (c) 2018 Daniel Knüttel #
# #
# This file is part of mathbot. #
# #
# mathbot is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# mathbot is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with mathbot. If not, see <http://www.gnu.org/licenses/>. #
# #
_help_text = '''
**RMathBot** -- render LaTeX math commands