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 the confidential documentation portal.
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.3.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file anthropic-0.2.3.tar.gz
.
File metadata
- Download URL: anthropic-0.2.3.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d4f8d21c54d23d476d5ef72510b50126108f9b0bdc45b9d5d2e2b34204d56ad |
|
MD5 | cdffbe129accccda8539007572179c4a |
|
BLAKE2b-256 | d782483c5e115c8e4718c17bb3ac02154a63eac94ac0c6c030cde6633692ed92 |
File details
Details for the file anthropic-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: anthropic-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.3 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 | 51cc9e3c5c0fc39b62af64b0607fd0da1622c7815fed89d0a52d80ebe0e60f3a |
|
MD5 | d7365146d29f43000b81cfc7b309c899 |
|
BLAKE2b-256 | b5fb39d9f5d297209186799b09400fad8dc8bd8be649566707cfe7fde7696240 |