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 details)
Built Distribution
File details
Details for the file anthropic-0.2.4.tar.gz
.
File metadata
- Download URL: anthropic-0.2.4.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2041546470a9a2e897d6317627fdd7ea585245a3ff1ed1b054a47f63b4daa893 |
|
MD5 | 54c071e8d624741082f02c67f16124d8 |
|
BLAKE2b-256 | f522db58d7873766259616a59ff93a087c4cbb4f44b54c457595ea4f72a4fafc |
File details
Details for the file anthropic-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: anthropic-0.2.4-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f955435bfdecc94e5432d72492c38fd22a55647026de1518461b707dd3ae808 |
|
MD5 | ef41399c12ea252952be08a890af3d27 |
|
BLAKE2b-256 | 4a4c79d19f41e04186262311c253d132834ac20b4093cdad87d4451d031c0e0c |