spitch 1.36.0__tar.gz → 1.37.1__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 (89) hide show
  1. spitch-1.37.1/.release-please-manifest.json +3 -0
  2. {spitch-1.36.0 → spitch-1.37.1}/CHANGELOG.md +12 -0
  3. {spitch-1.36.0 → spitch-1.37.1}/PKG-INFO +1 -1
  4. {spitch-1.36.0 → spitch-1.37.1}/api.md +1 -1
  5. {spitch-1.36.0 → spitch-1.37.1}/pyproject.toml +1 -1
  6. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_typing.py +1 -0
  7. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_version.py +1 -1
  8. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/speech.py +4 -0
  9. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/speech_generate_params.py +2 -0
  10. {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_speech.py +2 -0
  11. spitch-1.36.0/.release-please-manifest.json +0 -3
  12. {spitch-1.36.0 → spitch-1.37.1}/.gitignore +0 -0
  13. {spitch-1.36.0 → spitch-1.37.1}/CONTRIBUTING.md +0 -0
  14. {spitch-1.36.0 → spitch-1.37.1}/LICENSE +0 -0
  15. {spitch-1.36.0 → spitch-1.37.1}/README.md +0 -0
  16. {spitch-1.36.0 → spitch-1.37.1}/SECURITY.md +0 -0
  17. {spitch-1.36.0 → spitch-1.37.1}/bin/check-release-environment +0 -0
  18. {spitch-1.36.0 → spitch-1.37.1}/bin/publish-pypi +0 -0
  19. {spitch-1.36.0 → spitch-1.37.1}/examples/.keep +0 -0
  20. {spitch-1.36.0 → spitch-1.37.1}/examples/example.py +0 -0
  21. {spitch-1.36.0 → spitch-1.37.1}/noxfile.py +0 -0
  22. {spitch-1.36.0 → spitch-1.37.1}/release-please-config.json +0 -0
  23. {spitch-1.36.0 → spitch-1.37.1}/requirements-dev.lock +0 -0
  24. {spitch-1.36.0 → spitch-1.37.1}/requirements.lock +0 -0
  25. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/__init__.py +0 -0
  26. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_base_client.py +0 -0
  27. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_client.py +0 -0
  28. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_compat.py +0 -0
  29. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_constants.py +0 -0
  30. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_exceptions.py +0 -0
  31. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_files.py +0 -0
  32. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_models.py +0 -0
  33. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_qs.py +0 -0
  34. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_resource.py +0 -0
  35. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_response.py +0 -0
  36. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_streaming.py +0 -0
  37. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_types.py +0 -0
  38. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/__init__.py +0 -0
  39. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_compat.py +0 -0
  40. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_datetime_parse.py +0 -0
  41. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_logs.py +0 -0
  42. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_proxy.py +0 -0
  43. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_reflection.py +0 -0
  44. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_resources_proxy.py +0 -0
  45. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_streams.py +0 -0
  46. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_sync.py +0 -0
  47. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_transform.py +0 -0
  48. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_utils.py +0 -0
  49. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/lib/.keep +0 -0
  50. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/pagination.py +0 -0
  51. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/py.typed +0 -0
  52. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/__init__.py +0 -0
  53. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/files.py +0 -0
  54. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/text.py +0 -0
  55. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/__init__.py +0 -0
  56. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/diacritics.py +0 -0
  57. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file.py +0 -0
  58. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_delete_response.py +0 -0
  59. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_download_params.py +0 -0
  60. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_download_response.py +0 -0
  61. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_list_params.py +0 -0
  62. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_upload_params.py +0 -0
  63. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_usage.py +0 -0
  64. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/files.py +0 -0
  65. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/speech_transcribe_params.py +0 -0
  66. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/text_tone_mark_params.py +0 -0
  67. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/text_translate_params.py +0 -0
  68. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/transcription.py +0 -0
  69. {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/translation.py +0 -0
  70. {spitch-1.36.0 → spitch-1.37.1}/tests/__init__.py +0 -0
  71. {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/__init__.py +0 -0
  72. {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_files.py +0 -0
  73. {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_text.py +0 -0
  74. {spitch-1.36.0 → spitch-1.37.1}/tests/conftest.py +0 -0
  75. {spitch-1.36.0 → spitch-1.37.1}/tests/sample_file.txt +0 -0
  76. {spitch-1.36.0 → spitch-1.37.1}/tests/test_client.py +0 -0
  77. {spitch-1.36.0 → spitch-1.37.1}/tests/test_deepcopy.py +0 -0
  78. {spitch-1.36.0 → spitch-1.37.1}/tests/test_extract_files.py +0 -0
  79. {spitch-1.36.0 → spitch-1.37.1}/tests/test_files.py +0 -0
  80. {spitch-1.36.0 → spitch-1.37.1}/tests/test_models.py +0 -0
  81. {spitch-1.36.0 → spitch-1.37.1}/tests/test_qs.py +0 -0
  82. {spitch-1.36.0 → spitch-1.37.1}/tests/test_required_args.py +0 -0
  83. {spitch-1.36.0 → spitch-1.37.1}/tests/test_response.py +0 -0
  84. {spitch-1.36.0 → spitch-1.37.1}/tests/test_streaming.py +0 -0
  85. {spitch-1.36.0 → spitch-1.37.1}/tests/test_transform.py +0 -0
  86. {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_datetime_parse.py +0 -0
  87. {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_proxy.py +0 -0
  88. {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_typing.py +0 -0
  89. {spitch-1.36.0 → spitch-1.37.1}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.37.1"
3
+ }
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.37.1 (2025-10-06)
4
+
5
+ Full Changelog: [v1.37.0...v1.37.1](https://github.com/spi-tch/spitch-python/compare/v1.37.0...v1.37.1)
6
+
7
+ ## 1.37.0 (2025-10-06)
8
+
9
+ Full Changelog: [v1.36.0...v1.37.0](https://github.com/spi-tch/spitch-python/compare/v1.36.0...v1.37.0)
10
+
11
+ ### Features
12
+
13
+ * **api:** manual updates ([c8f4f39](https://github.com/spi-tch/spitch-python/commit/c8f4f3942e2a9a7a2c3897a81288ab03e9172885))
14
+
3
15
  ## 1.36.0 (2025-10-06)
4
16
 
5
17
  Full Changelog: [v1.35.0...v1.36.0](https://github.com/spi-tch/spitch-python/compare/v1.35.0...v1.36.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.36.0
3
+ Version: 1.37.1
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
@@ -29,7 +29,7 @@ Methods:
29
29
  Types:
30
30
 
31
31
  ```python
32
- from spitch.types import File, Files, FileUsage, FileDeleteResponse, FileDownloadResponse
32
+ from spitch.types import File, FileUsage, Files, FileDeleteResponse, FileDownloadResponse
33
33
  ```
34
34
 
35
35
  Methods:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "spitch"
3
- version = "1.36.0"
3
+ version = "1.37.1"
4
4
  description = "The official Python library for the spitch API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,5 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
+ import typing_extensions, typing
3
4
  from typing import Any, TypeVar, Iterable, cast
4
5
  from collections import abc as _c_abc
5
6
  from typing_extensions import Required, Annotated, get_args, get_origin
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "spitch"
4
- __version__ = "1.36.0" # x-release-please-version
4
+ __version__ = "1.37.1" # x-release-please-version
@@ -81,6 +81,7 @@ class SpeechResource(SyncAPIResource):
81
81
  "tena",
82
82
  "tesfaye",
83
83
  ],
84
+ format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"] | Omit = omit,
84
85
  model: Optional[Literal["legacy"]] | Omit = omit,
85
86
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
86
87
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -109,6 +110,7 @@ class SpeechResource(SyncAPIResource):
109
110
  "language": language,
110
111
  "text": text,
111
112
  "voice": voice,
113
+ "format": format,
112
114
  "model": model,
113
115
  },
114
116
  speech_generate_params.SpeechGenerateParams,
@@ -222,6 +224,7 @@ class AsyncSpeechResource(AsyncAPIResource):
222
224
  "tena",
223
225
  "tesfaye",
224
226
  ],
227
+ format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"] | Omit = omit,
225
228
  model: Optional[Literal["legacy"]] | Omit = omit,
226
229
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
227
230
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -250,6 +253,7 @@ class AsyncSpeechResource(AsyncAPIResource):
250
253
  "language": language,
251
254
  "text": text,
252
255
  "voice": voice,
256
+ "format": format,
253
257
  "model": model,
254
258
  },
255
259
  speech_generate_params.SpeechGenerateParams,
@@ -40,4 +40,6 @@ class SpeechGenerateParams(TypedDict, total=False):
40
40
  ]
41
41
  ]
42
42
 
43
+ format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"]
44
+
43
45
  model: Optional[Literal["legacy"]]
@@ -47,6 +47,7 @@ class TestSpeech:
47
47
  language="yo",
48
48
  text="text",
49
49
  voice="sade",
50
+ format="wav",
50
51
  model="legacy",
51
52
  )
52
53
  assert speech.is_closed
@@ -159,6 +160,7 @@ class TestAsyncSpeech:
159
160
  language="yo",
160
161
  text="text",
161
162
  voice="sade",
163
+ format="wav",
162
164
  model="legacy",
163
165
  )
164
166
  assert speech.is_closed
@@ -1,3 +0,0 @@
1
- {
2
- ".": "1.36.0"
3
- }
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
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
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
File without changes