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.4.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for anthropic-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f955435bfdecc94e5432d72492c38fd22a55647026de1518461b707dd3ae808 |
|
MD5 | ef41399c12ea252952be08a890af3d27 |
|
BLAKE2b-256 | 4a4c79d19f41e04186262311c253d132834ac20b4093cdad87d4451d031c0e0c |