trainerbase 2.13.1__tar.gz → 2.13.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.
- trainerbase-2.13.2/PKG-INFO +42 -0
- trainerbase-2.13.2/README.rst +22 -0
- trainerbase-2.13.2/pyproject.toml +42 -0
- trainerbase-2.13.1/PKG-INFO +0 -27
- trainerbase-2.13.1/README.md +0 -12
- trainerbase-2.13.1/pyproject.toml +0 -50
- trainerbase-2.13.1/trainerbase/template/src/__init__.py +0 -0
- trainerbase-2.13.1/trainerbase/template/src/gui.py +0 -23
- trainerbase-2.13.1/trainerbase/template/src/injections.py +0 -4
- trainerbase-2.13.1/trainerbase/template/src/main.py +0 -25
- trainerbase-2.13.1/trainerbase/template/src/memory.py +0 -2
- trainerbase-2.13.1/trainerbase/template/src/objects.py +0 -4
- trainerbase-2.13.1/trainerbase/template/src/scripts.py +0 -10
- trainerbase-2.13.1/trainerbase/template/trainerbase.toml +0 -4
- trainerbase-2.13.1/trainerbase/use_trainer_template.py +0 -5
- {trainerbase-2.13.1 → trainerbase-2.13.2}/LICENSE +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/fasm/FASM.EXE +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/__init__.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/codeinjection.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/common.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/config.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/gameobject.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/gui.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/memory.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/scriptengine.py +0 -0
- {trainerbase-2.13.1 → trainerbase-2.13.2}/trainerbase/tts.py +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: TrainerBase
|
|
3
|
+
Version: 2.13.2
|
|
4
|
+
Summary: Framework for creating game trainers/mods
|
|
5
|
+
Home-page: https://gitlab.com/python-trainers/trainer-base
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: v01d
|
|
8
|
+
Author-email: v01d@v01d.ru
|
|
9
|
+
Requires-Python: >=3.11,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Requires-Dist: dearpygui (>=1.9.1,<2.0.0)
|
|
14
|
+
Requires-Dist: keyboard (>=0.13.5,<0.14.0)
|
|
15
|
+
Requires-Dist: pymem (>=1.13.0,<2.0.0)
|
|
16
|
+
Requires-Dist: pyttsx3 (>=2.90,<3.0)
|
|
17
|
+
Project-URL: Repository, https://gitlab.com/python-trainers/trainer-base
|
|
18
|
+
Description-Content-Type: text/x-rst
|
|
19
|
+
|
|
20
|
+
Trainer Base
|
|
21
|
+
============
|
|
22
|
+
|
|
23
|
+
.. image:: https://badge.fury.io/py/TrainerBase.svg
|
|
24
|
+
:target: https://badge.fury.io/py/TrainerBase
|
|
25
|
+
:alt: PyPI version
|
|
26
|
+
|
|
27
|
+
.. image:: https://static.pepy.tech/badge/trainerbase
|
|
28
|
+
:target: https://pepy.tech/project/trainerbase
|
|
29
|
+
:alt: Downloads
|
|
30
|
+
|
|
31
|
+
To create project from template using cookiecutter
|
|
32
|
+
--------------------------------------------------
|
|
33
|
+
|
|
34
|
+
.. code-block:: bash
|
|
35
|
+
|
|
36
|
+
cookiecutter https://gitlab.com/v01d-gl/basic-project-template.git --checkout trainerbase
|
|
37
|
+
|
|
38
|
+
Examples
|
|
39
|
+
--------
|
|
40
|
+
|
|
41
|
+
`Python Trainers <https://gitlab.com/python-trainers>`__
|
|
42
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Trainer Base
|
|
2
|
+
============
|
|
3
|
+
|
|
4
|
+
.. image:: https://badge.fury.io/py/TrainerBase.svg
|
|
5
|
+
:target: https://badge.fury.io/py/TrainerBase
|
|
6
|
+
:alt: PyPI version
|
|
7
|
+
|
|
8
|
+
.. image:: https://static.pepy.tech/badge/trainerbase
|
|
9
|
+
:target: https://pepy.tech/project/trainerbase
|
|
10
|
+
:alt: Downloads
|
|
11
|
+
|
|
12
|
+
To create project from template using cookiecutter
|
|
13
|
+
--------------------------------------------------
|
|
14
|
+
|
|
15
|
+
.. code-block:: bash
|
|
16
|
+
|
|
17
|
+
cookiecutter https://gitlab.com/v01d-gl/basic-project-template.git --checkout trainerbase
|
|
18
|
+
|
|
19
|
+
Examples
|
|
20
|
+
--------
|
|
21
|
+
|
|
22
|
+
`Python Trainers <https://gitlab.com/python-trainers>`__
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "TrainerBase"
|
|
3
|
+
version = "2.13.2"
|
|
4
|
+
description = "Framework for creating game trainers/mods"
|
|
5
|
+
authors = ["v01d <v01d@v01d.ru>", "doomayka <zd@doomayka.ru>"]
|
|
6
|
+
license = "MIT"
|
|
7
|
+
readme = "README.rst"
|
|
8
|
+
homepage = "https://gitlab.com/python-trainers/trainer-base"
|
|
9
|
+
repository = "https://gitlab.com/python-trainers/trainer-base"
|
|
10
|
+
|
|
11
|
+
packages = [
|
|
12
|
+
{ include = "trainerbase/" },
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
include = [
|
|
16
|
+
{ path = "fasm/", format = ["sdist", "wheel"] },
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[tool.black]
|
|
20
|
+
target-version = ["py311"]
|
|
21
|
+
line-length = 120
|
|
22
|
+
|
|
23
|
+
[tool.isort]
|
|
24
|
+
lines_after_imports = 2
|
|
25
|
+
skip = "trainerbase/template/"
|
|
26
|
+
|
|
27
|
+
[tool.poetry.dependencies]
|
|
28
|
+
python = "^3.11"
|
|
29
|
+
pymem = "^1.13.0"
|
|
30
|
+
dearpygui = "^1.9.1"
|
|
31
|
+
keyboard = "^0.13.5"
|
|
32
|
+
pyttsx3 = "^2.90"
|
|
33
|
+
|
|
34
|
+
[tool.poetry.group.dev.dependencies]
|
|
35
|
+
isort = "^5.12.0"
|
|
36
|
+
black = "^23.7.0"
|
|
37
|
+
pylint = "^2.17.5"
|
|
38
|
+
docutils = "^0.20.1"
|
|
39
|
+
|
|
40
|
+
[build-system]
|
|
41
|
+
requires = ["poetry-core"]
|
|
42
|
+
build-backend = "poetry.core.masonry.api"
|
trainerbase-2.13.1/PKG-INFO
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: TrainerBase
|
|
3
|
-
Version: 2.13.1
|
|
4
|
-
Summary: Framework for creating game trainers/mods
|
|
5
|
-
Home-page: https://gitlab.com/python-trainers/trainer-base
|
|
6
|
-
Author-Email: v01d <v01d@v01d.ru>, doomayka <zd@doomayka.ru>
|
|
7
|
-
License: MIT
|
|
8
|
-
Project-URL: Homepage, https://gitlab.com/python-trainers/trainer-base
|
|
9
|
-
Requires-Python: >=3.11
|
|
10
|
-
Requires-Dist: pymem>=1.12.0
|
|
11
|
-
Requires-Dist: dearpygui>=1.9.1
|
|
12
|
-
Requires-Dist: keyboard>=0.13.5
|
|
13
|
-
Requires-Dist: pyttsx3>=2.90
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
|
|
16
|
-
# Trainer Base
|
|
17
|
-
|
|
18
|
-
[](https://badge.fury.io/py/trainerbase)
|
|
19
|
-
[](https://pepy.tech/project/trainerbase)
|
|
20
|
-
|
|
21
|
-
## To create project from template
|
|
22
|
-
```
|
|
23
|
-
> python -m trainerbase.use_trainer_template
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Examples
|
|
27
|
-
[Python Trainers](https://gitlab.com/python-trainers)
|
trainerbase-2.13.1/README.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# Trainer Base
|
|
2
|
-
|
|
3
|
-
[](https://badge.fury.io/py/trainerbase)
|
|
4
|
-
[](https://pepy.tech/project/trainerbase)
|
|
5
|
-
|
|
6
|
-
## To create project from template
|
|
7
|
-
```
|
|
8
|
-
> python -m trainerbase.use_trainer_template
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Examples
|
|
12
|
-
[Python Trainers](https://gitlab.com/python-trainers)
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "TrainerBase"
|
|
3
|
-
version = "2.13.1"
|
|
4
|
-
description = "Framework for creating game trainers/mods"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "v01d", email = "v01d@v01d.ru" },
|
|
7
|
-
{ name = "doomayka", email = "zd@doomayka.ru" },
|
|
8
|
-
]
|
|
9
|
-
requires-python = ">=3.11"
|
|
10
|
-
readme = "README.md"
|
|
11
|
-
dependencies = [
|
|
12
|
-
"pymem>=1.12.0",
|
|
13
|
-
"dearpygui>=1.9.1",
|
|
14
|
-
"keyboard>=0.13.5",
|
|
15
|
-
"pyttsx3>=2.90",
|
|
16
|
-
]
|
|
17
|
-
|
|
18
|
-
[project.license]
|
|
19
|
-
text = "MIT"
|
|
20
|
-
|
|
21
|
-
[project.urls]
|
|
22
|
-
homepage = "https://gitlab.com/python-trainers/trainer-base"
|
|
23
|
-
|
|
24
|
-
[build-system]
|
|
25
|
-
requires = [
|
|
26
|
-
"pdm-backend",
|
|
27
|
-
]
|
|
28
|
-
build-backend = "pdm.backend"
|
|
29
|
-
|
|
30
|
-
[tool.black]
|
|
31
|
-
target-version = [
|
|
32
|
-
"py311",
|
|
33
|
-
]
|
|
34
|
-
line-length = 120
|
|
35
|
-
|
|
36
|
-
[tool.isort]
|
|
37
|
-
lines_after_imports = 2
|
|
38
|
-
skip = "trainerbase/template/"
|
|
39
|
-
|
|
40
|
-
[tool.pdm.build]
|
|
41
|
-
includes = [
|
|
42
|
-
"fasm/",
|
|
43
|
-
"trainerbase/",
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
[tool.pdm.dev-dependencies]
|
|
47
|
-
dev = [
|
|
48
|
-
"black>=23.7.0",
|
|
49
|
-
"pylint>=2.17.5",
|
|
50
|
-
]
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
from dearpygui import dearpygui as dpg
|
|
2
|
-
from trainerbase.gui import add_script_to_gui, add_gameobject_to_gui, add_codeinjection_to_gui, simple_trainerbase_menu
|
|
3
|
-
|
|
4
|
-
from scripts import *
|
|
5
|
-
from objects import *
|
|
6
|
-
from injections import *
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@simple_trainerbase_menu("Trainer Base", 800, 600)
|
|
10
|
-
def run_menu():
|
|
11
|
-
with dpg.tab_bar():
|
|
12
|
-
# (!) Example:
|
|
13
|
-
#
|
|
14
|
-
# with dpg.tab(label="Scripts"):
|
|
15
|
-
# add_script_to_gui(script, "Readable Name")
|
|
16
|
-
#
|
|
17
|
-
# with dpg.tab(label="Objects"):
|
|
18
|
-
# add_gameobject_to_gui(game_object, "Readable Name")
|
|
19
|
-
#
|
|
20
|
-
# with dpg.tab(label="Code Injections"):
|
|
21
|
-
# add_codeinjection_to_gui(injection, "Injection Name")
|
|
22
|
-
|
|
23
|
-
...
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
from os import _exit as force_exit
|
|
2
|
-
|
|
3
|
-
from scripts import script_engine, system_script_engine
|
|
4
|
-
from gui import run_menu
|
|
5
|
-
from injections import *
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def on_initialized():
|
|
9
|
-
system_script_engine.start()
|
|
10
|
-
script_engine.start()
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def on_shutdown():
|
|
14
|
-
system_script_engine.stop()
|
|
15
|
-
script_engine.stop()
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def main():
|
|
19
|
-
run_menu(on_initialized=on_initialized)
|
|
20
|
-
on_shutdown()
|
|
21
|
-
force_exit(0)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
if __name__ == "__main__":
|
|
25
|
-
main()
|
|
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
|