CustomModules 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- custommodules-1.0.0/AppTranslation/requirements.txt +8 -0
- custommodules-1.0.0/BotDirectory/requirements.txt +7 -0
- custommodules-1.0.0/CustomModules/__init__.py +125 -0
- custommodules-1.0.0/CustomModules/app_translation.py +10 -0
- custommodules-1.0.0/CustomModules/bitmap_handler.py +10 -0
- custommodules-1.0.0/CustomModules/bot_directory.py +10 -0
- custommodules-1.0.0/CustomModules/database_handler.py +10 -0
- custommodules-1.0.0/CustomModules/googletrans.py +10 -0
- custommodules-1.0.0/CustomModules/invite_tracker.py +10 -0
- custommodules-1.0.0/CustomModules/killswitch.py +10 -0
- custommodules-1.0.0/CustomModules/libretrans.py +10 -0
- custommodules-1.0.0/CustomModules/log_handler.py +10 -0
- custommodules-1.0.0/CustomModules/patchnotes.py +10 -0
- custommodules-1.0.0/CustomModules/private_voice.py +10 -0
- custommodules-1.0.0/CustomModules/random_usernames.py +10 -0
- custommodules-1.0.0/CustomModules/stat_dock.py +10 -0
- custommodules-1.0.0/CustomModules/steam.py +10 -0
- custommodules-1.0.0/CustomModules/steam_charts.py +10 -0
- custommodules-1.0.0/CustomModules/twitch.py +10 -0
- custommodules-1.0.0/CustomModules.egg-info/PKG-INFO +253 -0
- custommodules-1.0.0/CustomModules.egg-info/SOURCES.txt +44 -0
- custommodules-1.0.0/CustomModules.egg-info/dependency_links.txt +1 -0
- custommodules-1.0.0/CustomModules.egg-info/not-zip-safe +1 -0
- custommodules-1.0.0/CustomModules.egg-info/requires.txt +158 -0
- custommodules-1.0.0/CustomModules.egg-info/top_level.txt +1 -0
- custommodules-1.0.0/DatabaseHandler/requirements.txt +30 -0
- custommodules-1.0.0/Googletrans/requirements.txt +18 -0
- custommodules-1.0.0/InviteTracker/requirements.txt +8 -0
- custommodules-1.0.0/Killswitch/requirements.txt +10 -0
- custommodules-1.0.0/LICENSE.txt +661 -0
- custommodules-1.0.0/Libretrans/requirements.txt +1 -0
- custommodules-1.0.0/LogHandler/requirements.txt +1 -0
- custommodules-1.0.0/MANIFEST.in +13 -0
- custommodules-1.0.0/PKG-INFO +253 -0
- custommodules-1.0.0/Patchnotes/requirements.txt +3 -0
- custommodules-1.0.0/PrivateVoice/requirements.txt +1 -0
- custommodules-1.0.0/README.md +83 -0
- custommodules-1.0.0/RandomUsernames/requirements.txt +1 -0
- custommodules-1.0.0/StatDock/requirements.txt +2 -0
- custommodules-1.0.0/Steam/requirements.txt +7 -0
- custommodules-1.0.0/SteamCharts/requirements.txt +10 -0
- custommodules-1.0.0/Twitch/requirements.txt +2 -0
- custommodules-1.0.0/pyproject.toml +41 -0
- custommodules-1.0.0/setup.cfg +60 -0
- custommodules-1.0.0/setup.py +83 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"""
|
|
2
|
+
CustomModules - A collection of custom Python modules for Discord bots and utilities.
|
|
3
|
+
|
|
4
|
+
Available modules:
|
|
5
|
+
- app_translation: Application translation utilities
|
|
6
|
+
- bitmap_handler: Bitmap manipulation and handling
|
|
7
|
+
- bot_directory: Bot directory management
|
|
8
|
+
- database_handler: Multi-database async handler
|
|
9
|
+
- googletrans: Google Translate integration
|
|
10
|
+
- invite_tracker: Discord invite tracking
|
|
11
|
+
- killswitch: Dead by Daylight killswitch monitoring
|
|
12
|
+
- libretrans: LibreTranslate integration
|
|
13
|
+
- log_handler: Advanced logging with colored console output
|
|
14
|
+
- patchnotes: Patch notes management
|
|
15
|
+
- private_voice: Private voice channel management
|
|
16
|
+
- random_usernames: Random username generation
|
|
17
|
+
- stat_dock: Statistics tracking for Discord
|
|
18
|
+
- steam: Steam API integration
|
|
19
|
+
- steam_charts: Steam Charts data retrieval
|
|
20
|
+
- twitch: Twitch API integration
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
__version__ = '1.0.0'
|
|
24
|
+
__author__ = 'Serpensin'
|
|
25
|
+
__license__ = 'AGPL-3.0'
|
|
26
|
+
|
|
27
|
+
# Conditional imports based on available dependencies
|
|
28
|
+
try:
|
|
29
|
+
from . import bitmap_handler
|
|
30
|
+
except ImportError:
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
try:
|
|
34
|
+
from . import log_handler
|
|
35
|
+
except ImportError:
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
try:
|
|
39
|
+
from . import app_translation
|
|
40
|
+
except ImportError:
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
try:
|
|
44
|
+
from . import bot_directory
|
|
45
|
+
except ImportError:
|
|
46
|
+
pass
|
|
47
|
+
|
|
48
|
+
try:
|
|
49
|
+
from . import database_handler
|
|
50
|
+
except ImportError:
|
|
51
|
+
pass
|
|
52
|
+
|
|
53
|
+
try:
|
|
54
|
+
from . import googletrans
|
|
55
|
+
except ImportError:
|
|
56
|
+
pass
|
|
57
|
+
|
|
58
|
+
try:
|
|
59
|
+
from . import invite_tracker
|
|
60
|
+
except ImportError:
|
|
61
|
+
pass
|
|
62
|
+
|
|
63
|
+
try:
|
|
64
|
+
from . import killswitch
|
|
65
|
+
except ImportError:
|
|
66
|
+
pass
|
|
67
|
+
|
|
68
|
+
try:
|
|
69
|
+
from . import libretrans
|
|
70
|
+
except ImportError:
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
try:
|
|
74
|
+
from . import patchnotes
|
|
75
|
+
except ImportError:
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
try:
|
|
79
|
+
from . import private_voice
|
|
80
|
+
except ImportError:
|
|
81
|
+
pass
|
|
82
|
+
|
|
83
|
+
try:
|
|
84
|
+
from . import random_usernames
|
|
85
|
+
except ImportError:
|
|
86
|
+
pass
|
|
87
|
+
|
|
88
|
+
try:
|
|
89
|
+
from . import stat_dock
|
|
90
|
+
except ImportError:
|
|
91
|
+
pass
|
|
92
|
+
|
|
93
|
+
try:
|
|
94
|
+
from . import steam
|
|
95
|
+
except ImportError:
|
|
96
|
+
pass
|
|
97
|
+
|
|
98
|
+
try:
|
|
99
|
+
from . import steam_charts
|
|
100
|
+
except ImportError:
|
|
101
|
+
pass
|
|
102
|
+
|
|
103
|
+
try:
|
|
104
|
+
from . import twitch
|
|
105
|
+
except ImportError:
|
|
106
|
+
pass
|
|
107
|
+
|
|
108
|
+
__all__ = [
|
|
109
|
+
'app_translation',
|
|
110
|
+
'bitmap_handler',
|
|
111
|
+
'bot_directory',
|
|
112
|
+
'database_handler',
|
|
113
|
+
'googletrans',
|
|
114
|
+
'invite_tracker',
|
|
115
|
+
'killswitch',
|
|
116
|
+
'libretrans',
|
|
117
|
+
'log_handler',
|
|
118
|
+
'patchnotes',
|
|
119
|
+
'private_voice',
|
|
120
|
+
'random_usernames',
|
|
121
|
+
'stat_dock',
|
|
122
|
+
'steam',
|
|
123
|
+
'steam_charts',
|
|
124
|
+
'twitch',
|
|
125
|
+
]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""AppTranslation module - Application translation utilities."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from AppTranslation.AppTranslation import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""BitmapHandler module - Bitmap manipulation and handling."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from BitmapHandler.BitmapHandler import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""BotDirectory module - Bot directory management."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from BotDirectory.BotDirectory import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""DatabaseHandler module - Multi-database async handler."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from DatabaseHandler.DatabaseHandler import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Googletrans module - Google Translate integration."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Googletrans.Googletrans import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""InviteTracker module - Discord invite tracking."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from InviteTracker.InviteTracker import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Killswitch module - Dead by Daylight killswitch monitoring."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Killswitch.Killswitch import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Libretrans module - LibreTranslate integration."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Libretrans.Libretrans import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""LogHandler module - Advanced logging with colored console output."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from LogHandler.LogHandler import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Patchnotes module - Patch notes management."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Patchnotes.Patchnotes import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""PrivateVoice module - Private voice channel management."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from PrivateVoice.PrivateVoice import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""RandomUsernames module - Random username generation."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from RandomUsernames.RandomUsernames import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""StatDock module - Statistics tracking for Discord."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from StatDock.StatDock import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Steam module - Steam API integration."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Steam.Steam import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""SteamCharts module - Steam Charts data retrieval."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from SteamCharts.SteamCharts import *
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Twitch module - Twitch API integration."""
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
# Add parent directory to path to allow importing from sibling directories
|
|
6
|
+
_parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
7
|
+
if _parent_dir not in sys.path:
|
|
8
|
+
sys.path.insert(0, _parent_dir)
|
|
9
|
+
|
|
10
|
+
from Twitch.Twitch import *
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: CustomModules
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A collection of custom Python modules for Discord bots and utilities
|
|
5
|
+
Home-page: https://github.com/Serpensin/CustomModules-Python
|
|
6
|
+
Author: Serpensin
|
|
7
|
+
License: AGPL-3.0-or-later
|
|
8
|
+
Project-URL: Homepage, https://github.com/Serpensin/CustomModules-Python
|
|
9
|
+
Project-URL: Bug Reports, https://github.com/Serpensin/CustomModules-Python/issues
|
|
10
|
+
Project-URL: Source, https://github.com/Serpensin/CustomModules-Python
|
|
11
|
+
Keywords: discord,bot,utilities,modules,custom
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Topic :: Communications :: Chat
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE.txt
|
|
25
|
+
Provides-Extra: apptranslation
|
|
26
|
+
Requires-Dist: aiohttp==3.9.3; extra == "apptranslation"
|
|
27
|
+
Requires-Dist: aiosignal==1.3.1; extra == "apptranslation"
|
|
28
|
+
Requires-Dist: attrs==23.2.0; extra == "apptranslation"
|
|
29
|
+
Requires-Dist: discord.py==2.3.2; extra == "apptranslation"
|
|
30
|
+
Requires-Dist: frozenlist==1.4.1; extra == "apptranslation"
|
|
31
|
+
Requires-Dist: idna==3.6; extra == "apptranslation"
|
|
32
|
+
Requires-Dist: multidict==6.0.5; extra == "apptranslation"
|
|
33
|
+
Requires-Dist: yarl==1.9.4; extra == "apptranslation"
|
|
34
|
+
Provides-Extra: bitmaphandler
|
|
35
|
+
Provides-Extra: botdirectory
|
|
36
|
+
Requires-Dist: aiohttp==3.9.3; extra == "botdirectory"
|
|
37
|
+
Requires-Dist: aiosignal==1.3.1; extra == "botdirectory"
|
|
38
|
+
Requires-Dist: attrs==23.2.0; extra == "botdirectory"
|
|
39
|
+
Requires-Dist: frozenlist==1.4.1; extra == "botdirectory"
|
|
40
|
+
Requires-Dist: idna==3.6; extra == "botdirectory"
|
|
41
|
+
Requires-Dist: multidict==6.0.5; extra == "botdirectory"
|
|
42
|
+
Requires-Dist: yarl==1.9.4; extra == "botdirectory"
|
|
43
|
+
Provides-Extra: databasehandler
|
|
44
|
+
Requires-Dist: aiosqlite>=0.19.0; extra == "databasehandler"
|
|
45
|
+
Requires-Dist: aiomysql>=0.2.0; extra == "databasehandler"
|
|
46
|
+
Requires-Dist: asyncpg>=0.29.0; extra == "databasehandler"
|
|
47
|
+
Requires-Dist: psycopg[binary,pool]>=3.1.0; extra == "databasehandler"
|
|
48
|
+
Requires-Dist: motor>=3.3.0; extra == "databasehandler"
|
|
49
|
+
Provides-Extra: googletrans
|
|
50
|
+
Requires-Dist: cachetools==5.3.3; extra == "googletrans"
|
|
51
|
+
Requires-Dist: certifi==2024.2.2; extra == "googletrans"
|
|
52
|
+
Requires-Dist: charset-normalizer==3.3.2; extra == "googletrans"
|
|
53
|
+
Requires-Dist: google-api-core==2.18.0; extra == "googletrans"
|
|
54
|
+
Requires-Dist: googleapis-common-protos==1.63.0; extra == "googletrans"
|
|
55
|
+
Requires-Dist: google-auth==2.29.0; extra == "googletrans"
|
|
56
|
+
Requires-Dist: google-cloud-core==2.4.1; extra == "googletrans"
|
|
57
|
+
Requires-Dist: google-cloud-translate==3.15.3; extra == "googletrans"
|
|
58
|
+
Requires-Dist: grpcio==1.62.1; extra == "googletrans"
|
|
59
|
+
Requires-Dist: grpcio-status==1.62.1; extra == "googletrans"
|
|
60
|
+
Requires-Dist: idna==3.6; extra == "googletrans"
|
|
61
|
+
Requires-Dist: protobuf==4.25.3; extra == "googletrans"
|
|
62
|
+
Requires-Dist: proto-plus==1.23.0; extra == "googletrans"
|
|
63
|
+
Requires-Dist: pyasn1_modules==0.4.0; extra == "googletrans"
|
|
64
|
+
Requires-Dist: pyasn1==0.6.0; extra == "googletrans"
|
|
65
|
+
Requires-Dist: requests==2.31.0; extra == "googletrans"
|
|
66
|
+
Requires-Dist: rsa==4.9; extra == "googletrans"
|
|
67
|
+
Requires-Dist: urllib3==2.2.1; extra == "googletrans"
|
|
68
|
+
Provides-Extra: invitetracker
|
|
69
|
+
Requires-Dist: aiohttp==3.9.3; extra == "invitetracker"
|
|
70
|
+
Requires-Dist: aiosignal==1.3.1; extra == "invitetracker"
|
|
71
|
+
Requires-Dist: attrs==23.2.0; extra == "invitetracker"
|
|
72
|
+
Requires-Dist: discord.py==2.3.2; extra == "invitetracker"
|
|
73
|
+
Requires-Dist: frozenlist==1.4.1; extra == "invitetracker"
|
|
74
|
+
Requires-Dist: idna==3.6; extra == "invitetracker"
|
|
75
|
+
Requires-Dist: multidict==6.0.5; extra == "invitetracker"
|
|
76
|
+
Requires-Dist: yarl==1.9.4; extra == "invitetracker"
|
|
77
|
+
Provides-Extra: killswitch
|
|
78
|
+
Requires-Dist: aiohttp==3.9.3; extra == "killswitch"
|
|
79
|
+
Requires-Dist: aiosignal==1.3.1; extra == "killswitch"
|
|
80
|
+
Requires-Dist: attrs==23.2.0; extra == "killswitch"
|
|
81
|
+
Requires-Dist: beautifulsoup4==4.12.3; extra == "killswitch"
|
|
82
|
+
Requires-Dist: frozenlist==1.4.1; extra == "killswitch"
|
|
83
|
+
Requires-Dist: html2text==2024.2.26; extra == "killswitch"
|
|
84
|
+
Requires-Dist: idna==3.6; extra == "killswitch"
|
|
85
|
+
Requires-Dist: multidict==6.0.5; extra == "killswitch"
|
|
86
|
+
Requires-Dist: soupsieve==2.5; extra == "killswitch"
|
|
87
|
+
Requires-Dist: yarl==1.9.4; extra == "killswitch"
|
|
88
|
+
Provides-Extra: libretrans
|
|
89
|
+
Requires-Dist: aiohttp; extra == "libretrans"
|
|
90
|
+
Provides-Extra: loghandler
|
|
91
|
+
Requires-Dist: colorama==0.4.6; extra == "loghandler"
|
|
92
|
+
Provides-Extra: patchnotes
|
|
93
|
+
Requires-Dist: aiohttp; extra == "patchnotes"
|
|
94
|
+
Requires-Dist: beautifulsoup4; extra == "patchnotes"
|
|
95
|
+
Requires-Dist: html2text; extra == "patchnotes"
|
|
96
|
+
Provides-Extra: privatevoice
|
|
97
|
+
Requires-Dist: discord.py; extra == "privatevoice"
|
|
98
|
+
Provides-Extra: randomusernames
|
|
99
|
+
Provides-Extra: statdock
|
|
100
|
+
Requires-Dist: discord.py; extra == "statdock"
|
|
101
|
+
Requires-Dist: pytz; extra == "statdock"
|
|
102
|
+
Provides-Extra: steam
|
|
103
|
+
Requires-Dist: aiohttp==3.9.3; extra == "steam"
|
|
104
|
+
Requires-Dist: aiosignal==1.3.1; extra == "steam"
|
|
105
|
+
Requires-Dist: attrs==23.2.0; extra == "steam"
|
|
106
|
+
Requires-Dist: frozenlist==1.4.1; extra == "steam"
|
|
107
|
+
Requires-Dist: idna==3.6; extra == "steam"
|
|
108
|
+
Requires-Dist: multidict==6.0.5; extra == "steam"
|
|
109
|
+
Requires-Dist: yarl==1.9.4; extra == "steam"
|
|
110
|
+
Provides-Extra: steamcharts
|
|
111
|
+
Requires-Dist: aiohttp==3.9.3; extra == "steamcharts"
|
|
112
|
+
Requires-Dist: aiosignal==1.3.1; extra == "steamcharts"
|
|
113
|
+
Requires-Dist: asyncio==3.4.3; extra == "steamcharts"
|
|
114
|
+
Requires-Dist: attrs==23.2.0; extra == "steamcharts"
|
|
115
|
+
Requires-Dist: beautifulsoup4==4.12.3; extra == "steamcharts"
|
|
116
|
+
Requires-Dist: frozenlist==1.4.1; extra == "steamcharts"
|
|
117
|
+
Requires-Dist: idna==3.6; extra == "steamcharts"
|
|
118
|
+
Requires-Dist: multidict==6.0.5; extra == "steamcharts"
|
|
119
|
+
Requires-Dist: soupsieve==2.5; extra == "steamcharts"
|
|
120
|
+
Requires-Dist: yarl==1.9.4; extra == "steamcharts"
|
|
121
|
+
Provides-Extra: twitch
|
|
122
|
+
Requires-Dist: aiohttp; extra == "twitch"
|
|
123
|
+
Requires-Dist: requests; extra == "twitch"
|
|
124
|
+
Provides-Extra: all
|
|
125
|
+
Requires-Dist: aiohttp; extra == "all"
|
|
126
|
+
Requires-Dist: aiohttp==3.9.3; extra == "all"
|
|
127
|
+
Requires-Dist: aiomysql>=0.2.0; extra == "all"
|
|
128
|
+
Requires-Dist: aiosignal==1.3.1; extra == "all"
|
|
129
|
+
Requires-Dist: aiosqlite>=0.19.0; extra == "all"
|
|
130
|
+
Requires-Dist: asyncio==3.4.3; extra == "all"
|
|
131
|
+
Requires-Dist: asyncpg>=0.29.0; extra == "all"
|
|
132
|
+
Requires-Dist: attrs==23.2.0; extra == "all"
|
|
133
|
+
Requires-Dist: beautifulsoup4; extra == "all"
|
|
134
|
+
Requires-Dist: beautifulsoup4==4.12.3; extra == "all"
|
|
135
|
+
Requires-Dist: cachetools==5.3.3; extra == "all"
|
|
136
|
+
Requires-Dist: certifi==2024.2.2; extra == "all"
|
|
137
|
+
Requires-Dist: charset-normalizer==3.3.2; extra == "all"
|
|
138
|
+
Requires-Dist: colorama==0.4.6; extra == "all"
|
|
139
|
+
Requires-Dist: discord.py; extra == "all"
|
|
140
|
+
Requires-Dist: discord.py==2.3.2; extra == "all"
|
|
141
|
+
Requires-Dist: frozenlist==1.4.1; extra == "all"
|
|
142
|
+
Requires-Dist: google-api-core==2.18.0; extra == "all"
|
|
143
|
+
Requires-Dist: google-auth==2.29.0; extra == "all"
|
|
144
|
+
Requires-Dist: google-cloud-core==2.4.1; extra == "all"
|
|
145
|
+
Requires-Dist: google-cloud-translate==3.15.3; extra == "all"
|
|
146
|
+
Requires-Dist: googleapis-common-protos==1.63.0; extra == "all"
|
|
147
|
+
Requires-Dist: grpcio-status==1.62.1; extra == "all"
|
|
148
|
+
Requires-Dist: grpcio==1.62.1; extra == "all"
|
|
149
|
+
Requires-Dist: html2text; extra == "all"
|
|
150
|
+
Requires-Dist: html2text==2024.2.26; extra == "all"
|
|
151
|
+
Requires-Dist: idna==3.6; extra == "all"
|
|
152
|
+
Requires-Dist: motor>=3.3.0; extra == "all"
|
|
153
|
+
Requires-Dist: multidict==6.0.5; extra == "all"
|
|
154
|
+
Requires-Dist: proto-plus==1.23.0; extra == "all"
|
|
155
|
+
Requires-Dist: protobuf==4.25.3; extra == "all"
|
|
156
|
+
Requires-Dist: psycopg[binary,pool]>=3.1.0; extra == "all"
|
|
157
|
+
Requires-Dist: pyasn1==0.6.0; extra == "all"
|
|
158
|
+
Requires-Dist: pyasn1_modules==0.4.0; extra == "all"
|
|
159
|
+
Requires-Dist: pytz; extra == "all"
|
|
160
|
+
Requires-Dist: requests; extra == "all"
|
|
161
|
+
Requires-Dist: requests==2.31.0; extra == "all"
|
|
162
|
+
Requires-Dist: rsa==4.9; extra == "all"
|
|
163
|
+
Requires-Dist: soupsieve==2.5; extra == "all"
|
|
164
|
+
Requires-Dist: urllib3==2.2.1; extra == "all"
|
|
165
|
+
Requires-Dist: yarl==1.9.4; extra == "all"
|
|
166
|
+
Dynamic: home-page
|
|
167
|
+
Dynamic: license-file
|
|
168
|
+
Dynamic: provides-extra
|
|
169
|
+
Dynamic: requires-python
|
|
170
|
+
|
|
171
|
+
# CustomModules
|
|
172
|
+
|
|
173
|
+
[](https://pypi.org/project/CustomModules/)
|
|
174
|
+
[](https://pypi.org/project/CustomModules/)
|
|
175
|
+
[](https://www.gnu.org/licenses/agpl-3.0)
|
|
176
|
+
[](https://github.com/Serpensin/CustomModules-Python/actions/workflows/test-build.yml)
|
|
177
|
+
[](https://pypi.org/project/CustomModules/)
|
|
178
|
+
[](https://github.com/psf/black)
|
|
179
|
+
|
|
180
|
+
A collection of custom Python modules for Discord bots and various utilities.
|
|
181
|
+
|
|
182
|
+
## Installation
|
|
183
|
+
|
|
184
|
+
Install the base package:
|
|
185
|
+
```bash
|
|
186
|
+
pip install CustomModules
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Install with specific module dependencies:
|
|
190
|
+
```bash
|
|
191
|
+
# Install with a specific module's dependencies
|
|
192
|
+
pip install CustomModules[StatDock]
|
|
193
|
+
pip install CustomModules[DatabaseHandler]
|
|
194
|
+
pip install CustomModules[LogHandler]
|
|
195
|
+
|
|
196
|
+
# Install multiple modules
|
|
197
|
+
pip install CustomModules[StatDock,DatabaseHandler,LogHandler]
|
|
198
|
+
|
|
199
|
+
# Install all modules with all dependencies
|
|
200
|
+
pip install CustomModules[all]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## Available Modules
|
|
204
|
+
|
|
205
|
+
- **AppTranslation** - Discord Application translation utilities
|
|
206
|
+
- **BitmapHandler** - Bitmap manipulation and handling
|
|
207
|
+
- **BotDirectory** - Bot directory management
|
|
208
|
+
- **DatabaseHandler** - Multi-database async handler (SQLite, MySQL, PostgreSQL, MongoDB)
|
|
209
|
+
- **Googletrans** - Google Translate integration
|
|
210
|
+
- **InviteTracker** - Discord invite tracking
|
|
211
|
+
- **Killswitch** - Dead by Daylight killswitch monitoring
|
|
212
|
+
- **Libretrans** - LibreTranslate integration
|
|
213
|
+
- **LogHandler** - Advanced logging with colored console output
|
|
214
|
+
- **Patchnotes** - Patch notes management for DeadByDaylight
|
|
215
|
+
- **PrivateVoice** - Private voice channel management
|
|
216
|
+
- **RandomUsernames** - Random username generation
|
|
217
|
+
- **StatDock** - Statistics tracking for Discord
|
|
218
|
+
- **Steam** - Steam API integration
|
|
219
|
+
- **SteamCharts** - Steam Charts data retrieval
|
|
220
|
+
- **Twitch** - Twitch API integration
|
|
221
|
+
|
|
222
|
+
## Usage
|
|
223
|
+
|
|
224
|
+
Import modules using dot notation:
|
|
225
|
+
```python
|
|
226
|
+
from CustomModules.bitmap_handler import BitmapHandler
|
|
227
|
+
from CustomModules.database_handler import DatabaseHandler
|
|
228
|
+
from CustomModules.log_handler import LogManager
|
|
229
|
+
from CustomModules.stat_dock import StatDock
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
## Requirements
|
|
233
|
+
|
|
234
|
+
- Python 3.10 or higher
|
|
235
|
+
- Additional dependencies are installed based on which modules you use (see extras_require)
|
|
236
|
+
|
|
237
|
+
## License
|
|
238
|
+
|
|
239
|
+
This project is licensed under the GNU Affero General Public License v3 (AGPL-3.0).
|
|
240
|
+
|
|
241
|
+
## Documentation
|
|
242
|
+
|
|
243
|
+
- **[INSTALLATION.md](INSTALLATION.md)** - Detailed installation guide for end users
|
|
244
|
+
- **[DEVELOPMENT.md](DEVELOPMENT.md)** - Guide for developers and contributors
|
|
245
|
+
- **[TROUBLESHOOTING.md](TROUBLESHOOTING.md)** - Common issues and solutions
|
|
246
|
+
|
|
247
|
+
## Contributing
|
|
248
|
+
|
|
249
|
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
250
|
+
|
|
251
|
+
## Support
|
|
252
|
+
|
|
253
|
+
For issues and questions, please use the [GitHub Issues](https://github.com/Serpensin/CustomModules-Python/issues) page.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
LICENSE.txt
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
setup.cfg
|
|
6
|
+
setup.py
|
|
7
|
+
AppTranslation/requirements.txt
|
|
8
|
+
BotDirectory/requirements.txt
|
|
9
|
+
CustomModules/__init__.py
|
|
10
|
+
CustomModules/app_translation.py
|
|
11
|
+
CustomModules/bitmap_handler.py
|
|
12
|
+
CustomModules/bot_directory.py
|
|
13
|
+
CustomModules/database_handler.py
|
|
14
|
+
CustomModules/googletrans.py
|
|
15
|
+
CustomModules/invite_tracker.py
|
|
16
|
+
CustomModules/killswitch.py
|
|
17
|
+
CustomModules/libretrans.py
|
|
18
|
+
CustomModules/log_handler.py
|
|
19
|
+
CustomModules/patchnotes.py
|
|
20
|
+
CustomModules/private_voice.py
|
|
21
|
+
CustomModules/random_usernames.py
|
|
22
|
+
CustomModules/stat_dock.py
|
|
23
|
+
CustomModules/steam.py
|
|
24
|
+
CustomModules/steam_charts.py
|
|
25
|
+
CustomModules/twitch.py
|
|
26
|
+
CustomModules.egg-info/PKG-INFO
|
|
27
|
+
CustomModules.egg-info/SOURCES.txt
|
|
28
|
+
CustomModules.egg-info/dependency_links.txt
|
|
29
|
+
CustomModules.egg-info/not-zip-safe
|
|
30
|
+
CustomModules.egg-info/requires.txt
|
|
31
|
+
CustomModules.egg-info/top_level.txt
|
|
32
|
+
DatabaseHandler/requirements.txt
|
|
33
|
+
Googletrans/requirements.txt
|
|
34
|
+
InviteTracker/requirements.txt
|
|
35
|
+
Killswitch/requirements.txt
|
|
36
|
+
Libretrans/requirements.txt
|
|
37
|
+
LogHandler/requirements.txt
|
|
38
|
+
Patchnotes/requirements.txt
|
|
39
|
+
PrivateVoice/requirements.txt
|
|
40
|
+
RandomUsernames/requirements.txt
|
|
41
|
+
StatDock/requirements.txt
|
|
42
|
+
Steam/requirements.txt
|
|
43
|
+
SteamCharts/requirements.txt
|
|
44
|
+
Twitch/requirements.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|