misc/py-anthropic 1.15.0 FreeBSD
Convenient access to the Anthropic REST API via python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
af2fb23509- License
- MIT
- Categories
- misc, python
- Package size
- 1703.4 KiB, 16518.9 KiB installed
Description
The Anthropic Python library provides convenient access to the Anthropic REST API from any Python application. It includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.
The REST API documentation can be found on docs.anthropic.com.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/py-anthropic | 1.15.0 |
| DragonFly | misc/py-anthropic | 0.49.0 |
Install
Binary package:
pkg install py312-anthropic
From the ports tree:
cd /usr/ports/misc/py-anthropic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-anthropic>0:misc/py-anthropic
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12.1 | 1.12.1 | - | - | 1.15.0 |
| FreeBSD:14:quarterly | 1.8.0 | 1.8.0 | n/a | - | 1.8.0 |
| FreeBSD:15:latest | 1.12.1 | 1.15.0 | n/a | - | - |
| FreeBSD:15:quarterly | 1.8.0 | 1.8.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.0 | 1.15.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0: devel/py-hatch-fancy-pypi-readme${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 8
${PYTHON_PKGNAMEPREFIX}anyio>=4.1.0: devel/py-anyio${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15: textproc/py-docstring_parser${PYTHON_PKGNAMEPREFIX}httpx2>=2.0.0: www/py-httpx2${PYTHON_PKGNAMEPREFIX}jiter>=0.4.0: textproc/py-jiter${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.1.0: devel/py-opentelemetry-api${PYTHON_PKGNAMEPREFIX}pydantic2>=1.10.0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}sniffio>=0: devel/py-sniffio${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 21
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-fancy-pypi-readme
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/py-wheel
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 26
- devel/gettext-runtime
- devel/libffi
- devel/py-annotated-types
- devel/py-anyio
- devel/py-opentelemetry-api
- devel/py-pydantic-core
- devel/py-pydantic2
- devel/py-sniffio
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-h11
- net/py-socksio
- print/indexinfo
- security/py-truststore
- textproc/expat2
- textproc/py-docstring_parser
- textproc/py-jiter
- www/py-h2
- www/py-hpack
- www/py-httpcore2
- www/py-httpx2
- www/py-hyperframe
Configuration
No options to configure.
- USES
- python:3.11+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| anthropic-1.15.0.tar.gz | 1.726101e+06 | 90caa9df83e2fc8bddb4ddeb83b7191bce255f635c03eae055deec521741df08 |
Master sites 1
- PYPI
Commit history 12
The latest 5 of 12 in the history this site was built from.