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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q3
py-openai Python client library for the OpenAI API
1.98.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 1.73.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-02-28 01:30:24
Last Update: 2025-07-31 09:00:27
Commit Hash: 4cfae6e
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: MIT
WWW:
https://github.com/openai/openai-python
Description:
The OpenAI Python library provides convenient access to the OpenAI API from applications written in the Python language.
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}openai>0:misc/py-openai@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-openai/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-openai
  • pkg install py311-openai
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-openai listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-openai
Package flavors (<flavor>: <package>)
  • py311: py311-openai
distinfo:
TIMESTAMP = 1753952257 SHA256 (openai-1.98.0.tar.gz) = 3ee0fcc50ae95267fd22bd1ad095ba5402098f3df2162592e68109999f685427 SIZE (openai-1.98.0.tar.gz) = 496695

Packages (timestamps in pop-ups are UTC):
py39-openai
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------1.6.1-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------1.6.1-
FreeBSD:15:latest--n/a-n/a-1.9.0-
 

py311-openai
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.73.01.97.0-1.73.01.97.0---
FreeBSD:13:quarterly1.73.01.73.0-1.70.01.73.0---
FreeBSD:14:latest1.73.01.97.0-1.73.01.97.0---
FreeBSD:14:quarterly1.73.01.73.0-1.73.01.73.0---
FreeBSD:15:latest1.73.01.73.0n/a1.73.0n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-hatch-fancy-pypi-readme>=0 : devel/py-hatch-fancy-pypi-readme@py311
  3. py311-hatchling>0 : devel/py-hatchling@py311
  4. py311-wheel>0 : devel/py-wheel@py311
  5. python3.11 : lang/python311
  6. py311-build>=0 : devel/py-build@py311
  7. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-azure-identity>0 : devel/py-azure-identity@py311
  2. py311-dirty-equals>=0.6.0 : devel/py-dirty-equals@py311
  3. py311-importlib-metadata>=6.7.0 : devel/py-importlib-metadata@py311
  4. py311-mypy>0 : devel/py-mypy@py311
  5. py311-pyright>=1.1.359 : devel/py-pyright@py311
  6. py311-pytest-asyncio>0 : devel/py-pytest-asyncio@py311
  7. py311-respx>0 : www/py-respx@py311
  8. py311-rich>=13.7.1 : textproc/py-rich@py311
  9. py311-ruff>0 : devel/py-ruff@py311
  10. py311-time-machine>=0 : devel/py-time-machine@py311
  11. py311-trio>=0.22.2 : net/py-trio@py311
  12. py311-pytest>=7,1 : devel/py-pytest@py311
  13. python3.11 : lang/python311
Runtime dependencies:
  1. py311-anyio>=3.5.0 : devel/py-anyio@py311
  2. py311-distro>=1.7.0 : sysutils/py-distro@py311
  3. py311-httpx>=0.23.0 : www/py-httpx@py311
  4. py311-pydantic2>=1.9.0<3 : devel/py-pydantic2@py311
  5. py311-sniffio>0 : devel/py-sniffio@py311
  6. py311-tqdm>4 : misc/py-tqdm@py311
  7. py311-typing-extensions>=4.11 : devel/py-typing-extensions@py311
  8. py311-jiter>=0.4.0 : textproc/py-jiter@py311
  9. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  10. py311-pandas>=1.2.3 : math/py-pandas@py311
  11. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/alpaca
  2. misc/py-aider-chat
  3. misc/py-instructor
  4. misc/py-langchain-openai
  5. misc/py-litellm
  6. misc/py-llm
  7. misc/py-shell-gpt

Configuration Options:
No options to configure
Options name:
misc_py-openai
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/o/openai/
  2. https://pypi.org/packages/source/o/openai/
Collapse this list.

There are no commits on branch 2024Q3 for this port