|
7 | 7 | > [!NOTE] |
8 | 8 | > ## 🚀 Together Python SDK 2.0 is now available! |
9 | 9 | > |
| 10 | +> V1 is now considered deprecated and will be maintained in maintanence mode. All new features and development will occur in the 2.0 SDK. |
| 11 | +> |
10 | 12 | > Check out the new SDK: **[together-py](https://github.com/togethercomputer/together-py)** |
11 | 13 | > |
12 | 14 | > 📖 **Migration Guide:** [https://docs.together.ai/docs/pythonv2-migration-guide](https://docs.together.ai/docs/pythonv2-migration-guide) |
13 | 15 | > |
14 | | -> ### Install the Beta |
| 16 | +> ### Upgrade |
15 | 17 | > |
16 | 18 | > **Using uv (Recommended):** |
17 | 19 | > ```bash |
18 | | -> # Install uv if you haven't already |
19 | | -> curl -LsSf https://astral.sh/uv/install.sh | sh |
20 | | -> |
21 | | -> # Install together python SDK |
22 | | -> uv add together --prerelease allow |
23 | | -> |
24 | | -> # Or upgrade an existing installation |
25 | | -> uv sync --upgrade-package together --prerelease allow |
| 20 | +> uv sync --upgrade-package together |
26 | 21 | > ``` |
27 | 22 | > |
28 | 23 | > **Using pip:** |
29 | 24 | > ```bash |
30 | | -> pip install --pre together |
| 25 | +> pip install --upgrade together |
31 | 26 | > ``` |
32 | 27 | > |
33 | | -> This package will be maintained until January 2026. |
34 | 28 |
|
35 | | -# Together Python API library |
| 29 | +# Together V1 |
36 | 30 |
|
37 | 31 | [](https://pypi.org/project/together/) |
38 | 32 | [](https://discord.com/invite/9Rk6sSeWEG) |
39 | 33 | [](https://twitter.com/togethercompute) |
40 | 34 |
|
| 35 | +> Note: You are looking at the codebase for Together Python V1. The latest Together Python SDK can be found **[here.](https://github.com/togethercomputer/together-py)** |
| 36 | +
|
41 | 37 | The [Together Python API Library](https://pypi.org/project/together/) is the official Python client for Together's API platform, providing a convenient way for interacting with the REST APIs and enables easy integrations with Python 3.10+ applications with easy to use synchronous and asynchronous clients. |
42 | 38 |
|
43 | 39 |
|
44 | 40 |
|
45 | 41 | ## Installation |
46 | 42 |
|
47 | | -> 🚧 |
48 | | -> The Library was rewritten in v1.0.0 released in April of 2024. There were significant changes made. |
49 | | -
|
50 | 43 | To install Together Python Library from PyPI, simply run: |
51 | 44 |
|
52 | 45 | ```shell Shell |
53 | | -pip install --upgrade together |
| 46 | +pip install together |
54 | 47 | ``` |
55 | 48 |
|
56 | 49 | ### Setting up API Key |
|
0 commit comments