mini-arcade-native-backend 0.3.2__tar.gz → 0.3.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 (22) hide show
  1. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.github/workflows/ci.yml +25 -25
  2. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.github/workflows/create-release-branch.yml +24 -24
  3. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.github/workflows/release-finalize.yml +20 -20
  4. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.github/workflows/release-publish.yml +25 -25
  5. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.gitignore +196 -196
  6. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/.vscode/settings.json +79 -52
  7. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/CHANGELOG.md +74 -68
  8. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/CMakeLists.txt +29 -29
  9. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/LICENSE +19 -19
  10. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/PKG-INFO +1 -1
  11. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/README.md +309 -309
  12. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/cpp/bindings.cpp +67 -67
  13. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/cpp/engine.cpp +335 -335
  14. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/cpp/engine.h +72 -72
  15. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/examples/native_backend_demo.py +57 -57
  16. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/poetry.lock +23 -23
  17. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/poetry.toml +2 -2
  18. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/pyproject.toml +76 -76
  19. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/src/mini_arcade_native_backend/__init__.py +194 -147
  20. {mini_arcade_native_backend-0.3.2 → mini_arcade_native_backend-0.3.4}/tests/test_init.py +261 -248
  21. mini_arcade_native_backend-0.3.2/.changelog_section +0 -11
  22. mini_arcade_native_backend-0.3.2/.version_to_tag +0 -1
@@ -1,25 +1,25 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- - develop
8
- - "feature/**"
9
- - "release/**"
10
- - "hotfix/**"
11
- pull_request:
12
- branches:
13
- - main
14
- - develop
15
-
16
- jobs:
17
- python-ci:
18
- uses: trivox-io/trivox-ci/.github/workflows/python-ci.yml@main
19
- with:
20
- project-name: "mini-arcade-native-backend"
21
- lint-path: "src/mini_arcade_native_backend"
22
- apt-deps: "libsdl2-dev libsdl2-ttf-dev"
23
- secrets:
24
- SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
25
- SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - develop
8
+ - "feature/**"
9
+ - "release/**"
10
+ - "hotfix/**"
11
+ pull_request:
12
+ branches:
13
+ - main
14
+ - develop
15
+
16
+ jobs:
17
+ python-ci:
18
+ uses: trivox-io/trivox-ci/.github/workflows/python-ci.yml@main
19
+ with:
20
+ project-name: "mini-arcade-native-backend"
21
+ lint-path: "src/mini_arcade_native_backend"
22
+ apt-deps: "libsdl2-dev libsdl2-ttf-dev"
23
+ secrets:
24
+ SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
25
+ SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
@@ -1,24 +1,24 @@
1
- # .github/workflows/release-create.yml
2
- name: Create Release Branch
3
-
4
- permissions:
5
- contents: write
6
-
7
- on:
8
- workflow_dispatch:
9
- inputs:
10
- bump_type:
11
- description: "Version bump type"
12
- required: true
13
- type: choice
14
- options:
15
- - minor
16
- - major
17
-
18
- jobs:
19
- create-release-branch:
20
- uses: trivox-io/trivox-ci/.github/workflows/create-release-branch.yml@main
21
- with:
22
- bump_type: ${{ inputs.bump_type }}
23
- base_branch: "develop"
24
- version_file: "pyproject.toml"
1
+ # .github/workflows/release-create.yml
2
+ name: Create Release Branch
3
+
4
+ permissions:
5
+ contents: write
6
+
7
+ on:
8
+ workflow_dispatch:
9
+ inputs:
10
+ bump_type:
11
+ description: "Version bump type"
12
+ required: true
13
+ type: choice
14
+ options:
15
+ - minor
16
+ - major
17
+
18
+ jobs:
19
+ create-release-branch:
20
+ uses: trivox-io/trivox-ci/.github/workflows/create-release-branch.yml@main
21
+ with:
22
+ bump_type: ${{ inputs.bump_type }}
23
+ base_branch: "develop"
24
+ version_file: "pyproject.toml"
@@ -1,20 +1,20 @@
1
- name: Finalize Release
2
-
3
- permissions:
4
- contents: write
5
-
6
- on:
7
- workflow_dispatch:
8
- inputs:
9
- release_branch_suffix:
10
- description: "Release suffix (e.g. 0.6 for branch release/0.6)"
11
- required: true
12
- type: string
13
-
14
- jobs:
15
- finalize-release:
16
- uses: trivox-io/trivox-ci/.github/workflows/finalize-release.yml@main
17
- with:
18
- release_branch_suffix: ${{ inputs.release_branch_suffix }}
19
- main_branch: "main"
20
- develop_branch: "develop"
1
+ name: Finalize Release
2
+
3
+ permissions:
4
+ contents: write
5
+
6
+ on:
7
+ workflow_dispatch:
8
+ inputs:
9
+ release_branch_suffix:
10
+ description: "Release suffix (e.g. 0.6 for branch release/0.6)"
11
+ required: true
12
+ type: string
13
+
14
+ jobs:
15
+ finalize-release:
16
+ uses: trivox-io/trivox-ci/.github/workflows/finalize-release.yml@main
17
+ with:
18
+ release_branch_suffix: ${{ inputs.release_branch_suffix }}
19
+ main_branch: "main"
20
+ develop_branch: "develop"
@@ -1,25 +1,25 @@
1
- name: Publish from Release Branch
2
-
3
- permissions:
4
- contents: write
5
-
6
- on:
7
- workflow_dispatch:
8
- inputs:
9
- release_branch:
10
- description: "Release branch name (e.g. release/0.6)"
11
- required: true
12
- type: string
13
-
14
- jobs:
15
- publish:
16
- uses: trivox-io/trivox-ci/.github/workflows/publish-from-release.yml@main
17
- with:
18
- release_branch: ${{ inputs.release_branch }}
19
- version_file: "pyproject.toml"
20
- apt-deps: "libsdl2-dev"
21
- poetry-build-args: "-f sdist"
22
- secrets:
23
- PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
24
- SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
25
- SLACK_CHANNEL_ID_RELEASE: ${{ secrets.SLACK_CHANNEL_ID_RELEASE }}
1
+ name: Publish from Release Branch
2
+
3
+ permissions:
4
+ contents: write
5
+
6
+ on:
7
+ workflow_dispatch:
8
+ inputs:
9
+ release_branch:
10
+ description: "Release branch name (e.g. release/0.6)"
11
+ required: true
12
+ type: string
13
+
14
+ jobs:
15
+ publish:
16
+ uses: trivox-io/trivox-ci/.github/workflows/publish-from-release.yml@main
17
+ with:
18
+ release_branch: ${{ inputs.release_branch }}
19
+ version_file: "pyproject.toml"
20
+ apt-deps: "libsdl2-dev"
21
+ poetry-build-args: "-f sdist"
22
+ secrets:
23
+ PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
24
+ SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
25
+ SLACK_CHANNEL_ID_RELEASE: ${{ secrets.SLACK_CHANNEL_ID_RELEASE }}
@@ -1,197 +1,197 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
-
28
- # PyInstaller
29
- # Usually these files are written by a python script from a template
30
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
- *.manifest
32
- *.spec
33
-
34
- # Installer logs
35
- pip-log.txt
36
- pip-delete-this-directory.txt
37
-
38
- # Unit test / coverage reports
39
- htmlcov/
40
- .tox/
41
- .nox/
42
- .coverage
43
- .coverage.*
44
- .cache
45
- nosetests.xml
46
- coverage.xml
47
- *.cover
48
- *.py,cover
49
- .hypothesis/
50
- .pytest_cache/
51
- cover/
52
-
53
- # Translations
54
- *.mo
55
- *.pot
56
-
57
- # Django stuff:
58
- *.log
59
- local_settings.py
60
- db.sqlite3
61
- db.sqlite3-journal
62
-
63
- # Flask stuff:
64
- instance/
65
- .webassets-cache
66
-
67
- # Scrapy stuff:
68
- .scrapy
69
-
70
- # Sphinx documentation
71
- docs/build/
72
-
73
- # PyBuilder
74
- .pybuilder/
75
- target/
76
-
77
- # Jupyter Notebook
78
- .ipynb_checkpoints
79
-
80
- # IPython
81
- profile_default/
82
- ipython_config.py
83
-
84
- # pyenv
85
- # For a library or package, you might want to ignore these files since the code is
86
- # intended to run in multiple environments; otherwise, check them in:
87
- # .python-version
88
-
89
- # pipenv
90
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
92
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
93
- # install all needed dependencies.
94
- #Pipfile.lock
95
-
96
- # poetry
97
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
98
- # This is especially recommended for binary packages to ensure reproducibility, and is more
99
- # commonly ignored for libraries.
100
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
101
- #poetry.lock
102
-
103
- # pdm
104
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
105
- #pdm.lock
106
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
107
- # in version control.
108
- # https://pdm.fming.dev/#use-with-ide
109
- .pdm.toml
110
-
111
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
112
- __pypackages__/
113
-
114
- # Celery stuff
115
- celerybeat-schedule
116
- celerybeat.pid
117
-
118
- # SageMath parsed files
119
- *.sage.py
120
-
121
- # Environments
122
- .env
123
- .venv/
124
- env/
125
- venv/
126
- ENV/
127
- env.bak/
128
- venv.bak/
129
-
130
- # Spyder project settings
131
- .spyderproject
132
- .spyproject
133
-
134
- # Rope project settings
135
- .ropeproject
136
-
137
- # mkdocs documentation
138
- /site
139
-
140
- # mypy
141
- .mypy_cache/
142
- .dmypy.json
143
- dmypy.json
144
-
145
- # Pyre type checker
146
- .pyre/
147
-
148
- # pytype static type analyzer
149
- .pytype/
150
-
151
- # Cython debug symbols
152
- cython_debug/
153
-
154
- # PyCharm
155
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
156
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
157
- # and can be added to the global gitignore or merged into this file. For a more nuclear
158
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
159
- #.idea/
160
- .idea
161
- archive_/
162
-
163
- test_data/
164
-
165
- ### macOS ###
166
- # General
167
- .DS_Store
168
- .AppleDouble
169
- .LSOverride
170
-
171
- # Icon must end with two \r
172
- Icon
173
-
174
- # Thumbnails
175
- ._*
176
-
177
- # Files that might appear in the root of a volume
178
- .DocumentRevisions-V100
179
- .fseventsd
180
- .Spotlight-V100
181
- .TemporaryItems
182
- .Trashes
183
- .VolumeIcon.icns
184
- .com.apple.timemachine.donotpresent
185
-
186
- # Directories potentially created on remote AFP share
187
- .AppleDB
188
- .AppleDesktop
189
- Network Trash Folder
190
- Temporary Items
191
- .apdisk
192
-
193
- ### macOS Patch ###
194
- # iCloud generated files
195
- *.icloud
196
- .trivox_conductor/
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .nox/
42
+ .coverage
43
+ .coverage.*
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+ *.cover
48
+ *.py,cover
49
+ .hypothesis/
50
+ .pytest_cache/
51
+ cover/
52
+
53
+ # Translations
54
+ *.mo
55
+ *.pot
56
+
57
+ # Django stuff:
58
+ *.log
59
+ local_settings.py
60
+ db.sqlite3
61
+ db.sqlite3-journal
62
+
63
+ # Flask stuff:
64
+ instance/
65
+ .webassets-cache
66
+
67
+ # Scrapy stuff:
68
+ .scrapy
69
+
70
+ # Sphinx documentation
71
+ docs/build/
72
+
73
+ # PyBuilder
74
+ .pybuilder/
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ # pyenv
85
+ # For a library or package, you might want to ignore these files since the code is
86
+ # intended to run in multiple environments; otherwise, check them in:
87
+ # .python-version
88
+
89
+ # pipenv
90
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
92
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
93
+ # install all needed dependencies.
94
+ #Pipfile.lock
95
+
96
+ # poetry
97
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
98
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
99
+ # commonly ignored for libraries.
100
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
101
+ #poetry.lock
102
+
103
+ # pdm
104
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
105
+ #pdm.lock
106
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
107
+ # in version control.
108
+ # https://pdm.fming.dev/#use-with-ide
109
+ .pdm.toml
110
+
111
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
112
+ __pypackages__/
113
+
114
+ # Celery stuff
115
+ celerybeat-schedule
116
+ celerybeat.pid
117
+
118
+ # SageMath parsed files
119
+ *.sage.py
120
+
121
+ # Environments
122
+ .env
123
+ .venv/
124
+ env/
125
+ venv/
126
+ ENV/
127
+ env.bak/
128
+ venv.bak/
129
+
130
+ # Spyder project settings
131
+ .spyderproject
132
+ .spyproject
133
+
134
+ # Rope project settings
135
+ .ropeproject
136
+
137
+ # mkdocs documentation
138
+ /site
139
+
140
+ # mypy
141
+ .mypy_cache/
142
+ .dmypy.json
143
+ dmypy.json
144
+
145
+ # Pyre type checker
146
+ .pyre/
147
+
148
+ # pytype static type analyzer
149
+ .pytype/
150
+
151
+ # Cython debug symbols
152
+ cython_debug/
153
+
154
+ # PyCharm
155
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
156
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
157
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
158
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
159
+ #.idea/
160
+ .idea
161
+ archive_/
162
+
163
+ test_data/
164
+
165
+ ### macOS ###
166
+ # General
167
+ .DS_Store
168
+ .AppleDouble
169
+ .LSOverride
170
+
171
+ # Icon must end with two \r
172
+ Icon
173
+
174
+ # Thumbnails
175
+ ._*
176
+
177
+ # Files that might appear in the root of a volume
178
+ .DocumentRevisions-V100
179
+ .fseventsd
180
+ .Spotlight-V100
181
+ .TemporaryItems
182
+ .Trashes
183
+ .VolumeIcon.icns
184
+ .com.apple.timemachine.donotpresent
185
+
186
+ # Directories potentially created on remote AFP share
187
+ .AppleDB
188
+ .AppleDesktop
189
+ Network Trash Folder
190
+ Temporary Items
191
+ .apdisk
192
+
193
+ ### macOS Patch ###
194
+ # iCloud generated files
195
+ *.icloud
196
+ .trivox_conductor/
197
197
  .trivox/