notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
py-anthropic Convenient access to the Anthropic REST API via python
0.49.0 misc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.40.0Version of this port present on the latest quarterly branch.
Maintainer: dch@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-05-22 14:00:19
Last Update: 2025-03-05 07:10:30
Commit Hash: 2786157
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://github.com/anthropics/anthropic-sdk-python
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.
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 py311-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 py311-anthropic listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-anthropic
Package flavors (<flavor>: <package>)
  • py311: py311-anthropic
distinfo:
TIMESTAMP = 1741093302 SHA256 (anthropic-0.49.0.tar.gz) = c09e885b0f674b9119b4f296d8508907f6cff0009bc20d5cf6b35936c40b4398 SIZE (anthropic-0.49.0.tar.gz) = 210016

Packages (timestamps in pop-ups are UTC):
py311-anthropic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.49.00.49.0--0.49.0---
FreeBSD:13:quarterly0.40.00.40.0-0.40.00.40.0---
FreeBSD:14:latest0.49.00.49.0--0.49.0---
FreeBSD:14:quarterly0.40.00.40.0-0.40.00.40.0---
FreeBSD:15:latest0.49.00.49.0n/a0.49.0n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatch-fancy-pypi-readme>=0 : devel/py-hatch-fancy-pypi-readme@py311
  2. py311-hatchling>=0 : devel/py-hatchling@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-anyio>=3.5 : devel/py-anyio@py311
  2. py311-cached-property>=1.2.0 : devel/py-cached-property@py311
  3. py311-distro>0 : sysutils/py-distro@py311
  4. py311-httpx>=0.23.0 : www/py-httpx@py311
  5. py311-jiter>=0.4.0<1 : textproc/py-jiter@py311
  6. py311-pydantic2>1.9.0 : devel/py-pydantic2@py311
  7. py311-sniffio>0 : devel/py-sniffio@py311
  8. py311-tokenizers>0 : textproc/py-tokenizers@py311
  9. py311-typing-extensions>=4.7 : devel/py-typing-extensions@py311
  10. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-llm-claude-3

Configuration Options:
No options to configure
Options name:
misc_py-anthropic
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/a/anthropic/
  2. https://pypi.org/packages/source/a/anthropic/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.49.0
05 Mar 2025 07:10:30
commit hash: 2786157f021bff5dbe83a9e2ac15516ac1d0d645commit hash: 2786157f021bff5dbe83a9e2ac15516ac1d0d645commit hash: 2786157f021bff5dbe83a9e2ac15516ac1d0d645commit hash: 2786157f021bff5dbe83a9e2ac15516ac1d0d645 files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-anthropic: update to 0.49.0

Sponsored by:	SkunkWerks, GmbH
Reported by:	portscout
0.40.0
14 Dec 2024 00:23:51
commit hash: 574e5f757e9f982cb901a54f2f05da9b4e06452acommit hash: 574e5f757e9f982cb901a54f2f05da9b4e06452acommit hash: 574e5f757e9f982cb901a54f2f05da9b4e06452acommit hash: 574e5f757e9f982cb901a54f2f05da9b4e06452a files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-anthropic: update to 0.40.0

Reported by:    portscout
Sponsored by:   SkunkWerks, GmbH
0.34.2
11 Sep 2024 05:54:25
commit hash: 6b3bc9709ed1e72c56cf45d406599768a5abe1aecommit hash: 6b3bc9709ed1e72c56cf45d406599768a5abe1aecommit hash: 6b3bc9709ed1e72c56cf45d406599768a5abe1aecommit hash: 6b3bc9709ed1e72c56cf45d406599768a5abe1ae files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-anthropic: update to 0.34.2

Sponsored by:	SkunkWerks, GmbH
0.26.0
22 May 2024 13:57:17
commit hash: 18ac24ac0e2b96b92c0d1c7f0574624daac3097ecommit hash: 18ac24ac0e2b96b92c0d1c7f0574624daac3097ecommit hash: 18ac24ac0e2b96b92c0d1c7f0574624daac3097ecommit hash: 18ac24ac0e2b96b92c0d1c7f0574624daac3097e files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
misc/py-anthropic: new port - REST-based SDK for Anthropic API

Number of commits found: 4