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.5.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for anthropic-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a840fbc7e0da005d2ca1a5db09860d7e6f70a18a003c54a1f050bcd6bdb993ee |
|
MD5 | 7b7820a8c6259b5d0b3e3d2823b7dcac |
|
BLAKE2b-256 | 009d0a87a0c1cdf4f49d869e9394f6946be4d0baa3906c3b3a002eb0093e08fe |