Port details
py-anthropic Convenient access to the Anthropic REST API via python
2.9.0 misc Σ =0 1.8.0Version of this port present on the latest quarterly branch. Maintainer: olivier@FreeBSD.org Port Added: 2024-05-22 14:00:19
Last Update: 2026-11-17 08:19:55
Commit Hash: 00b30c7
Also Listed In: python
License: MIT
WWW: https://github.com/anthropics/anthropic-sdk-python 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. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # There is no configure plist information for this port. USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
${PYTHON_PKGNAMEPREFIX}anthropic>0:misc/py-anthropic@${PY_FLAVOR} To install the port : # cd /usr/ports/misc/py-anthropic/ && make install clean To add the package , run one of these commands: pkg install misc/py-anthropic pkg install py312-anthropic NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-anthropic listed in the above command, you can pick from the names under the Packages section.PKGNAME: py312-anthropic Package flavors (<flavor>: <package> ) # distinfo: # TIMESTAMP = 1794899418
SHA256 (anthropic-2.9.0.tar.gz) = 0a3379add94953db2dc736839bbafb0c624f6bec69caf13e44353d906c253981
SIZE (anthropic-2.9.0.tar.gz) = 1993336
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
py312-hatch-fancy-pypi-readme>=0 : devel/py-hatch-fancy-pypi-readme@py312 py312-hatchling>=0 : devel/py-hatchling@py312 py312-wheel>0 : devel/py-wheel@py312 python3.12 : lang/python312 py312-build>=0 : devel/py-build@py312 py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
python3.12 : lang/python312
Runtime dependencies: #
py312-anyio>=4.1.0 : devel/py-anyio@py312 py312-docstring_parser>=0.15 : textproc/py-docstring_parser@py312 py312-httpx2>=2.0.0 : www/py-httpx2@py312 py312-jiter>=0.4.0 : textproc/py-jiter@py312 py312-opentelemetry-api>=1.1.0 : devel/py-opentelemetry-api@py312 py312-pydantic2>=1.10.0 : devel/py-pydantic2@py312 py312-sniffio>=0 : devel/py-sniffio@py312 py312-typing-extensions>=4.14 : devel/py-typing-extensions@py312 python3.12 : lang/python312
This port is required by: # for Run #
misc/hermes-agent
misc/py-langchain-anthropic
misc/py-llm-claude-3
misc/py-vllm
for Test #
misc/py-ag2
misc/py-fastmcp
misc/py-langchain-aws
Configuration Options : #
No options to configure Options name : #
misc_py-anthropic USES: #
python:3.11+
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
2.9.0 17 Nov 2026 08:19:55
Olivier Cochard (olivier)
misc/py-anthropic: update to 2.9.0
2.6.0 06 Nov 2026 16:50:36
Olivier Cochard (olivier)
misc/py-anthropic: update to 2.6.0
1.15.0 17 Oct 2026 08:06:37
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.15.0
1.12.1 08 Oct 2026 18:20:13
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.12.1
1.11.0 04 Oct 2026 13:13:56
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.11.0
1.8.0 30 Sep 2026 20:01:00
Rene Ladan (rene)
all: bump USES=python version to 3.11+ in preparation of removing lang/python310
1.8.0 23 Sep 2026 14:00:40
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.8.0
1.5.0 14 Sep 2026 09:06:37
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.5.0
1.4.0 05 Sep 2026 06:36:53
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.4.0
1.2.0 30 Aug 2026 05:44:26
Olivier Cochard (olivier)
misc/py-anthropic: update to 1.2.0
0.120.2 04 Aug 2026 14:10:58
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.120.2
0.120.0 26 Jul 2026 18:43:03
Yuri Victorovich (yuri)
misc/py-anthropic: update 0.116.0 → 0.120.0
0.116.0 08 Jul 2026 23:10:58
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.116.0
0.115.0 02 Jul 2026 15:14:26
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.115.0
0.112.0 25 Jun 2026 15:05:21
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.112.0
0.109.2 17 Jun 2026 00:59:41
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.109.2
0.109.1 11 Jun 2026 01:16:28
Olivier Cochard (olivier)
misc/py-anthropic: update to 0.109.1
0.107.0 08 Jun 2026 21:19:56
Olivier Cochard (olivier)
misc/py-anthropic: Update to 0.107.0
0.104.0 26 May 2026 19:51:23
Olivier Cochard (olivier)
misc/py-anthropic: Update to 0.104.0
0.100.0 07 May 2026 19:44:55
Olivier Cochard (olivier)
misc/py-anthropic: Update to 0.100.0
Reported by: portscout
0.64.0 05 May 2026 10:46:30
Dave Cottlehuber (dch)
misc/py-anthropic: return to pool
0.64.0 29 Sep 2025 15:57:13
Dave Cottlehuber (dch)
misc/py-anthropic: update to 0.64.0
Sponsored by: SkunkWerks, GmbH
Reported by: yuri
0.52.2 28 Sep 2025 01:47:29
Yuri Victorovich (yuri)
misc/py-anthropic: Fix build by relaxing the hatchling dependency version
requirement
Reported by: fallout
Approved by: portmgr (blanket unbreak)
0.52.2 10 Jun 2025 13:37:30
Dave Cottlehuber (dch)
misc/py-anthropic: update to 0.53.0
Reported by: portscout
Sponsored by: SkunkWerks, GmbH
0.49.0 05 Mar 2025 07:10:30
Dave Cottlehuber (dch)
misc/py-anthropic: update to 0.49.0
Sponsored by: SkunkWerks, GmbH
Reported by: portscout
0.40.0 14 Dec 2024 00:23:51
Dave Cottlehuber (dch)
misc/py-anthropic: update to 0.40.0
Reported by: portscout
Sponsored by: SkunkWerks, GmbH
0.34.2 11 Sep 2024 05:54:25
Dave Cottlehuber (dch)
misc/py-anthropic: update to 0.34.2
Sponsored by: SkunkWerks, GmbH
0.26.0 22 May 2024 13:57:17
Dave Cottlehuber (dch)
misc/py-anthropic: new port - REST-based SDK for Anthropic API