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 details)
Built Distribution
File details
Details for the file anthropic-0.2.6.tar.gz
.
File metadata
- Download URL: anthropic-0.2.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253dca8484bca13eab08afa6b1e1d3f3451d6b65cc2be31c5cd4dac1a49a03f7 |
|
MD5 | 495aa4b9a8a9f01a223cec1fbf5a9f23 |
|
BLAKE2b-256 | db53dccdb772beb36f6aa90f3e763a7fd10350c60113081daecbbc4ed99d53c8 |
File details
Details for the file anthropic-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: anthropic-0.2.6-py3-none-any.whl
- Upload date:
- Size: 6.4 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 | bf4b69a9d25d573162accbe8aa9e022331c67a82519250ac30573ad506a1f663 |
|
MD5 | fb48bc31a2d4a471aa143b6a8c63c271 |
|
BLAKE2b-256 | b33cfc3e36069ede0c4458ec4efed8cab0df2e5984a1b97345fd7ea2cb6ae690 |