misc/py-instructor 1.17.0 FreeBSD
Structured outputs for llms
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
70a84dd93b- License
- MIT
- Categories
- misc, python
- Package size
- 453.5 KiB, 3040.4 KiB installed
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.
Install
Binary package:
pkg install py312-instructor
From the ports tree:
cd /usr/ports/misc/py-instructor/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-instructor>0:misc/py-instructor
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.17.0 | 1.17.0 | - | 1.10.0 | 1.17.0 |
| FreeBSD:14:quarterly | 1.17.0 | 1.17.0 | n/a | 1.9.0 | 1.17.0 |
| FreeBSD:15:latest | 1.17.0 | 1.17.0 | n/a | 1.10.0 | 1.10.0 |
| FreeBSD:15:quarterly | 1.17.0 | 1.17.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.17.0 | 1.17.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 15
${PYTHON_PKGNAMEPREFIX}openai>=2.0.0<4.0.0: misc/py-openai${PYTHON_PKGNAMEPREFIX}pydantic2>=2.8.0<3.0.0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.16<1.0: textproc/py-docstring_parser${PYTHON_PKGNAMEPREFIX}typer>=0.9.0<1.0.0: devel/py-typer${PYTHON_PKGNAMEPREFIX}rich>=13.7.0<16.0.0: textproc/py-rich${PYTHON_PKGNAMEPREFIX}aiohttp>=3.14.3<4.0.0: www/py-aiohttp${PYTHON_PKGNAMEPREFIX}tenacity>=8.2.3<10.0.0: devel/py-tenacity${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.18.0<3.0.0: devel/py-pydantic-core${PYTHON_PKGNAMEPREFIX}jiter>=0.6.1<1.0: textproc/py-jiter${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.4<4.0.0: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}requests>=2.33.0<3.0.0: www/py-requests${PYTHON_PKGNAMEPREFIX}urllib3>=2.7.0,1<3.0.0,1: net/py-urllib3${PYTHON_PKGNAMEPREFIX}idna>=3.15: dns/py-idna${PYTHON_PKGNAMEPREFIX}click>=8.3.1: devel/py-click${PYTHON_PKGNAMEPREFIX}regex>=2023.0.0<2027.0.0: textproc/py-regex
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 75
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/sqlite3
- devel/binutils
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-Jinja2
- devel/py-aiosignal
- devel/py-annotated-doc
- devel/py-annotated-types
- devel/py-anyio
- devel/py-attrs
- devel/py-babel
- devel/py-click
- devel/py-frozenlist
- devel/py-propcache
- devel/py-pydantic-core
- devel/py-pydantic2
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-shellingham
- devel/py-six
- devel/py-sniffio
- devel/py-tenacity
- devel/py-typer
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/py-tzdata
- devel/readline
- dns/py-idna
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-bottleneck
- math/py-numexpr
- math/py-numpy
- math/py-pandas
- misc/py-openai
- net/py-aiohappyeyeballs
- net/py-h11
- net/py-pysocks
- net/py-socksio
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- security/py-truststore
- textproc/expat2
- textproc/py-charset-normalizer
- textproc/py-docstring_parser
- textproc/py-jiter
- textproc/py-markdown-it-py
- textproc/py-markupsafe
- textproc/py-mdurl
- textproc/py-pygments
- textproc/py-regex
- textproc/py-rich
- www/llhttp
- www/py-aiohttp
- www/py-h2
- www/py-hpack
- www/py-httpcore2
- www/py-httpx2
- www/py-hyperframe
- www/py-multidict
- www/py-requests
- www/py-yarl
Required by 2
Configuration
Options name: misc_instructor
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| instructor-1.17.0.tar.gz | 7.0240472e+07 | aeab1e7f21f5214deedf60e8e264951408057ce21d9589743f533580dc0d6bfb |
Master sites 1
- PYPI