spitch 1.24.1__tar.gz → 1.26.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.

Potentially problematic release.


This version of spitch might be problematic. Click here for more details.

Files changed (75) hide show
  1. spitch-1.26.0/.release-please-manifest.json +3 -0
  2. {spitch-1.24.1 → spitch-1.26.0}/CHANGELOG.md +40 -0
  3. {spitch-1.24.1 → spitch-1.26.0}/PKG-INFO +2 -2
  4. {spitch-1.24.1 → spitch-1.26.0}/README.md +1 -1
  5. {spitch-1.24.1 → spitch-1.26.0}/pyproject.toml +3 -2
  6. {spitch-1.24.1 → spitch-1.26.0}/requirements-dev.lock +1 -1
  7. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_base_client.py +210 -236
  8. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_client.py +1 -4
  9. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_models.py +2 -3
  10. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_typing.py +1 -1
  11. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_utils.py +9 -1
  12. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_version.py +1 -1
  13. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/resources/speech.py +13 -10
  14. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/resources/text.py +7 -10
  15. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/speech_generate_params.py +5 -1
  16. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/speech_transcribe_params.py +1 -1
  17. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/text_tone_mark_params.py +1 -1
  18. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/text_translate_params.py +2 -2
  19. {spitch-1.24.1 → spitch-1.26.0}/tests/conftest.py +1 -1
  20. {spitch-1.24.1 → spitch-1.26.0}/tests/test_models.py +60 -0
  21. spitch-1.24.1/.release-please-manifest.json +0 -3
  22. {spitch-1.24.1 → spitch-1.26.0}/.gitignore +0 -0
  23. {spitch-1.24.1 → spitch-1.26.0}/CONTRIBUTING.md +0 -0
  24. {spitch-1.24.1 → spitch-1.26.0}/LICENSE +0 -0
  25. {spitch-1.24.1 → spitch-1.26.0}/SECURITY.md +0 -0
  26. {spitch-1.24.1 → spitch-1.26.0}/api.md +0 -0
  27. {spitch-1.24.1 → spitch-1.26.0}/bin/check-release-environment +0 -0
  28. {spitch-1.24.1 → spitch-1.26.0}/bin/publish-pypi +0 -0
  29. {spitch-1.24.1 → spitch-1.26.0}/examples/.keep +0 -0
  30. {spitch-1.24.1 → spitch-1.26.0}/examples/example.py +0 -0
  31. {spitch-1.24.1 → spitch-1.26.0}/mypy.ini +0 -0
  32. {spitch-1.24.1 → spitch-1.26.0}/noxfile.py +0 -0
  33. {spitch-1.24.1 → spitch-1.26.0}/release-please-config.json +0 -0
  34. {spitch-1.24.1 → spitch-1.26.0}/requirements.lock +0 -0
  35. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/__init__.py +0 -0
  36. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_compat.py +0 -0
  37. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_constants.py +0 -0
  38. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_exceptions.py +0 -0
  39. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_files.py +0 -0
  40. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_qs.py +0 -0
  41. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_resource.py +0 -0
  42. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_response.py +0 -0
  43. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_streaming.py +0 -0
  44. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_types.py +0 -0
  45. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/__init__.py +0 -0
  46. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_logs.py +0 -0
  47. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_proxy.py +0 -0
  48. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_reflection.py +0 -0
  49. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_streams.py +0 -0
  50. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_sync.py +0 -0
  51. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/_utils/_transform.py +0 -0
  52. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/lib/.keep +0 -0
  53. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/py.typed +0 -0
  54. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/resources/__init__.py +0 -0
  55. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/__init__.py +0 -0
  56. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/speech_transcribe_response.py +0 -0
  57. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/text_tone_mark_response.py +0 -0
  58. {spitch-1.24.1 → spitch-1.26.0}/src/spitch/types/text_translate_response.py +0 -0
  59. {spitch-1.24.1 → spitch-1.26.0}/tests/__init__.py +0 -0
  60. {spitch-1.24.1 → spitch-1.26.0}/tests/api_resources/__init__.py +0 -0
  61. {spitch-1.24.1 → spitch-1.26.0}/tests/api_resources/test_speech.py +0 -0
  62. {spitch-1.24.1 → spitch-1.26.0}/tests/api_resources/test_text.py +0 -0
  63. {spitch-1.24.1 → spitch-1.26.0}/tests/sample_file.txt +0 -0
  64. {spitch-1.24.1 → spitch-1.26.0}/tests/test_client.py +0 -0
  65. {spitch-1.24.1 → spitch-1.26.0}/tests/test_deepcopy.py +0 -0
  66. {spitch-1.24.1 → spitch-1.26.0}/tests/test_extract_files.py +0 -0
  67. {spitch-1.24.1 → spitch-1.26.0}/tests/test_files.py +0 -0
  68. {spitch-1.24.1 → spitch-1.26.0}/tests/test_qs.py +0 -0
  69. {spitch-1.24.1 → spitch-1.26.0}/tests/test_required_args.py +0 -0
  70. {spitch-1.24.1 → spitch-1.26.0}/tests/test_response.py +0 -0
  71. {spitch-1.24.1 → spitch-1.26.0}/tests/test_streaming.py +0 -0
  72. {spitch-1.24.1 → spitch-1.26.0}/tests/test_transform.py +0 -0
  73. {spitch-1.24.1 → spitch-1.26.0}/tests/test_utils/test_proxy.py +0 -0
  74. {spitch-1.24.1 → spitch-1.26.0}/tests/test_utils/test_typing.py +0 -0
  75. {spitch-1.24.1 → spitch-1.26.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.26.0"
3
+ }
@@ -1,5 +1,45 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.26.0 (2025-04-23)
4
+
5
+ Full Changelog: [v1.25.0...v1.26.0](https://github.com/spi-tch/spitch-python/compare/v1.25.0...v1.26.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** update via SDK Studio ([9e64faf](https://github.com/spi-tch/spitch-python/commit/9e64faf9bbbc57c8e44d1a347a64ef3396ed4472))
10
+ * **api:** update via SDK Studio ([2fc4429](https://github.com/spi-tch/spitch-python/commit/2fc442984db836b5432b07891ea9a777822a5cac))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **pydantic v1:** more robust ModelField.annotation check ([f5079d4](https://github.com/spi-tch/spitch-python/commit/f5079d48e4adc75593d5656512946569ca8f2932))
16
+
17
+
18
+ ### Chores
19
+
20
+ * **ci:** add timeout thresholds for CI jobs ([8dd6edf](https://github.com/spi-tch/spitch-python/commit/8dd6edf6523812a052ce8b900c387f4fc0928925))
21
+ * **client:** minor internal fixes ([d9a6927](https://github.com/spi-tch/spitch-python/commit/d9a69272125832cfab65cf88ede7527770e447f3))
22
+ * **internal:** base client updates ([b900090](https://github.com/spi-tch/spitch-python/commit/b9000901050f076ce2c2485c878ea7a8535c9257))
23
+ * **internal:** bump pyright version ([a281060](https://github.com/spi-tch/spitch-python/commit/a28106063e43b6f6d7d9af738a6cc4a0b0e2ebed))
24
+ * **internal:** fix list file params ([21ca206](https://github.com/spi-tch/spitch-python/commit/21ca2061b42069c0405e6302ab8841e7a7683670))
25
+ * **internal:** import reformatting ([65b55d9](https://github.com/spi-tch/spitch-python/commit/65b55d9ed72e5656b5cd70152d652295d3925b4b))
26
+ * **internal:** refactor retries to not use recursion ([be7d9aa](https://github.com/spi-tch/spitch-python/commit/be7d9aac3cd43ea510181717329acd4607c37c07))
27
+ * **internal:** update models test ([05a0518](https://github.com/spi-tch/spitch-python/commit/05a0518e8db6186e2c7ac031352b336f5c43e68d))
28
+ * **internal:** update pyright settings ([8df5838](https://github.com/spi-tch/spitch-python/commit/8df58385cb95aadcfe2b341cd7a49142b64d960e))
29
+
30
+ ## 1.25.0 (2025-04-14)
31
+
32
+ Full Changelog: [v1.24.1...v1.25.0](https://github.com/spi-tch/spitch-python/compare/v1.24.1...v1.25.0)
33
+
34
+ ### Features
35
+
36
+ * Update _base_client.py ([dca19f3](https://github.com/spi-tch/spitch-python/commit/dca19f316d3d1b59aa39012618c6700e8236c4a3))
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **api:** updates for https client ([dca19f3](https://github.com/spi-tch/spitch-python/commit/dca19f316d3d1b59aa39012618c6700e8236c4a3))
42
+
3
43
  ## 1.24.1 (2025-04-14)
4
44
 
5
45
  Full Changelog: [v1.24.0...v1.24.1](https://github.com/spi-tch/spitch-python/compare/v1.24.0...v1.24.1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.24.1
3
+ Version: 1.26.0
4
4
  Summary: The official Python library for the spitch API
5
5
  Project-URL: Homepage, https://github.com/spi-tch/spitch-python
6
6
  Project-URL: Repository, https://github.com/spi-tch/spitch-python
@@ -42,7 +42,7 @@ It is generated with [Stainless](https://www.stainless.com/).
42
42
 
43
43
  ## Documentation
44
44
 
45
- The REST API documentation can be found on [docs.spi-tch.com](https://docs.spi-tch.com). The full API of this library can be found in [api.md](https://github.com/spi-tch/spitch-python/tree/main/api.md).
45
+ The REST API documentation can be found on [docs.spitch.app](https://docs.spitch.app). The full API of this library can be found in [api.md](https://github.com/spi-tch/spitch-python/tree/main/api.md).
46
46
 
47
47
  ## Installation
48
48
 
@@ -10,7 +10,7 @@ It is generated with [Stainless](https://www.stainless.com/).
10
10
 
11
11
  ## Documentation
12
12
 
13
- The REST API documentation can be found on [docs.spi-tch.com](https://docs.spi-tch.com). The full API of this library can be found in [api.md](api.md).
13
+ The REST API documentation can be found on [docs.spitch.app](https://docs.spitch.app). The full API of this library can be found in [api.md](api.md).
14
14
 
15
15
  ## Installation
16
16
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "spitch"
3
- version = "1.24.1"
3
+ version = "1.26.0"
4
4
  description = "The official Python library for the spitch API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -43,7 +43,7 @@ Repository = "https://github.com/spi-tch/spitch-python"
43
43
  managed = true
44
44
  # version pins are in requirements-dev.lock
45
45
  dev-dependencies = [
46
- "pyright>=1.1.359",
46
+ "pyright==1.1.399",
47
47
  "mypy",
48
48
  "respx",
49
49
  "pytest",
@@ -148,6 +148,7 @@ exclude = [
148
148
  ]
149
149
 
150
150
  reportImplicitOverride = true
151
+ reportOverlappingOverload = false
151
152
 
152
153
  reportImportCycles = false
153
154
  reportPrivateUsage = false
@@ -69,7 +69,7 @@ pydantic-core==2.23.4
69
69
  # via pydantic
70
70
  pygments==2.18.0
71
71
  # via rich
72
- pyright==1.1.380
72
+ pyright==1.1.399
73
73
  pytest==8.3.3
74
74
  # via pytest-asyncio
75
75
  pytest-asyncio==0.24.0