steamify 2.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.
@@ -0,0 +1,19 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ indent_size = 2
7
+ indent_style = space
8
+ insert_final_newline = true
9
+ max_line_length = 120
10
+ tab_width = 2
11
+ trim_trailing_whitespace = true
12
+
13
+ [{*.py,*.pyi,*.ipynb}]
14
+ indent_size = 4
15
+ tab_width = 4
16
+
17
+ [{*.rs}]
18
+ indent_size = 4
19
+ tab_width = 4
@@ -0,0 +1,16 @@
1
+ # Pull Request Checklist
2
+
3
+ <!-- Optional: uncomment if this PR closes an issue -->
4
+ <!-- Resolves: #issue-number-here -->
5
+
6
+ ## Summary
7
+
8
+ <!-- Provide a short summary of your changes -->
9
+
10
+ ## Checklist
11
+
12
+ - [ ] My code follows the project style guidelines
13
+ - [ ] I have performed a self-review of my code
14
+ - [ ] I have commented my code, particularly in hard-to-understand areas
15
+ - [ ] I have made corresponding changes to the documentation
16
+ - [ ] My changes generate no new warnings or errors
@@ -0,0 +1,59 @@
1
+ - name: "type: dependencies"
2
+ description: Pull requests that update a dependency file
3
+ color: 0366d6
4
+
5
+ - name: "type: breaking"
6
+ description: Indicates a BREAKING CHANGE
7
+ color: B60205
8
+
9
+ - name: "type: bug"
10
+ description: Indicates an unexpected problem or unintended behavior
11
+ color: D93F0B
12
+
13
+ - name: "type: security"
14
+ description: Indicates a security vulnerability or hardening request
15
+ color: B60205
16
+
17
+ - name: "type: documentation"
18
+ description: Indicates a need for improvement or addition to documentation
19
+ color: 006B75
20
+
21
+ - name: "type: enhancement"
22
+ description: Indicates a new feature request
23
+ color: 0E8A16
24
+
25
+ - name: "type: maintenance"
26
+ description: Indicates changes to the CI, etc.; a code change that does not fix a bug or add a feature
27
+ color: FBCA04
28
+
29
+ - name: "priority: critical"
30
+ description: Indicates a critical bug or work that is holding up a lot of other important features or fixes
31
+ color: B60205
32
+
33
+ - name: "priority: high"
34
+ description: Indicates user-visible bugs or important features
35
+ color: D93F0B
36
+
37
+ - name: "priority: medium"
38
+ description: Indicates default priority, 'should be done' but isn't prioritised ahead of others
39
+ color: FBCA04
40
+
41
+ - name: "priority: low"
42
+ description: Indicates low priority, unlikely to be done unless it becomes important to more people
43
+ color: 0E8A16
44
+
45
+ - name: "status: blocked"
46
+ description: Indicates an issue that is blocked by another issue or external requirement
47
+ color: E99695
48
+
49
+ - name: "status: duplicate"
50
+ description: Indicates similar issues, pull requests, or discussions
51
+ color: BFDADC
52
+
53
+ - name: "status: good first issue"
54
+ description: Indicates a good issue for first-time contributors
55
+ color: D4C5F9
56
+
57
+ - name: "status: help wanted"
58
+ description: Indicates that a maintainer wants help on an issue or pull request
59
+ color: C5DEF5
@@ -0,0 +1,41 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+ workflow_dispatch:
8
+
9
+ concurrency:
10
+ group: ci-${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ jobs:
17
+ ci:
18
+ runs-on: ubuntu-24.04-arm
19
+ steps:
20
+ - name: Checkout repository
21
+ uses: actions/checkout@v6
22
+
23
+ - name: Install just
24
+ uses: extractions/setup-just@v4
25
+
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v6
28
+ with:
29
+ python-version: "3.13"
30
+
31
+ - name: Install dependencies
32
+ run: just install
33
+
34
+ - name: Run linters
35
+ run: just lint
36
+
37
+ - name: Run audit
38
+ run: just audit
39
+
40
+ - name: Run tests
41
+ run: just test
@@ -0,0 +1,34 @@
1
+ # Requires GitHub secrets
2
+ # - GH_TOKEN
3
+
4
+ name: Labels
5
+
6
+ on:
7
+ push:
8
+ branches: ["main"]
9
+ paths:
10
+ - ".github/labels.yaml"
11
+ - ".github/workflows/labels.yaml"
12
+ workflow_dispatch:
13
+
14
+ concurrency:
15
+ group: labels-${{ github.ref }}
16
+ cancel-in-progress: false
17
+
18
+ permissions:
19
+ contents: read
20
+ issues: write
21
+ pull-requests: write
22
+
23
+ jobs:
24
+ sync:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Checkout repository
28
+ uses: actions/checkout@v6
29
+
30
+ - name: Sync labels
31
+ uses: crazy-max/ghaction-github-labeler@v6
32
+ with:
33
+ github-token: ${{ secrets.GH_TOKEN }}
34
+ yaml-file: .github/labels.yaml
@@ -0,0 +1,111 @@
1
+ # Requires GitHub secrets
2
+ # - PYPI_TOKEN
3
+
4
+ name: Release
5
+
6
+ on:
7
+ workflow_dispatch:
8
+ inputs:
9
+ version:
10
+ description: "Version override (leave empty to auto-detect from commits)"
11
+ required: false
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ tag:
18
+ runs-on: ubuntu-latest
19
+ outputs:
20
+ tag: v${{ steps.version.outputs.version }}
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v6
24
+ with:
25
+ fetch-depth: 0
26
+
27
+ - name: Install git-cliff
28
+ uses: orhun/git-cliff-action@v4
29
+ with:
30
+ args: --version
31
+
32
+ - name: Add git-cliff to PATH
33
+ run: echo "$RUNNER_TEMP/git-cliff/bin" >> "$GITHUB_PATH"
34
+
35
+ - name: Install uv
36
+ uses: astral-sh/setup-uv@v6
37
+ with:
38
+ python-version: "3.13"
39
+
40
+ - name: Resolve version
41
+ id: version
42
+ run: |
43
+ if [[ -n "${{ github.event.inputs.version }}" ]]; then
44
+ VERSION="${{ github.event.inputs.version }}"
45
+ else
46
+ VERSION=$(git-cliff --bumped-version)
47
+ VERSION="${VERSION#v}"
48
+ fi
49
+ echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
50
+
51
+ - name: Update version
52
+ run: uv version "${{ steps.version.outputs.version }}"
53
+
54
+ - name: Generate changelog
55
+ uses: orhun/git-cliff-action@v4
56
+ with:
57
+ args: --tag v${{ steps.version.outputs.version }} --output CHANGELOG.md
58
+
59
+ - name: Commit and tag
60
+ run: |
61
+ VERSION="${{ steps.version.outputs.version }}"
62
+ git config user.name "github-actions[bot]"
63
+ git config user.email "github-actions[bot]@users.noreply.github.com"
64
+ git add pyproject.toml CHANGELOG.md
65
+ if ! git diff --cached --quiet; then
66
+ git commit -m "release: v${VERSION}"
67
+ fi
68
+ git tag "v${VERSION}"
69
+ git push origin main --tags
70
+
71
+ release:
72
+ needs: tag
73
+ runs-on: ubuntu-latest
74
+ steps:
75
+ - name: Checkout repository
76
+ uses: actions/checkout@v6
77
+ with:
78
+ ref: ${{ needs.tag.outputs.tag }}
79
+ fetch-depth: 0
80
+
81
+ - name: Generate Changelog
82
+ uses: orhun/git-cliff-action@v4
83
+ id: changelog
84
+ with:
85
+ args: --latest --strip header
86
+
87
+ - name: Create GitHub Release
88
+ uses: softprops/action-gh-release@v2
89
+ with:
90
+ tag_name: ${{ needs.tag.outputs.tag }}
91
+ body: ${{ steps.changelog.outputs.content }}
92
+
93
+ publish:
94
+ needs: [tag, release]
95
+ runs-on: ubuntu-latest
96
+ steps:
97
+ - name: Checkout repository
98
+ uses: actions/checkout@v6
99
+ with:
100
+ ref: ${{ needs.tag.outputs.tag }}
101
+
102
+ - name: Install uv
103
+ uses: astral-sh/setup-uv@v6
104
+ with:
105
+ python-version: "3.13"
106
+
107
+ - name: Build
108
+ run: uv build
109
+
110
+ - name: Publish to PyPI
111
+ run: uv publish --token ${{ secrets.PYPI_TOKEN }}
@@ -0,0 +1,241 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
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
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Spyder project settings
163
+ .spyderproject
164
+ .spyproject
165
+
166
+ # Rope project settings
167
+ .ropeproject
168
+
169
+ # mkdocs documentation
170
+ /site
171
+
172
+ # mypy
173
+ .mypy_cache/
174
+ .dmypy.json
175
+ dmypy.json
176
+
177
+ # Pyre type checker
178
+ .pyre/
179
+
180
+ # pytype static type analyzer
181
+ .pytype/
182
+
183
+ # Cython debug symbols
184
+ cython_debug/
185
+
186
+ # PyCharm
187
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
188
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
189
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
190
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
191
+ # .idea/
192
+
193
+ # Abstra
194
+ # Abstra is an AI-powered process automation framework.
195
+ # Ignore directories containing user credentials, local state, and settings.
196
+ # Learn more at https://abstra.io/docs
197
+ .abstra/
198
+
199
+ # Visual Studio Code
200
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
201
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
202
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
203
+ # you could uncomment the following to ignore the entire vscode folder
204
+ # .vscode/
205
+ # Temporary file for partial code execution
206
+ tempCodeRunnerFile.py
207
+
208
+ # Ruff stuff:
209
+ .ruff_cache/
210
+
211
+ # PyPI configuration file
212
+ .pypirc
213
+
214
+ # Marimo
215
+ marimo/_static/
216
+ marimo/_lsp/
217
+ __marimo__/
218
+
219
+ # Streamlit
220
+ .streamlit/secrets.toml
221
+
222
+ # OS
223
+ .DS_Store
224
+ Thumbs.db
225
+
226
+ # Editors
227
+ .zed/
228
+ .idea/
229
+ .vscode/
230
+
231
+ # Env
232
+ .env
233
+ .env.local
234
+ .env.*.local
235
+
236
+ # Logs
237
+ *.log
238
+
239
+ # Misc
240
+ .cache/
241
+ .tmp/
@@ -0,0 +1 @@
1
+ 3.13