spitch 1.33.0__tar.gz → 1.34.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 (76) hide show
  1. spitch-1.34.0/.release-please-manifest.json +3 -0
  2. {spitch-1.33.0 → spitch-1.34.0}/CHANGELOG.md +10 -0
  3. {spitch-1.33.0 → spitch-1.34.0}/PKG-INFO +10 -3
  4. {spitch-1.33.0 → spitch-1.34.0}/README.md +9 -2
  5. {spitch-1.33.0 → spitch-1.34.0}/pyproject.toml +1 -1
  6. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_version.py +1 -1
  7. spitch-1.33.0/.release-please-manifest.json +0 -3
  8. {spitch-1.33.0 → spitch-1.34.0}/.gitignore +0 -0
  9. {spitch-1.33.0 → spitch-1.34.0}/CONTRIBUTING.md +0 -0
  10. {spitch-1.33.0 → spitch-1.34.0}/LICENSE +0 -0
  11. {spitch-1.33.0 → spitch-1.34.0}/SECURITY.md +0 -0
  12. {spitch-1.33.0 → spitch-1.34.0}/api.md +0 -0
  13. {spitch-1.33.0 → spitch-1.34.0}/bin/check-release-environment +0 -0
  14. {spitch-1.33.0 → spitch-1.34.0}/bin/publish-pypi +0 -0
  15. {spitch-1.33.0 → spitch-1.34.0}/examples/.keep +0 -0
  16. {spitch-1.33.0 → spitch-1.34.0}/examples/example.py +0 -0
  17. {spitch-1.33.0 → spitch-1.34.0}/mypy.ini +0 -0
  18. {spitch-1.33.0 → spitch-1.34.0}/noxfile.py +0 -0
  19. {spitch-1.33.0 → spitch-1.34.0}/release-please-config.json +0 -0
  20. {spitch-1.33.0 → spitch-1.34.0}/requirements-dev.lock +0 -0
  21. {spitch-1.33.0 → spitch-1.34.0}/requirements.lock +0 -0
  22. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/__init__.py +0 -0
  23. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_base_client.py +0 -0
  24. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_client.py +0 -0
  25. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_compat.py +0 -0
  26. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_constants.py +0 -0
  27. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_exceptions.py +0 -0
  28. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_files.py +0 -0
  29. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_models.py +0 -0
  30. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_qs.py +0 -0
  31. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_resource.py +0 -0
  32. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_response.py +0 -0
  33. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_streaming.py +0 -0
  34. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_types.py +0 -0
  35. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/__init__.py +0 -0
  36. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_logs.py +0 -0
  37. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_proxy.py +0 -0
  38. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_reflection.py +0 -0
  39. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_resources_proxy.py +0 -0
  40. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_streams.py +0 -0
  41. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_sync.py +0 -0
  42. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_transform.py +0 -0
  43. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_typing.py +0 -0
  44. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/_utils/_utils.py +0 -0
  45. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/lib/.keep +0 -0
  46. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/py.typed +0 -0
  47. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/resources/__init__.py +0 -0
  48. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/resources/speech.py +0 -0
  49. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/resources/text.py +0 -0
  50. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/__init__.py +0 -0
  51. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/speech_generate_params.py +0 -0
  52. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/speech_transcribe_params.py +0 -0
  53. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/speech_transcribe_response.py +0 -0
  54. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/text_tone_mark_params.py +0 -0
  55. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/text_tone_mark_response.py +0 -0
  56. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/text_translate_params.py +0 -0
  57. {spitch-1.33.0 → spitch-1.34.0}/src/spitch/types/text_translate_response.py +0 -0
  58. {spitch-1.33.0 → spitch-1.34.0}/tests/__init__.py +0 -0
  59. {spitch-1.33.0 → spitch-1.34.0}/tests/api_resources/__init__.py +0 -0
  60. {spitch-1.33.0 → spitch-1.34.0}/tests/api_resources/test_speech.py +0 -0
  61. {spitch-1.33.0 → spitch-1.34.0}/tests/api_resources/test_text.py +0 -0
  62. {spitch-1.33.0 → spitch-1.34.0}/tests/conftest.py +0 -0
  63. {spitch-1.33.0 → spitch-1.34.0}/tests/sample_file.txt +0 -0
  64. {spitch-1.33.0 → spitch-1.34.0}/tests/test_client.py +0 -0
  65. {spitch-1.33.0 → spitch-1.34.0}/tests/test_deepcopy.py +0 -0
  66. {spitch-1.33.0 → spitch-1.34.0}/tests/test_extract_files.py +0 -0
  67. {spitch-1.33.0 → spitch-1.34.0}/tests/test_files.py +0 -0
  68. {spitch-1.33.0 → spitch-1.34.0}/tests/test_models.py +0 -0
  69. {spitch-1.33.0 → spitch-1.34.0}/tests/test_qs.py +0 -0
  70. {spitch-1.33.0 → spitch-1.34.0}/tests/test_required_args.py +0 -0
  71. {spitch-1.33.0 → spitch-1.34.0}/tests/test_response.py +0 -0
  72. {spitch-1.33.0 → spitch-1.34.0}/tests/test_streaming.py +0 -0
  73. {spitch-1.33.0 → spitch-1.34.0}/tests/test_transform.py +0 -0
  74. {spitch-1.33.0 → spitch-1.34.0}/tests/test_utils/test_proxy.py +0 -0
  75. {spitch-1.33.0 → spitch-1.34.0}/tests/test_utils/test_typing.py +0 -0
  76. {spitch-1.33.0 → spitch-1.34.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.34.0"
3
+ }
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.34.0 (2025-08-05)
4
+
5
+ Full Changelog: [v1.33.0...v1.34.0](https://github.com/spi-tch/spitch-python/compare/v1.33.0...v1.34.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** update via SDK Studio ([e1eddc1](https://github.com/spi-tch/spitch-python/commit/e1eddc115253f0d959068f0096abbbad58e1ca41))
10
+ * **api:** update via SDK Studio ([fc00ced](https://github.com/spi-tch/spitch-python/commit/fc00ceda503d7721e38daaba609625f1b44613ae))
11
+ * **api:** update via SDK Studio ([910add6](https://github.com/spi-tch/spitch-python/commit/910add6ee71ff113f4471677094d5e385585e70c))
12
+
3
13
  ## 1.33.0 (2025-08-02)
4
14
 
5
15
  Full Changelog: [v1.32.0...v1.33.0](https://github.com/spi-tch/spitch-python/compare/v1.32.0...v1.33.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.33.0
3
+ Version: 1.34.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
@@ -61,9 +61,12 @@ pip install spitch
61
61
  The full API of this library can be found in [api.md](https://github.com/spi-tch/spitch-python/tree/main/api.md).
62
62
 
63
63
  ```python
64
+ import os
64
65
  from spitch import Spitch
65
66
 
66
- client = Spitch()
67
+ client = Spitch(
68
+ api_key=os.environ.get("SPITCH_API_KEY"), # This is the default and can be omitted
69
+ )
67
70
 
68
71
  response = client.speech.generate(
69
72
  language="yo",
@@ -82,10 +85,13 @@ so that your API Key is not stored in source control.
82
85
  Simply import `AsyncSpitch` instead of `Spitch` and use `await` with each API call:
83
86
 
84
87
  ```python
88
+ import os
85
89
  import asyncio
86
90
  from spitch import AsyncSpitch
87
91
 
88
- client = AsyncSpitch()
92
+ client = AsyncSpitch(
93
+ api_key=os.environ.get("SPITCH_API_KEY"), # This is the default and can be omitted
94
+ )
89
95
 
90
96
 
91
97
  async def main() -> None:
@@ -122,6 +128,7 @@ from spitch import AsyncSpitch
122
128
 
123
129
  async def main() -> None:
124
130
  async with AsyncSpitch(
131
+ api_key="My API Key",
125
132
  http_client=DefaultAioHttpClient(),
126
133
  ) as client:
127
134
  response = await client.speech.generate(
@@ -25,9 +25,12 @@ pip install spitch
25
25
  The full API of this library can be found in [api.md](api.md).
26
26
 
27
27
  ```python
28
+ import os
28
29
  from spitch import Spitch
29
30
 
30
- client = Spitch()
31
+ client = Spitch(
32
+ api_key=os.environ.get("SPITCH_API_KEY"), # This is the default and can be omitted
33
+ )
31
34
 
32
35
  response = client.speech.generate(
33
36
  language="yo",
@@ -46,10 +49,13 @@ so that your API Key is not stored in source control.
46
49
  Simply import `AsyncSpitch` instead of `Spitch` and use `await` with each API call:
47
50
 
48
51
  ```python
52
+ import os
49
53
  import asyncio
50
54
  from spitch import AsyncSpitch
51
55
 
52
- client = AsyncSpitch()
56
+ client = AsyncSpitch(
57
+ api_key=os.environ.get("SPITCH_API_KEY"), # This is the default and can be omitted
58
+ )
53
59
 
54
60
 
55
61
  async def main() -> None:
@@ -86,6 +92,7 @@ from spitch import AsyncSpitch
86
92
 
87
93
  async def main() -> None:
88
94
  async with AsyncSpitch(
95
+ api_key="My API Key",
89
96
  http_client=DefaultAioHttpClient(),
90
97
  ) as client:
91
98
  response = await client.speech.generate(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "spitch"
3
- version = "1.33.0"
3
+ version = "1.34.0"
4
4
  description = "The official Python library for the spitch API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -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.33.0" # x-release-please-version
4
+ __version__ = "1.34.0" # x-release-please-version
@@ -1,3 +0,0 @@
1
- {
2
- ".": "1.33.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
File without changes