summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE13
-rwxr-xr-xmanage.sh5
-rwxr-xr-xshortcut/api.py5
-rw-r--r--tests.py8
4 files changed, 31 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..214d882
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2020, mar77i <mar77i at protonmail dot ch>
+
+Permission to use, copy, modify, and/or distribute this software for any purpose
+with or without fee is hereby granted, provided that the above copyright notice
+and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+THIS SOFTWARE.
diff --git a/manage.sh b/manage.sh
index da8ec68..5977284 100755
--- a/manage.sh
+++ b/manage.sh
@@ -1,4 +1,9 @@
#!/bin/bash
+#
+# Copyright (c) 2020, mar77i <mar77i at protonmail dot ch>
+#
+# This software may be modified and distributed under the terms
+# of the ISC license. See the LICENSE file for details.
usage() {
echo "${1} --help"
diff --git a/shortcut/api.py b/shortcut/api.py
index a50694a..ac70504 100755
--- a/shortcut/api.py
+++ b/shortcut/api.py
@@ -1,4 +1,9 @@
#!/usr/bin/env python3
+#
+# Copyright (c) 2020, mar77i <mar77i at protonmail dot ch>
+#
+# This software may be modified and distributed under the terms
+# of the ISC license. See the LICENSE file for details.
from falcon import API, HTTPMovedPermanently, HTTPNotFound
import os
diff --git a/tests.py b/tests.py
index 1c59ab9..a1b8f2a 100644
--- a/tests.py
+++ b/tests.py
@@ -1,3 +1,11 @@
+
+# tests.py
+#
+# Copyright (c) 2020, mar77i <mar77i at protonmail dot ch>
+#
+# This software may be modified and distributed under the terms
+# of the ISC license. See the LICENSE file for details.
+
from falcon.testing import TestCase
import json
from unittest.mock import patch