Library for accessing the anthropic API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anthropic-0.2.7.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for anthropic-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5d807b54c43ad4812a82b8389412507d62574b06af79c25dc2433233f1ab50f |
|
MD5 | 51380459b9996dcffbf3a235ba7ca111 |
|
BLAKE2b-256 | a16d16b0bad5209d2fac1f7af5932a12e1171d8ac8d04380cfc6de70c19ceb41 |