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.6
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.6.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anthropic-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / anthropic-0.2.6.tar.gz
| Download URL | anthropic-0.2.6.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
253dca8484bca13eab08afa6b1e1d3f3451d6b65cc2be31c5cd4dac1a49a03f7
|
|
BLAKE2b-256 checksum How to use checksums |
db53dccdb772beb36f6aa90f3e763a7fd10350c60113081daecbbc4ed99d53c8
|
| 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.6-py3-none-any.whl
| Download URL | anthropic-0.2.6-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf4b69a9d25d573162accbe8aa9e022331c67a82519250ac30573ad506a1f663
|
|
BLAKE2b-256 checksum How to use checksums |
b33cfc3e36069ede0c4458ec4efed8cab0df2e5984a1b97345fd7ea2cb6ae690
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|