Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The GPTScript Python module is a library that provides a simple interface to create and run gptscripts within Python applications, and Jupyter notebooks. It allows you to define tools, execute them, and process the responses. https://github.com/gptscript-ai/py-gptscript
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
PORTNAME= gptscript | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.4.1 | ||
CATEGORIES= devel python | ||
MASTER_SITES= CHEESESHOP | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= nivit@FreeBSD.org | ||
COMMENT= Python module for running GPTScript | ||
WWW= https://github.com/gptscript-ai/py-gptscript/ | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.9.0:devel/py-setuptools@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>=0.43.0:devel/py-wheel@${PY_FLAVOR} | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2024.2.2:security/py-certifi@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.3.2:textproc/py-charset-normalizer@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}idna>=3.6:dns/py-idna@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}tqdm>=4.66.2:misc/py-tqdm@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}urllib3>=2.2.1:net/py-urllib3@${PY_FLAVOR} \ | ||
gptscript:lang/gptscript | ||
|
||
USES= python | ||
USE_GITHUB= yes | ||
|
||
GH_ACCOUNT= gptscript-ai | ||
GH_PROJECT= py-gptscript | ||
USE_PYTHON= autoplist pep517 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1712308094 | ||
SHA256 (gptscript-ai-py-gptscript-v0.4.1_GH0.tar.gz) = 01efa3cd5899aa8d4bdcd1ac1c49837b85d2074a1a1c5061a12d93f049056d66 | ||
SIZE (gptscript-ai-py-gptscript-v0.4.1_GH0.tar.gz) = 12759 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The GPTScript Python module is a library that provides a simple interface to | ||
create and run gptscripts within Python applications, and Jupyter notebooks. It | ||
allows you to define tools, execute them, and process the responses. |