Skip to content

Commit

Permalink
Add license and copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Kerman committed Mar 7, 2022
1 parent 576ec64 commit 0ecc8d9
Show file tree
Hide file tree
Showing 29 changed files with 702 additions and 2 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions make.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/python
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import json
import os
import shutil
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/browser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os.path
from datetime import datetime
from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/common_ui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os
import re
from typing import Any, Callable, Iterable, Optional, Sequence, TypeVar, Union
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/editor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from enum import Enum, auto
from typing import Callable, Iterable, List, Optional

Expand Down
1 change: 1 addition & 0 deletions src/ankilib/global_vars.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os.path
from lzma import LZMAError
from os.path import dirname
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/hooks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import aqt

from . import browser, editor, global_vars, main_menu, updates
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/main_menu.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import aqt
from PyQt5.QtWidgets import QAction

Expand Down
1 change: 1 addition & 0 deletions src/ankilib/prefs_ui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from copy import deepcopy
from enum import Enum, auto
from typing import Callable, List, Optional, Set, TypeVar
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/prefs_ui_defs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from enum import Enum, auto


Expand Down
1 change: 1 addition & 0 deletions src/ankilib/templates.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import dataclasses
import re
from re import Pattern
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/updates.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os.path
import platform
import shutil
Expand Down
1 change: 1 addition & 0 deletions src/ankilib/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os.path
import shutil
from os.path import dirname, join
Expand Down
2 changes: 1 addition & 1 deletion src/import_jmdict.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/python

# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import gzip
import lzma
import sys
Expand Down
2 changes: 1 addition & 1 deletion src/import_migaku_pitch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/python

# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import json
import lzma
import re
Expand Down
1 change: 1 addition & 0 deletions src/pylib/accents.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from dataclasses import dataclass
from typing import Any, List, Optional, Tuple, Union

Expand Down
1 change: 1 addition & 0 deletions src/pylib/conv_util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import re
from typing import Optional

Expand Down
1 change: 1 addition & 0 deletions src/pylib/converter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from dataclasses import dataclass
from typing import Callable, Iterable, List, Optional, Sequence, Tuple, cast

Expand Down
1 change: 1 addition & 0 deletions src/pylib/default_overrides.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from dataclasses import dataclass
from typing import Generic, List, TypeVar

Expand Down
1 change: 1 addition & 0 deletions src/pylib/dictionary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import lzma
import sys
from dataclasses import dataclass
Expand Down
1 change: 1 addition & 0 deletions src/pylib/html_processing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from html.parser import HTMLParser
from typing import List, MutableSequence, Optional, Sequence, Tuple

Expand Down
1 change: 1 addition & 0 deletions src/pylib/mecab.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import os
import platform
import subprocess
Expand Down
1 change: 1 addition & 0 deletions src/pylib/normalize.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from typing import Callable, Iterable, List

_hira = "ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖゝゞ"
Expand Down
1 change: 1 addition & 0 deletions src/pylib/output.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from enum import Enum, auto
from typing import List, Optional, Sequence

Expand Down
1 change: 1 addition & 0 deletions src/pylib/overrides.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
from dataclasses import dataclass
from typing import Any, Iterable, List, Optional, Tuple, Union

Expand Down
1 change: 1 addition & 0 deletions src/pylib/preferences.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import json
import os.path
import platform
Expand Down
1 change: 1 addition & 0 deletions src/pylib/segments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import re
from dataclasses import dataclass, field
from enum import Enum, auto
Expand Down
1 change: 1 addition & 0 deletions src/pylib/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
import dataclasses
import sys
from dataclasses import MISSING, dataclass, is_dataclass
Expand Down
1 change: 1 addition & 0 deletions src/ts/cards.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This project is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2022 Ben Kerman
function every<T>(itr: Iterable<T>, pre: (e: T) => boolean): boolean {
for(const e of itr) if(!pre(e)) return false;
return true;
Expand Down

0 comments on commit 0ecc8d9

Please sign in to comment.