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
Port details
py-anthropic Convenient access to the Anthropic REST API via python
0.40.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.34.2Version 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: 2024-12-14 00:23:51
Commit Hash: 574e5f7
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 = 1733908031 SHA256 (anthropic-0.40.0.tar.gz) = 3efeca6d9e97813f93ed34322c6c7ea2279bf0824cd0aa71b59ce222665e2b87 SIZE (anthropic-0.40.0.tar.gz) = 190939

Packages (timestamps in pop-ups are UTC):
py311-anthropic
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.34.20.40.0-0.34.20.40.0---
FreeBSD:13:quarterly0.34.20.34.2--0.34.2---
FreeBSD:14:latest0.34.20.40.0-0.34.20.40.0---
FreeBSD:14:quarterly0.34.20.34.2--0.34.2---
FreeBSD:15:latest0.40.00.40.0n/a0.34.2n/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-pydantic2>1.9.0 : devel/py-pydantic2@py311
  6. py311-sniffio>0 : devel/py-sniffio@py311
  7. py311-tokenizers>0 : textproc/py-tokenizers@py311
  8. py311-typing-extensions>=4.7 : devel/py-typing-extensions@py311
  9. 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: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 3