Anthropic Python SDK
This python repo provides access to Anthropic's safety-first language model APIs.
For more information on our APIs, please check out Anthropic's documentation.
How to use
pip install .
export ANTHROPIC_API_KEY=<insert token here>
python examples/basic_sync.py
python examples/basic_stream.py
python examples/count_tokens.py
Metadata
Release files for anthropic 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anthropic-0.2.5.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anthropic-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / anthropic-0.2.5.tar.gz
| Download URL | anthropic-0.2.5.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
318eb0dd4ba8f4e4cf86a656417ffc34f3ad87973051f85b0934400ca8e6a128
|
|
BLAKE2b-256 checksum How to use checksums |
3b5071e5daa0e8876de49c92c3e0cabbe86e402d66075245c227a48947917c15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / anthropic-0.2.5-py3-none-any.whl
| Download URL | anthropic-0.2.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a840fbc7e0da005d2ca1a5db09860d7e6f70a18a003c54a1f050bcd6bdb993ee
|
|
BLAKE2b-256 checksum How to use checksums |
009d0a87a0c1cdf4f49d869e9394f6946be4d0baa3906c3b3a002eb0093e08fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|