g-speech 0.1.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.
Files changed (45) hide show
  1. g_speech-0.1.0/.github/dependabot.yml +11 -0
  2. g_speech-0.1.0/.github/workflows/ci.yml +257 -0
  3. g_speech-0.1.0/.github/workflows/release.yml +159 -0
  4. g_speech-0.1.0/.gitignore +221 -0
  5. g_speech-0.1.0/.pre-commit-config.yaml +6 -0
  6. g_speech-0.1.0/CHANGELOG.md +63 -0
  7. g_speech-0.1.0/LICENSE +21 -0
  8. g_speech-0.1.0/MANIFEST.in +4 -0
  9. g_speech-0.1.0/Makefile +24 -0
  10. g_speech-0.1.0/PKG-INFO +297 -0
  11. g_speech-0.1.0/README.md +261 -0
  12. g_speech-0.1.0/g_speech.egg-info/PKG-INFO +297 -0
  13. g_speech-0.1.0/g_speech.egg-info/SOURCES.txt +43 -0
  14. g_speech-0.1.0/g_speech.egg-info/dependency_links.txt +1 -0
  15. g_speech-0.1.0/g_speech.egg-info/entry_points.txt +2 -0
  16. g_speech-0.1.0/g_speech.egg-info/requires.txt +9 -0
  17. g_speech-0.1.0/g_speech.egg-info/scm_file_list.json +38 -0
  18. g_speech-0.1.0/g_speech.egg-info/scm_version.json +8 -0
  19. g_speech-0.1.0/g_speech.egg-info/top_level.txt +2 -0
  20. g_speech-0.1.0/gspeech/__init__.py +66 -0
  21. g_speech-0.1.0/gspeech/__main__.py +5 -0
  22. g_speech-0.1.0/gspeech/_cache.py +149 -0
  23. g_speech-0.1.0/gspeech/audio.py +131 -0
  24. g_speech-0.1.0/gspeech/cli.py +100 -0
  25. g_speech-0.1.0/gspeech/client.py +243 -0
  26. g_speech-0.1.0/gspeech/config.py +178 -0
  27. g_speech-0.1.0/gspeech/exceptions.py +17 -0
  28. g_speech-0.1.0/gspeech/player.py +477 -0
  29. g_speech-0.1.0/gspeech/preloader_thread.py +52 -0
  30. g_speech-0.1.0/gspeech/py.typed +1 -0
  31. g_speech-0.1.0/gspeech/speech.py +150 -0
  32. g_speech-0.1.0/gspeech/speech_segment.py +20 -0
  33. g_speech-0.1.0/gspeech/version.py +24 -0
  34. g_speech-0.1.0/pyproject.toml +87 -0
  35. g_speech-0.1.0/pyrightconfig.json +7 -0
  36. g_speech-0.1.0/setup.cfg +4 -0
  37. g_speech-0.1.0/tests/__init__.py +1 -0
  38. g_speech-0.1.0/tests/test_audio.py +103 -0
  39. g_speech-0.1.0/tests/test_cache.py +96 -0
  40. g_speech-0.1.0/tests/test_cli.py +146 -0
  41. g_speech-0.1.0/tests/test_client.py +237 -0
  42. g_speech-0.1.0/tests/test_integration.py +24 -0
  43. g_speech-0.1.0/tests/test_player.py +384 -0
  44. g_speech-0.1.0/tests/test_preloader.py +50 -0
  45. g_speech-0.1.0/tests/test_speech.py +109 -0
@@ -0,0 +1,11 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: github-actions
5
+ directory: /
6
+ schedule:
7
+ interval: weekly
8
+ groups:
9
+ github-actions:
10
+ patterns:
11
+ - "*"
@@ -0,0 +1,257 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - dev
8
+ tags:
9
+ - "v*"
10
+ pull_request:
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ concurrency:
17
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18
+ cancel-in-progress: true
19
+
20
+ env:
21
+ PIP_DISABLE_PIP_VERSION_CHECK: "1"
22
+ PYTHONUNBUFFERED: "1"
23
+
24
+ jobs:
25
+ quality:
26
+ name: Quality
27
+ runs-on: ubuntu-24.04
28
+ timeout-minutes: 10
29
+
30
+ steps:
31
+ - name: Check out source
32
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
33
+ with:
34
+ persist-credentials: false
35
+
36
+ - name: Set up Python 3.14
37
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
38
+ with:
39
+ python-version: "3.14"
40
+ cache: pip
41
+ cache-dependency-path: pyproject.toml
42
+
43
+ - name: Install development dependencies
44
+ run: |
45
+ python -m pip install --upgrade pip
46
+ python -m pip install --editable ".[dev]"
47
+
48
+ - name: Check formatting
49
+ run: python -m ruff format --check .
50
+
51
+ - name: Lint
52
+ run: python -m ruff check .
53
+
54
+ - name: Type check
55
+ run: pyright ./tests ./gspeech
56
+
57
+ minimum-dependencies:
58
+ name: Minimum supported dependencies
59
+ runs-on: ubuntu-24.04
60
+ timeout-minutes: 10
61
+
62
+ steps:
63
+ - name: Check out source
64
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
65
+ with:
66
+ persist-credentials: false
67
+
68
+ - name: Set up Python 3.10
69
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
70
+ with:
71
+ python-version: "3.10"
72
+ cache: pip
73
+ cache-dependency-path: pyproject.toml
74
+
75
+ - name: Install declared minimum versions
76
+ run: |
77
+ python -m pip install --upgrade pip
78
+ python -m pip install \
79
+ "miniaudio==1.61" \
80
+ "platformdirs==4.3.0" \
81
+ "requests==2.31.0"
82
+ python -m pip install --editable . --no-deps
83
+ python -m pip check
84
+
85
+ - name: Run unit tests
86
+ run: python -m unittest discover -v
87
+
88
+ test:
89
+ name: Test (${{ matrix.name }}, Python ${{ matrix.python-version }})
90
+ runs-on: ${{ matrix.runner }}
91
+ timeout-minutes: 15
92
+ strategy:
93
+ fail-fast: false
94
+ matrix:
95
+ include:
96
+ - name: Linux x64
97
+ runner: ubuntu-24.04
98
+ python-version: "3.10"
99
+ - name: Linux x64
100
+ runner: ubuntu-24.04
101
+ python-version: "3.11"
102
+ - name: Linux x64
103
+ runner: ubuntu-24.04
104
+ python-version: "3.12"
105
+ - name: Linux x64
106
+ runner: ubuntu-24.04
107
+ python-version: "3.13"
108
+ - name: Linux x64
109
+ runner: ubuntu-24.04
110
+ python-version: "3.14"
111
+ - name: Linux ARM64
112
+ runner: ubuntu-24.04-arm
113
+ python-version: "3.12"
114
+ - name: macOS ARM64
115
+ runner: macos-15
116
+ python-version: "3.12"
117
+ - name: Windows x64
118
+ runner: windows-2025
119
+ python-version: "3.12"
120
+
121
+ steps:
122
+ - name: Check out source
123
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
124
+ with:
125
+ persist-credentials: false
126
+
127
+ - name: Set up Python ${{ matrix.python-version }}
128
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
129
+ with:
130
+ python-version: ${{ matrix.python-version }}
131
+ cache: pip
132
+ cache-dependency-path: pyproject.toml
133
+
134
+ - name: Install package
135
+ run: |
136
+ python -m pip install --upgrade pip
137
+ python -m pip install --editable .
138
+ python -m pip check
139
+
140
+ - name: Run unit tests
141
+ run: python -m unittest discover -v
142
+
143
+ - name: Smoke-test command-line entry points
144
+ run: |
145
+ python -m gspeech --help
146
+ gspeech --help
147
+
148
+ coverage:
149
+ name: Coverage
150
+ runs-on: ubuntu-24.04
151
+ timeout-minutes: 10
152
+
153
+ steps:
154
+ - name: Check out source
155
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
156
+ with:
157
+ persist-credentials: false
158
+
159
+ - name: Set up Python 3.12
160
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
161
+ with:
162
+ python-version: "3.12"
163
+ cache: pip
164
+ cache-dependency-path: pyproject.toml
165
+
166
+ - name: Install development dependencies
167
+ run: |
168
+ python -m pip install --upgrade pip
169
+ python -m pip install --editable ".[dev]"
170
+
171
+ - name: Run tests with branch coverage
172
+ run: |
173
+ python -m coverage run -m unittest discover
174
+ python -m coverage report
175
+ python -m coverage xml
176
+
177
+ - name: Upload coverage report
178
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
179
+ with:
180
+ name: coverage-report
181
+ path: coverage.xml
182
+ if-no-files-found: error
183
+ retention-days: 7
184
+
185
+ - name: Upload coverage to Codecov
186
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
187
+ uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
188
+ with:
189
+ token: ${{ secrets.CODECOV_TOKEN }}
190
+ files: ./coverage.xml
191
+ disable_search: true
192
+ fail_ci_if_error: true
193
+ flags: unittests
194
+ name: python-3.12
195
+
196
+ build:
197
+ name: Build and inspect distributions
198
+ runs-on: ubuntu-24.04
199
+ timeout-minutes: 10
200
+
201
+ steps:
202
+ - name: Check out complete history
203
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
204
+ with:
205
+ fetch-depth: 0
206
+ persist-credentials: false
207
+
208
+ - name: Set up Python 3.14
209
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
210
+ with:
211
+ python-version: "3.14"
212
+ cache: pip
213
+ cache-dependency-path: pyproject.toml
214
+
215
+ - name: Install build tools
216
+ run: |
217
+ python -m pip install --upgrade pip
218
+ python -m pip install build twine
219
+
220
+ - name: Build wheel and source distribution
221
+ run: python -m build
222
+
223
+ - name: Validate distribution metadata
224
+ run: python -m twine check --strict dist/*
225
+
226
+ - name: Smoke-test the built wheel
227
+ run: |
228
+ python -m venv .package-test
229
+ .package-test/bin/python -m pip install --upgrade pip
230
+ .package-test/bin/python -m pip install dist/*.whl
231
+ .package-test/bin/python -m pip check
232
+ .package-test/bin/python -m gspeech --help
233
+ .package-test/bin/gspeech --help
234
+ .package-test/bin/python - <<'PY'
235
+ from importlib.resources import files
236
+ from importlib.metadata import metadata, requires
237
+
238
+ package_metadata = metadata("g-speech")
239
+ dependencies = requires("g-speech") or []
240
+
241
+ assert package_metadata["Requires-Python"] == ">=3.10"
242
+ assert any(item.lower().startswith("miniaudio") for item in dependencies)
243
+ assert any(item.lower().startswith("platformdirs") for item in dependencies)
244
+ assert any(item.lower().startswith("requests") for item in dependencies)
245
+ assert files("gspeech").joinpath("py.typed").is_file()
246
+ assert not any("appdirs" in item.lower() for item in dependencies)
247
+ assert not any("pygame" in item.lower() for item in dependencies)
248
+ assert not any("web_cache" in item.lower() for item in dependencies)
249
+ PY
250
+
251
+ - name: Upload distributions
252
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
253
+ with:
254
+ name: gspeech-distributions
255
+ path: dist/*
256
+ if-no-files-found: error
257
+ retention-days: 7
@@ -0,0 +1,159 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ concurrency:
12
+ group: release-${{ github.ref }}
13
+ cancel-in-progress: false
14
+
15
+ env:
16
+ PIP_DISABLE_PIP_VERSION_CHECK: "1"
17
+ PYTHONUNBUFFERED: "1"
18
+
19
+ jobs:
20
+ build:
21
+ name: Build and validate distributions
22
+ runs-on: ubuntu-24.04
23
+ timeout-minutes: 10
24
+
25
+ steps:
26
+ - name: Check out complete history
27
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
28
+ with:
29
+ fetch-depth: 0
30
+ persist-credentials: false
31
+
32
+ - name: Set up Python 3.14
33
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
34
+ with:
35
+ python-version: "3.14"
36
+
37
+ - name: Verify tag belongs to main
38
+ run: |
39
+ if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then
40
+ echo "::error::Release tags must point to a commit on the main branch."
41
+ exit 1
42
+ fi
43
+
44
+ - name: Install build tools
45
+ run: |
46
+ python -m pip install --upgrade pip
47
+ python -m pip install build packaging twine
48
+
49
+ - name: Build wheel and source distribution
50
+ run: python -m build
51
+
52
+ - name: Verify release version and artifacts
53
+ env:
54
+ RELEASE_TAG: ${{ github.ref_name }}
55
+ run: |
56
+ python - <<'PY'
57
+ import os
58
+ from pathlib import Path
59
+
60
+ from packaging.utils import parse_wheel_filename
61
+ from packaging.version import InvalidVersion, Version
62
+
63
+ tag = os.environ["RELEASE_TAG"]
64
+ if not tag.startswith("v"):
65
+ raise SystemExit(f"Release tag must start with 'v': {tag!r}")
66
+
67
+ raw_version = tag.removeprefix("v")
68
+ try:
69
+ expected_version = Version(raw_version)
70
+ except InvalidVersion as error:
71
+ raise SystemExit(f"Release tag is not a valid version: {tag!r}") from error
72
+
73
+ if str(expected_version) != raw_version:
74
+ raise SystemExit(
75
+ f"Release tag must use canonical PEP 440 syntax: "
76
+ f"expected 'v{expected_version}', got {tag!r}"
77
+ )
78
+ if len(expected_version.release) != 3:
79
+ raise SystemExit(
80
+ f"Release tag must contain major, minor, and patch: {tag!r}"
81
+ )
82
+ if expected_version.dev is not None or expected_version.local is not None:
83
+ raise SystemExit(
84
+ f"Development and local versions cannot be released: {tag!r}"
85
+ )
86
+
87
+ wheels = list(Path("dist").glob("*.whl"))
88
+ source_distributions = list(Path("dist").glob("*.tar.gz"))
89
+ if len(wheels) != 1 or len(source_distributions) != 1:
90
+ raise SystemExit(
91
+ "Expected exactly one wheel and one source distribution; "
92
+ f"found {len(wheels)} wheel(s) and "
93
+ f"{len(source_distributions)} source distribution(s)"
94
+ )
95
+
96
+ distribution, built_version, _, _ = parse_wheel_filename(wheels[0].name)
97
+ if distribution != "g-speech":
98
+ raise SystemExit(
99
+ f"Expected a g-speech wheel, found distribution {distribution!r}"
100
+ )
101
+ if built_version != expected_version:
102
+ raise SystemExit(
103
+ f"Tag version {expected_version} does not match "
104
+ f"built version {built_version}"
105
+ )
106
+
107
+ expected_sdist = f"g_speech-{built_version}.tar.gz"
108
+ if source_distributions[0].name != expected_sdist:
109
+ raise SystemExit(
110
+ f"Expected source distribution {expected_sdist!r}, "
111
+ f"found {source_distributions[0].name!r}"
112
+ )
113
+
114
+ print(f"Validated g-speech {built_version}")
115
+ PY
116
+
117
+ - name: Validate distribution metadata
118
+ run: python -m twine check --strict dist/*
119
+
120
+ - name: Smoke-test the wheel
121
+ run: |
122
+ python -m venv .release-test
123
+ .release-test/bin/python -m pip install --upgrade pip
124
+ .release-test/bin/python -m pip install dist/*.whl
125
+ .release-test/bin/python -m pip check
126
+ .release-test/bin/python -m gspeech --help
127
+ .release-test/bin/gspeech --help
128
+
129
+ - name: Upload distributions
130
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
131
+ with:
132
+ name: python-package-distributions
133
+ path: dist/
134
+ if-no-files-found: error
135
+ retention-days: 7
136
+ compression-level: 0
137
+
138
+ publish:
139
+ name: Publish distributions to PyPI
140
+ needs: build
141
+ runs-on: ubuntu-24.04
142
+ timeout-minutes: 10
143
+ environment:
144
+ name: pypi
145
+ url: https://pypi.org/project/g-speech/
146
+ permissions:
147
+ id-token: write
148
+
149
+ steps:
150
+ - name: Download distributions
151
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
152
+ with:
153
+ name: python-package-distributions
154
+ path: dist/
155
+
156
+ - name: Publish distributions to PyPI
157
+ uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
158
+ with:
159
+ attestations: true
@@ -0,0 +1,221 @@
1
+ # App version
2
+ /gspeech/version.py
3
+
4
+ # Byte-compiled / optimized / DLL files
5
+ __pycache__/
6
+ *.py[codz]
7
+ *$py.class
8
+
9
+ # C extensions
10
+ *.so
11
+
12
+ # Distribution / packaging
13
+ .Python
14
+ build/
15
+ develop-eggs/
16
+ dist/
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ share/python-wheels/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+ MANIFEST
31
+
32
+ # PyInstaller
33
+ # Usually these files are written by a python script from a template
34
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
35
+ *.manifest
36
+ *.spec
37
+
38
+ # Installer logs
39
+ pip-log.txt
40
+ pip-delete-this-directory.txt
41
+
42
+ # Unit test / coverage reports
43
+ htmlcov/
44
+ .tox/
45
+ .nox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ *.py.cover
53
+ .hypothesis/
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # PyBuilder
78
+ .pybuilder/
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ # For a library or package, you might want to ignore these files since the code is
90
+ # intended to run in multiple environments; otherwise, check them in:
91
+ # .python-version
92
+
93
+ # pipenv
94
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
96
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
97
+ # install all needed dependencies.
98
+ # Pipfile.lock
99
+
100
+ # UV
101
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
102
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
103
+ # commonly ignored for libraries.
104
+ # uv.lock
105
+
106
+ # poetry
107
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
108
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
109
+ # commonly ignored for libraries.
110
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
111
+ # poetry.lock
112
+ # poetry.toml
113
+
114
+ # pdm
115
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
116
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
117
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
118
+ # pdm.lock
119
+ # pdm.toml
120
+ .pdm-python
121
+ .pdm-build/
122
+
123
+ # pixi
124
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
125
+ # pixi.lock
126
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
127
+ # in the .venv directory. It is recommended not to include this directory in version control.
128
+ .pixi
129
+
130
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
+ __pypackages__/
132
+
133
+ # Celery stuff
134
+ celerybeat-schedule
135
+ celerybeat.pid
136
+
137
+ # Redis
138
+ *.rdb
139
+ *.aof
140
+ *.pid
141
+
142
+ # RabbitMQ
143
+ mnesia/
144
+ rabbitmq/
145
+ rabbitmq-data/
146
+
147
+ # ActiveMQ
148
+ activemq-data/
149
+
150
+ # SageMath parsed files
151
+ *.sage.py
152
+
153
+ # Environments
154
+ .env
155
+ .envrc
156
+ .venv
157
+ env/
158
+ venv/
159
+ ENV/
160
+ env.bak/
161
+ venv.bak/
162
+
163
+ # Spyder project settings
164
+ .spyderproject
165
+ .spyproject
166
+
167
+ # Rope project settings
168
+ .ropeproject
169
+
170
+ # mkdocs documentation
171
+ /site
172
+
173
+ # mypy
174
+ .mypy_cache/
175
+ .dmypy.json
176
+ dmypy.json
177
+
178
+ # Pyre type checker
179
+ .pyre/
180
+
181
+ # pytype static type analyzer
182
+ .pytype/
183
+
184
+ # Cython debug symbols
185
+ cython_debug/
186
+
187
+ # PyCharm
188
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
189
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
190
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
191
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
192
+ # .idea/
193
+
194
+ # Abstra
195
+ # Abstra is an AI-powered process automation framework.
196
+ # Ignore directories containing user credentials, local state, and settings.
197
+ # Learn more at https://abstra.io/docs
198
+ .abstra/
199
+
200
+ # Visual Studio Code
201
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
202
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
203
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
204
+ # you could uncomment the following to ignore the entire vscode folder
205
+ # .vscode/
206
+ # Temporary file for partial code execution
207
+ tempCodeRunnerFile.py
208
+
209
+ # Ruff stuff:
210
+ .ruff_cache/
211
+
212
+ # PyPI configuration file
213
+ .pypirc
214
+
215
+ # Marimo
216
+ marimo/_static/
217
+ marimo/_lsp/
218
+ __marimo__/
219
+
220
+ # Streamlit
221
+ .streamlit/secrets.toml
@@ -0,0 +1,6 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.16.0
4
+ hooks:
5
+ - id: ruff
6
+ - id: ruff-format