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.6.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for anthropic-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf4b69a9d25d573162accbe8aa9e022331c67a82519250ac30573ad506a1f663 |
|
MD5 | fb48bc31a2d4a471aa143b6a8c63c271 |
|
BLAKE2b-256 | b33cfc3e36069ede0c4458ec4efed8cab0df2e5984a1b97345fd7ea2cb6ae690 |