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-instructor Structured outputs for llms
1.7.9 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.6.8_2Version of this port present on the latest quarterly branch.
Maintainer: tagattie@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-01-12 07:30:07
Last Update: 2025-04-16 12:14:00
Commit Hash: 9e1984d
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
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: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.9
16 Apr 2025 12:14:00
commit hash: 9e1984d8412588d6c56fd078dbb99e96011a39d5commit hash: 9e1984d8412588d6c56fd078dbb99e96011a39d5commit hash: 9e1984d8412588d6c56fd078dbb99e96011a39d5commit hash: 9e1984d8412588d6c56fd078dbb99e96011a39d5 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
12 Apr 2025 19:20:30
commit hash: b1af7411c15059e5b204ea2310f9b96eef338415commit hash: b1af7411c15059e5b204ea2310f9b96eef338415commit hash: b1af7411c15059e5b204ea2310f9b96eef338415commit hash: b1af7411c15059e5b204ea2310f9b96eef338415 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-instructor: Fix build by removing the upper limit on py-rich dependency
0.6.8_2
25 Mar 2025 07:05:37
commit hash: 02d497c601ad01bb76b7a9b7214d127a4a41b5ebcommit hash: 02d497c601ad01bb76b7a9b7214d127a4a41b5ebcommit hash: 02d497c601ad01bb76b7a9b7214d127a4a41b5ebcommit hash: 02d497c601ad01bb76b7a9b7214d127a4a41b5eb files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
textproc/py-docstring-parser: Move to textproc/py-docstring_parser

* Rename the port to match upstream naming and remove DISTNAME, which is
  no longer needed.

* Bump PORTREVISION of dependent ports for dependency change.
0.6.8_1
04 Aug 2024 17:14:30
commit hash: c4f06e22dc5661eafe7c5adc312ebbbf61a5ee2dcommit hash: c4f06e22dc5661eafe7c5adc312ebbbf61a5ee2dcommit hash: c4f06e22dc5661eafe7c5adc312ebbbf61a5ee2dcommit hash: c4f06e22dc5661eafe7c5adc312ebbbf61a5ee2d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
misc/py-instructor: Change RUN_DEPENDS from py-tenacity to py-tenacity8

- Bump PORTREVISION for dependency change
0.6.8
03 Jun 2024 19:44:55
commit hash: d22e56667d357fc21efb737bc85f3a8ed9bd13f1commit hash: d22e56667d357fc21efb737bc85f3a8ed9bd13f1commit hash: d22e56667d357fc21efb737bc85f3a8ed9bd13f1commit hash: d22e56667d357fc21efb737bc85f3a8ed9bd13f1 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
misc/py-instructor: update to 0.6.8

Changelog:
- https://github.com/jxnl/instructor/releases/tag/0.5.0
- https://github.com/jxnl/instructor/releases/tag/0.5.1
- https://github.com/jxnl/instructor/releases/tag/0.5.2
- https://github.com/jxnl/instructor/releases/tag/0.6.0
- https://github.com/jxnl/instructor/releases/tag/0.6.1
- https://github.com/jxnl/instructor/releases/tag/0.6.2
- https://github.com/jxnl/instructor/releases/tag/0.6.3
- https://github.com/jxnl/instructor/releases/tag/0.6.4
- https://github.com/jxnl/instructor/releases/tag/0.6.5
- https://github.com/jxnl/instructor/releases/tag/0.6.6
- https://github.com/jxnl/instructor/releases/tag/0.6.7
- https://github.com/jxnl/instructor/releases/tag/0.6.8

Reported by:	portscout
0.4.8_1
19 May 2024 17:18:32
commit hash: 5f95f20d4418546741a3e04ea731afe55cc4c01bcommit hash: 5f95f20d4418546741a3e04ea731afe55cc4c01bcommit hash: 5f95f20d4418546741a3e04ea731afe55cc4c01bcommit hash: 5f95f20d4418546741a3e04ea731afe55cc4c01b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
misc/py-instructor: Allow build with py-typer 0.10.0+

- Bump PORTREVISION for package change

Obtained
from:	https://github.com/jxnl/instructor/commit/c6273700c9ef7eea4acb88ac9eebb559d300a6a2
Approved by:	tagattie (maintainer, via private mail)
0.4.8
04 Feb 2024 08:22:59
commit hash: 11ad785cf2cb0f661f98fc2c2366f7d99097a361commit hash: 11ad785cf2cb0f661f98fc2c2366f7d99097a361commit hash: 11ad785cf2cb0f661f98fc2c2366f7d99097a361commit hash: 11ad785cf2cb0f661f98fc2c2366f7d99097a361 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
misc/py-instructor: update to 0.4.8

Changelog: https://github.com/jxnl/instructor/releases/tag/0.4.8

Reported by:	Repology
0.4.7
17 Jan 2024 01:48:52
commit hash: c663593f27748073dcdb40d667241a30a6e2b552commit hash: c663593f27748073dcdb40d667241a30a6e2b552commit hash: c663593f27748073dcdb40d667241a30a6e2b552commit hash: c663593f27748073dcdb40d667241a30a6e2b552 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
misc/py-instructor: update to 0.4.7

Changelog: https://github.com/jxnl/instructor/releases/tag/0.4.7

Reported by:	portscout
0.4.6
12 Jan 2024 07:29:41
commit hash: ce37f9f1bd3475002d3e38f46454be198ce4ffa1commit hash: ce37f9f1bd3475002d3e38f46454be198ce4ffa1commit hash: ce37f9f1bd3475002d3e38f46454be198ce4ffa1commit hash: ce37f9f1bd3475002d3e38f46454be198ce4ffa1 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
misc/py-instructor: add port: Structured outputs for llms

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.

WWW: https://github.com/jxnl/instructor

Number of commits found: 9