redditadmin 0.0.4__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.
Files changed (34) hide show
  1. redditadmin-0.0.4/.gitignore +157 -0
  2. redditadmin-0.0.4/.idea/.gitignore +8 -0
  3. redditadmin-0.0.4/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  4. redditadmin-0.0.4/.idea/misc.xml +7 -0
  5. redditadmin-0.0.4/.idea/modules.xml +8 -0
  6. redditadmin-0.0.4/.idea/reddit-admin.iml +8 -0
  7. redditadmin-0.0.4/.idea/vcs.xml +6 -0
  8. redditadmin-0.0.4/.idea/workspace.xml +184 -0
  9. redditadmin-0.0.4/.prettierrc +5 -0
  10. redditadmin-0.0.4/.vscode/settings.json +4 -0
  11. redditadmin-0.0.4/LICENSE +21 -0
  12. redditadmin-0.0.4/PKG-INFO +15 -0
  13. redditadmin-0.0.4/README.md +1 -0
  14. redditadmin-0.0.4/praw.ini +26 -0
  15. redditadmin-0.0.4/pyproject.toml +23 -0
  16. redditadmin-0.0.4/src/__init__.py +1 -0
  17. redditadmin-0.0.4/src/redditadmin/__init__.py +4 -0
  18. redditadmin-0.0.4/src/redditadmin/core.py +440 -0
  19. redditadmin-0.0.4/src/redditadmin/plugin/__init__.py +3 -0
  20. redditadmin-0.0.4/src/redditadmin/plugin/asynchronouspluginsexecutor.py +203 -0
  21. redditadmin-0.0.4/src/redditadmin/plugin/exceptions.py +11 -0
  22. redditadmin-0.0.4/src/redditadmin/plugin/plugin.py +62 -0
  23. redditadmin-0.0.4/src/redditadmin/plugin/pluginsexecutor.py +54 -0
  24. redditadmin-0.0.4/src/redditadmin/plugin/redditinterfacefactory.py +49 -0
  25. redditadmin-0.0.4/src/redditadmin/program/__init__.py +3 -0
  26. redditadmin-0.0.4/src/redditadmin/program/program.py +45 -0
  27. redditadmin-0.0.4/src/redditadmin/program/streamprocessingprogram.py +139 -0
  28. redditadmin-0.0.4/src/redditadmin/utility/__init__.py +5 -0
  29. redditadmin-0.0.4/src/redditadmin/utility/botcredentials.py +63 -0
  30. redditadmin-0.0.4/src/redditadmin/utility/contributionsutility.py +64 -0
  31. redditadmin-0.0.4/src/redditadmin/utility/decorators.py +50 -0
  32. redditadmin-0.0.4/src/redditadmin/utility/exceptions.py +28 -0
  33. redditadmin-0.0.4/src/redditadmin/utility/redditinterface.py +19 -0
  34. redditadmin-0.0.4/src/redditadmin/utility/redditsubmission.py +36 -0
@@ -0,0 +1,157 @@
1
+ # root
2
+ # --------------------------------------------------------------
3
+
4
+ /botextensions
5
+
6
+ # dump files
7
+ *.dump
8
+ *.dump.[0-9]
9
+
10
+ # nohup output files
11
+ *.out
12
+
13
+ test.py
14
+ test.ini
15
+
16
+ # Universal
17
+ # --------------------------------------------------------------
18
+
19
+ # Byte-compiled / optimized / DLL files
20
+ __pycache__/
21
+ *.py[cod]
22
+ *$py.class
23
+
24
+ # C extensions
25
+ *.so
26
+
27
+ # Distribution / packaging
28
+ .Python
29
+ build/
30
+ develop-eggs/
31
+ dist/
32
+ downloads/
33
+ eggs/
34
+ .eggs/
35
+ lib/
36
+ lib64/
37
+ parts/
38
+ sdist/
39
+ var/
40
+ wheels/
41
+ share/python-wheels/
42
+ *.egg-info/
43
+ .installed.cfg
44
+ *.egg
45
+ MANIFEST
46
+
47
+ # PyInstaller
48
+ # Usually these files are written by a python script from a template
49
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
50
+ *.manifest
51
+ *.spec
52
+
53
+ # Installer logs
54
+ pip-log.txt
55
+ pip-delete-this-directory.txt
56
+
57
+ # Unit test / coverage reports
58
+ htmlcov/
59
+ .tox/
60
+ .nox/
61
+ .coverage
62
+ .coverage.*
63
+ .cache
64
+ nosetests.xml
65
+ coverage.xml
66
+ *.cover
67
+ *.py,cover
68
+ .hypothesis/
69
+ .pytest_cache/
70
+ cover/
71
+
72
+ # Translations
73
+ *.mo
74
+ *.pot
75
+
76
+ # Django stuff:
77
+ *.log
78
+ local_settings.py
79
+ db.sqlite3
80
+ db.sqlite3-journal
81
+
82
+ # Flask stuff:
83
+ instance/
84
+ .webassets-cache
85
+
86
+ # Scrapy stuff:
87
+ .scrapy
88
+
89
+ # Sphinx documentation
90
+ docs/_build/
91
+
92
+ # PyBuilder
93
+ .pybuilder/
94
+ target/
95
+
96
+ # Jupyter Notebook
97
+ .ipynb_checkpoints
98
+
99
+ # IPython
100
+ profile_default/
101
+ ipython_config.py
102
+
103
+ # pyenv
104
+ # For a library or package, you might want to ignore these files since the code is
105
+ # intended to run in multiple environments; otherwise, check them in:
106
+ # .python-version
107
+
108
+ # pipenv
109
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
110
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
111
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
112
+ # install all needed dependencies.
113
+ #Pipfile.lock
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+ /.metadata/
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Python 3.11 (reddit-admin)" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (reddit-admin)" project-jdk-type="Python SDK" />
7
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/reddit-admin.iml" filepath="$PROJECT_DIR$/.idea/reddit-admin.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="jdk" jdkName="Python 3.11 (reddit-admin)" jdkType="Python SDK" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,184 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AutoImportSettings">
4
+ <option name="autoReloadType" value="SELECTIVE" />
5
+ </component>
6
+ <component name="ChangeListManager">
7
+ <list default="true" id="195f63d3-192c-4e64-8cd8-909be23b7f21" name="Changes" comment="">
8
+ <change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/.idea/reddit-admin.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/reddit-admin.iml" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" />
11
+ <change beforePath="$PROJECT_DIR$/Procfile" beforeDir="false" />
12
+ <change beforePath="$PROJECT_DIR$/RedditAdmin.py" beforeDir="false" />
13
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/__init__.py" beforeDir="false" />
14
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/ContributionsUtility.py" beforeDir="false" />
15
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/Decorators.py" beforeDir="false" />
16
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/RedditInterface.py" beforeDir="false" />
17
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/Submission.py" beforeDir="false" />
18
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/__init__.py" beforeDir="false" />
19
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/botcredentials/BotCredentials.py" beforeDir="false" />
20
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/botcredentials/InvalidBotCredentialsError.py" beforeDir="false" />
21
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/botcredentials/__init__.py" beforeDir="false" />
22
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/exceptions/BotInitializationError.py" beforeDir="false" />
23
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/exceptions/InitializationError.py" beforeDir="false" />
24
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/general/exceptions/__init__.py" beforeDir="false" />
25
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/Program.py" beforeDir="false" />
26
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/RecurringProgram.py" beforeDir="false" />
27
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/__init__.py" beforeDir="false" />
28
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/CommentStreamFactory.py" beforeDir="false" />
29
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/CustomStreamFactory.py" beforeDir="false" />
30
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/StreamFactory.py" beforeDir="false" />
31
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/StreamProcessingProgram.py" beforeDir="false" />
32
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/SubmissionStreamFactory.py" beforeDir="false" />
33
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/program/streamprocessingprogram/__init__.py" beforeDir="false" />
34
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/AsynchronousProgramsExecutor.py" beforeDir="false" />
35
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/ProgramsExecutor.py" beforeDir="false" />
36
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/__init__.py" beforeDir="false" />
37
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/exceptions/ProgramsExecutorInitializationError.py" beforeDir="false" />
38
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/exceptions/__init__.py" beforeDir="false" />
39
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/programsexecutortools/RedditInterfaceFactory.py" beforeDir="false" />
40
+ <change beforePath="$PROJECT_DIR$/botapplicationtools/programsexecutor/programsexecutortools/__init__.py" beforeDir="false" />
41
+ <change beforePath="$PROJECT_DIR$/plugins/ProgramFactory.py" beforeDir="false" />
42
+ <change beforePath="$PROJECT_DIR$/plugins/ProgramFactoryInitializationError.py" beforeDir="false" />
43
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/AdminUpdaterFactory.py" beforeDir="false" />
44
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/AdminUpdate.py" beforeDir="false" />
45
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/AdminUpdateDAO.py" beforeDir="false" />
46
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/AdminUpdater.py" beforeDir="false" />
47
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/FormattingTools.py" beforeDir="false" />
48
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/RedditTools.py" beforeDir="false" />
49
+ <change beforePath="$PROJECT_DIR$/plugins/adminupdater/tools/__init__.py" beforeDir="false" />
50
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/MessageCommandProcessorFactory.py" beforeDir="false" />
51
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/MessageCommandProcessor.py" beforeDir="false" />
52
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/__init__.py" beforeDir="false" />
53
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/commandprocessors/CommandProcessor.py" beforeDir="false" />
54
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/commandprocessors/__init__.py" beforeDir="false" />
55
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/CommandProcessorFactory.py" beforeDir="false" />
56
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/Decorators.py" beforeDir="false" />
57
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/__init__.py" beforeDir="false" />
58
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/testfeaturetools/FeatureTester.py" beforeDir="false" />
59
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/testfeaturetools/FeatureTesterDAO.py" beforeDir="false" />
60
+ <change beforePath="$PROJECT_DIR$/plugins/messagecommandprocessor/tools/messagecommandprocessortools/testfeaturetools/__init__.py" beforeDir="false" />
61
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/ScheduledCrossposterFactory.py" beforeDir="false" />
62
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/CompletedCrosspostDAO.py" beforeDir="false" />
63
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/ScheduledCrosspost.py" beforeDir="false" />
64
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/ScheduledCrosspostDAO.py" beforeDir="false" />
65
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/ScheduledCrossposter.py" beforeDir="false" />
66
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/ScheduledCrossposterStorage.py" beforeDir="false" />
67
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledcrossposter/tools/__init__.py" beforeDir="false" />
68
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/ScheduledPosterFactory.py" beforeDir="false" />
69
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/CompletedSubmissionDAO.py" beforeDir="false" />
70
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/ScheduledPoster.py" beforeDir="false" />
71
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/ScheduledPosterStorage.py" beforeDir="false" />
72
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/ScheduledSubmission.py" beforeDir="false" />
73
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/ScheduledSubmissionDAO.py" beforeDir="false" />
74
+ <change beforePath="$PROJECT_DIR$/plugins/scheduledposter/tools/__init__.py" beforeDir="false" />
75
+ <change beforePath="$PROJECT_DIR$/requirements.txt" beforeDir="false" />
76
+ <change beforePath="$PROJECT_DIR$/resources/.gitignore" beforeDir="false" />
77
+ <change beforePath="$PROJECT_DIR$/resources/plugins.ini" beforeDir="false" />
78
+ </list>
79
+ <option name="SHOW_DIALOG" value="false" />
80
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
81
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
82
+ <option name="LAST_RESOLUTION" value="IGNORE" />
83
+ </component>
84
+ <component name="FileTemplateManagerImpl">
85
+ <option name="RECENT_TEMPLATES">
86
+ <list>
87
+ <option value="Python Script" />
88
+ </list>
89
+ </option>
90
+ </component>
91
+ <component name="Git.Settings">
92
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
93
+ </component>
94
+ <component name="MarkdownSettingsMigration">
95
+ <option name="stateVersion" value="1" />
96
+ </component>
97
+ <component name="ProjectId" id="32p8OlMlwQ8WROlkny3tCkSz7AU" />
98
+ <component name="ProjectLevelVcsManager">
99
+ <ConfirmationsSetting value="1" id="Add" />
100
+ </component>
101
+ <component name="ProjectViewState">
102
+ <option name="hideEmptyMiddlePackages" value="true" />
103
+ <option name="showLibraryContents" value="true" />
104
+ </component>
105
+ <component name="PropertiesComponent">
106
+ <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
107
+ <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
108
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/src/redditadmin/core/_redditadminimplementation.py" />
109
+ <property name="settings.editor.selected.configurable" value="preferences.keymap" />
110
+ </component>
111
+ <component name="RecentsManager">
112
+ <key name="MoveFile.RECENT_KEYS">
113
+ <recent name="C:\Users\IT DIR\Documents\sys\Software Projects\reddit-admin\src\redditadmin" />
114
+ <recent name="C:\Users\IT DIR\Documents\sys\Software Projects\reddit-admin\src\redditadmin\plugin" />
115
+ <recent name="C:\Users\IT DIR\Documents\sys\Software Projects\reddit-admin\src\redditadmin\pluginsexecutor" />
116
+ <recent name="C:\Users\IT DIR\Documents\sys\Software Projects\reddit-admin\src\redditadmin\core" />
117
+ <recent name="C:\Users\IT DIR\Documents\sys\Software Projects\reddit-admin\src\redditadmin\main" />
118
+ </key>
119
+ </component>
120
+ <component name="RunManager">
121
+ <configuration name="test" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
122
+ <module name="reddit-admin" />
123
+ <option name="INTERPRETER_OPTIONS" value="" />
124
+ <option name="PARENT_ENVS" value="true" />
125
+ <envs>
126
+ <env name="PYTHONUNBUFFERED" value="1" />
127
+ </envs>
128
+ <option name="SDK_HOME" value="" />
129
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
130
+ <option name="IS_MODULE_SDK" value="true" />
131
+ <option name="ADD_CONTENT_ROOTS" value="true" />
132
+ <option name="ADD_SOURCE_ROOTS" value="true" />
133
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/test.py" />
134
+ <option name="PARAMETERS" value="" />
135
+ <option name="SHOW_COMMAND_LINE" value="false" />
136
+ <option name="EMULATE_TERMINAL" value="false" />
137
+ <option name="MODULE_MODE" value="false" />
138
+ <option name="REDIRECT_INPUT" value="false" />
139
+ <option name="INPUT_FILE" value="" />
140
+ <method v="2" />
141
+ </configuration>
142
+ <recent_temporary>
143
+ <list>
144
+ <item itemvalue="Python.test" />
145
+ </list>
146
+ </recent_temporary>
147
+ </component>
148
+ <component name="SharedIndexes">
149
+ <attachedChunks>
150
+ <set>
151
+ <option value="bundled-js-predefined-d6986cc7102b-b598e85cdad2-JavaScript-PY-252.25557.178" />
152
+ <option value="bundled-python-sdk-ce6832f46686-7b97d883f26b-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-252.25557.178" />
153
+ </set>
154
+ </attachedChunks>
155
+ </component>
156
+ <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
157
+ <component name="TaskManager">
158
+ <task active="true" id="Default" summary="Default task">
159
+ <changelist id="195f63d3-192c-4e64-8cd8-909be23b7f21" name="Changes" comment="" />
160
+ <created>1758106143570</created>
161
+ <option name="number" value="Default" />
162
+ <option name="presentableId" value="Default" />
163
+ <updated>1758106143570</updated>
164
+ <workItem from="1758106901905" duration="242000" />
165
+ <workItem from="1758116790749" duration="4796000" />
166
+ <workItem from="1758191562568" duration="1286000" />
167
+ </task>
168
+ <servers />
169
+ </component>
170
+ <component name="TypeScriptGeneratedFilesManager">
171
+ <option name="version" value="3" />
172
+ </component>
173
+ <component name="Vcs.Log.Tabs.Properties">
174
+ <option name="TAB_STATES">
175
+ <map>
176
+ <entry key="MAIN">
177
+ <value>
178
+ <State />
179
+ </value>
180
+ </entry>
181
+ </map>
182
+ </option>
183
+ </component>
184
+ </project>
@@ -0,0 +1,5 @@
1
+ {
2
+ "useTabs": true,
3
+ "tabWidth": 4,
4
+ "arrowParens": "avoid"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ // Automatically update the language server.
3
+ "python.autoUpdateLanguageServer": true,
4
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Garikai Gumbo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: redditadmin
3
+ Version: 0.0.4
4
+ Summary: Extensible Python administrative bot
5
+ Project-URL: Homepage, https://github.com/Grod56/reddit-admin
6
+ Project-URL: Issues, https://github.com/Grod56/reddit-admin/issues
7
+ Author-email: Grod56 <providenceuniversalstudios@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.9
13
+ Description-Content-Type: text/markdown
14
+
15
+ Extensible Reddit admin bot
@@ -0,0 +1 @@
1
+ Extensible Reddit admin bot
@@ -0,0 +1,26 @@
1
+ [DEFAULT]
2
+ # A boolean to indicate whether or not to check for package updates.
3
+ check_for_updates=True
4
+
5
+ # Object to kind mappings
6
+ comment_kind=t1
7
+ message_kind=t4
8
+ redditor_kind=t2
9
+ submission_kind=t3
10
+ subreddit_kind=t5
11
+ trophy_kind=t6
12
+
13
+ # The URL prefix for OAuth-related requests.
14
+ oauth_url=https://oauth.reddit.com
15
+
16
+ # The amount of seconds of ratelimit to sleep for upon encountering a specific type of 429 error.
17
+ ratelimit_seconds=5
18
+
19
+ # The URL prefix for regular requests.
20
+ reddit_url=https://www.reddit.com
21
+
22
+ # The URL prefix for short URLs.
23
+ short_url=https://redd.it
24
+
25
+ # The timeout for requests to Reddit in number of seconds
26
+ timeout=16
@@ -0,0 +1,23 @@
1
+ [build-system]
2
+ requires = ["hatchling >= 1.26", "praw" , "prawcore"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "redditadmin"
7
+ version = "0.0.4"
8
+ authors = [
9
+ { name="Grod56", email="providenceuniversalstudios@gmail.com" },
10
+ ]
11
+ description = "Extensible Python administrative bot"
12
+ readme = "README.md"
13
+ requires-python = ">=3.9"
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Operating System :: OS Independent",
17
+ ]
18
+ license = "MIT"
19
+ license-files = ["LICEN[CS]E*"]
20
+
21
+ [project.urls]
22
+ Homepage = "https://github.com/Grod56/reddit-admin"
23
+ Issues = "https://github.com/Grod56/reddit-admin/issues"
@@ -0,0 +1 @@
1
+ from .redditadmin import *
@@ -0,0 +1,4 @@
1
+ from .core import RedditAdmin, get_reddit_admin
2
+ from .program import *
3
+ from .plugin import *
4
+ from .utility import *