CustomModules 1.0.0__tar.gz → 1.0.2__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 → custommodules-1.0.2}/CustomModules/__init__.py +1 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/app_translation.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/bitmap_handler.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/bot_directory.py +3 -1
- custommodules-1.0.2/CustomModules/database_handler.py +28 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/googletrans.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/invite_tracker.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/killswitch.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/libretrans.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/log_handler.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/patchnotes.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/private_voice.py +3 -1
- custommodules-1.0.2/CustomModules/py.typed +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/random_usernames.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/stat_dock.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/steam.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/steam_charts.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules/twitch.py +3 -1
- {custommodules-1.0.0 → custommodules-1.0.2/CustomModules.egg-info}/PKG-INFO +3 -4
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules.egg-info/SOURCES.txt +1 -0
- {custommodules-1.0.0/CustomModules.egg-info → custommodules-1.0.2}/PKG-INFO +3 -4
- {custommodules-1.0.0 → custommodules-1.0.2}/pyproject.toml +3 -6
- {custommodules-1.0.0 → custommodules-1.0.2}/setup.py +3 -1
- custommodules-1.0.0/CustomModules/database_handler.py +0 -10
- {custommodules-1.0.0 → custommodules-1.0.2}/AppTranslation/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/BotDirectory/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules.egg-info/dependency_links.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules.egg-info/not-zip-safe +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules.egg-info/requires.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/CustomModules.egg-info/top_level.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/DatabaseHandler/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Googletrans/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/InviteTracker/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Killswitch/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/LICENSE.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Libretrans/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/LogHandler/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/MANIFEST.in +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Patchnotes/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/PrivateVoice/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/README.md +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/RandomUsernames/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/StatDock/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Steam/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/SteamCharts/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/Twitch/requirements.txt +0 -0
- {custommodules-1.0.0 → custommodules-1.0.2}/setup.cfg +0 -0
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from AppTranslation.AppTranslation import
|
|
10
|
+
from AppTranslation.AppTranslation import Translator
|
|
11
|
+
|
|
12
|
+
__all__ = ['Translator']
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from BitmapHandler.BitmapHandler import
|
|
10
|
+
from BitmapHandler.BitmapHandler import BitmapHandler
|
|
11
|
+
|
|
12
|
+
__all__ = ['BitmapHandler']
|
|
@@ -0,0 +1,28 @@
|
|
|
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 (
|
|
11
|
+
BaseDatabaseBackend,
|
|
12
|
+
SQLiteBackend,
|
|
13
|
+
MySQLBackend,
|
|
14
|
+
PostgreSQLBackend,
|
|
15
|
+
MongoDBBackend,
|
|
16
|
+
AsyncDatabaseHandler,
|
|
17
|
+
SyncDatabaseHandler
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
'BaseDatabaseBackend',
|
|
22
|
+
'SQLiteBackend',
|
|
23
|
+
'MySQLBackend',
|
|
24
|
+
'PostgreSQLBackend',
|
|
25
|
+
'MongoDBBackend',
|
|
26
|
+
'AsyncDatabaseHandler',
|
|
27
|
+
'SyncDatabaseHandler'
|
|
28
|
+
]
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from Patchnotes.Patchnotes import
|
|
10
|
+
from Patchnotes.Patchnotes import get_update_content
|
|
11
|
+
|
|
12
|
+
__all__ = ['get_update_content']
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from PrivateVoice.PrivateVoice import
|
|
10
|
+
from PrivateVoice.PrivateVoice import setup, add_listener, start_garbage_collector
|
|
11
|
+
|
|
12
|
+
__all__ = ['setup', 'add_listener', 'start_garbage_collector']
|
|
File without changes
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from RandomUsernames.RandomUsernames import
|
|
10
|
+
from RandomUsernames.RandomUsernames import generate_username
|
|
11
|
+
|
|
12
|
+
__all__ = ['generate_username']
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from StatDock.StatDock import
|
|
10
|
+
from StatDock.StatDock import setup, task, timezone_autocomplete
|
|
11
|
+
|
|
12
|
+
__all__ = ['setup', 'task', 'timezone_autocomplete']
|
|
@@ -7,4 +7,6 @@ _parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
7
7
|
if _parent_dir not in sys.path:
|
|
8
8
|
sys.path.insert(0, _parent_dir)
|
|
9
9
|
|
|
10
|
-
from Steam.Steam import
|
|
10
|
+
from Steam.Steam import Errors, API, GetFreePromotions
|
|
11
|
+
|
|
12
|
+
__all__ = ['Errors', 'API', 'GetFreePromotions']
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CustomModules
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A collection of custom Python modules for Discord bots and utilities
|
|
5
5
|
Home-page: https://github.com/Serpensin/CustomModules-Python
|
|
6
6
|
Author: Serpensin
|
|
7
|
-
License: AGPL-3.0-or-later
|
|
7
|
+
License-Expression: AGPL-3.0-or-later
|
|
8
8
|
Project-URL: Homepage, https://github.com/Serpensin/CustomModules-Python
|
|
9
9
|
Project-URL: Bug Reports, https://github.com/Serpensin/CustomModules-Python/issues
|
|
10
10
|
Project-URL: Source, https://github.com/Serpensin/CustomModules-Python
|
|
11
11
|
Keywords: discord,bot,utilities,modules,custom
|
|
12
|
-
Classifier: Development Status ::
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
14
|
Classifier: Operating System :: OS Independent
|
|
16
15
|
Classifier: Programming Language :: Python :: 3
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CustomModules
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A collection of custom Python modules for Discord bots and utilities
|
|
5
5
|
Home-page: https://github.com/Serpensin/CustomModules-Python
|
|
6
6
|
Author: Serpensin
|
|
7
|
-
License: AGPL-3.0-or-later
|
|
7
|
+
License-Expression: AGPL-3.0-or-later
|
|
8
8
|
Project-URL: Homepage, https://github.com/Serpensin/CustomModules-Python
|
|
9
9
|
Project-URL: Bug Reports, https://github.com/Serpensin/CustomModules-Python/issues
|
|
10
10
|
Project-URL: Source, https://github.com/Serpensin/CustomModules-Python
|
|
11
11
|
Keywords: discord,bot,utilities,modules,custom
|
|
12
|
-
Classifier: Development Status ::
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
14
|
Classifier: Operating System :: OS Independent
|
|
16
15
|
Classifier: Programming Language :: Python :: 3
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -4,17 +4,17 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "CustomModules"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{name = "Serpensin"},
|
|
10
10
|
]
|
|
11
11
|
description = "A collection of custom Python modules for Discord bots and utilities"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.10"
|
|
14
|
+
license = "AGPL-3.0-or-later"
|
|
14
15
|
classifiers = [
|
|
15
|
-
"Development Status ::
|
|
16
|
+
"Development Status :: 5 - Production/Stable",
|
|
16
17
|
"Intended Audience :: Developers",
|
|
17
|
-
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
18
18
|
"Operating System :: OS Independent",
|
|
19
19
|
"Programming Language :: Python :: 3",
|
|
20
20
|
"Programming Language :: Python :: 3.10",
|
|
@@ -26,9 +26,6 @@ classifiers = [
|
|
|
26
26
|
keywords = ["discord", "bot", "utilities", "modules", "custom"]
|
|
27
27
|
dynamic = ["optional-dependencies"]
|
|
28
28
|
|
|
29
|
-
[project.license]
|
|
30
|
-
text = "AGPL-3.0-or-later"
|
|
31
|
-
|
|
32
29
|
[project.urls]
|
|
33
30
|
Homepage = "https://github.com/Serpensin/CustomModules-Python"
|
|
34
31
|
"Bug Reports" = "https://github.com/Serpensin/CustomModules-Python/issues"
|
|
@@ -52,13 +52,15 @@ extras_require['all'] = sorted(all_deps)
|
|
|
52
52
|
|
|
53
53
|
setup(
|
|
54
54
|
name='CustomModules',
|
|
55
|
-
version='1.0.
|
|
55
|
+
version='1.0.2',
|
|
56
56
|
author='Serpensin',
|
|
57
57
|
description='A collection of custom Python modules for Discord bots and utilities',
|
|
58
58
|
long_description=read_file('README.md'),
|
|
59
59
|
long_description_content_type='text/markdown',
|
|
60
60
|
url='https://github.com/Serpensin/CustomModules-Python',
|
|
61
61
|
packages=find_packages(exclude=['tests', '*.tests', '*.tests.*', 'tests.*']),
|
|
62
|
+
package_data={'CustomModules': ['py.typed']},
|
|
63
|
+
include_package_data=True,
|
|
62
64
|
classifiers=[
|
|
63
65
|
'Development Status :: 5 - Production/Stable',
|
|
64
66
|
'Intended Audience :: Developers',
|
|
@@ -1,10 +0,0 @@
|
|
|
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 *
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|