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 2025Q2
py-instructor Structured outputs for llms
1.7.9 misc on this many watch lists=0 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.7.9Version of this port present on the latest quarterly branch.
Maintainer: tagattie@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-04-22 12:03:06
Last Update: 2025-05-17 12:05:23
Commit Hash: e402551
Also Listed In: python
License: MIT
WWW:
https://python.useinstructor.com/
Description:
Structured extraction in Python, powered by OpenAI's function calling API, designed for simplicity, transparency, and control. Dive into the world of Python-based structured extraction, empowered by OpenAI's cutting-edge function calling API. Instructor stands out for its simplicity, transparency, and user-centric design. Whether you're a seasoned developer or just starting out, you'll find Instructor's approach intuitive and its results insightful.
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}instructor>0:misc/py-instructor@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-instructor/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-instructor
  • pkg install py311-instructor
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-instructor listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-instructor
Package flavors (<flavor>: <package>)
  • py311: py311-instructor
distinfo:
TIMESTAMP = 1744710464 SHA256 (instructor-1.7.9.tar.gz) = 3b7ff9119b386ebdc3c683a8af3c6461f424b9d80795d5e12676990b8379dd8a SIZE (instructor-1.7.9.tar.gz) = 69063860

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>0 : devel/py-hatchling@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-openai>=1.52.0<2.0.0 : misc/py-openai@py311
  2. py311-pydantic2>=2.8.0<3.0.0 : devel/py-pydantic2@py311
  3. py311-docstring_parser>=0.16<1.0 : textproc/py-docstring_parser@py311
  4. py311-typer>=0.9.0<1.0.0 : devel/py-typer@py311
  5. py311-rich>=13.7.0 : textproc/py-rich@py311
  6. py311-aiohttp>=3.9.1<4.0.0 : www/py-aiohttp@py311
  7. py311-tenacity>=9.0.0<10.0.0 : devel/py-tenacity@py311
  8. py311-pydantic-core>=2.18.0<3.0.0 : devel/py-pydantic-core@py311
  9. py311-jiter>=0.6.1 : textproc/py-jiter@py311
  10. py311-Jinja2>=3.1.4<4.0.0 : devel/py-Jinja2@py311
  11. py311-requests>=2.32.3<3.0.0 : www/py-requests@py311
  12. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-shell-gpt

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

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.9
17 May 2025 12:05:23
commit hash: e402551f485b20f1fb5cd41ce01065622be5f1f7commit hash: e402551f485b20f1fb5cd41ce01065622be5f1f7commit hash: e402551f485b20f1fb5cd41ce01065622be5f1f7commit hash: e402551f485b20f1fb5cd41ce01065622be5f1f7 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
misc/py-instructor: update to 1.7.9

While here, update WWW.

Changelog:
- https://github.com/instructor-ai/instructor/releases/tag/1.0.0
- https://github.com/instructor-ai/instructor/releases/tag/1.0.1
- https://github.com/instructor-ai/instructor/releases/tag/1.0.2
- https://github.com/instructor-ai/instructor/releases/tag/1.0.3
- https://github.com/instructor-ai/instructor/releases/tag/1.1.0
- https://github.com/instructor-ai/instructor/releases/tag/1.2.0
- https://github.com/instructor-ai/instructor/releases/tag/1.2.1
- https://github.com/instructor-ai/instructor/releases/tag/1.2.2
- https://github.com/instructor-ai/instructor/releases/tag/1.2.3
- https://github.com/instructor-ai/instructor/releases/tag/1.2.4
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.8_2
22 Apr 2025 12:00:35
commit hash: 170b7b93bf77499ac9a32a74c44dd26d768f9ab6commit hash: 170b7b93bf77499ac9a32a74c44dd26d768f9ab6commit hash: 170b7b93bf77499ac9a32a74c44dd26d768f9ab6commit hash: 170b7b93bf77499ac9a32a74c44dd26d768f9ab6 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
Author: Yuri Victorovich
misc/py-instructor: Fix build by removing the upper limit on py-rich dependency

(cherry picked from commit b1af7411c15059e5b204ea2310f9b96eef338415)

Number of commits found: 2