mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
misc/py-fal-client: New port
Python client for fal.ai inference API
This commit is contained in:
@@ -481,6 +481,7 @@
|
||||
SUBDIR += py-evaluate
|
||||
SUBDIR += py-ezc3d
|
||||
SUBDIR += py-facenet-pytorch
|
||||
SUBDIR += py-fal-client
|
||||
SUBDIR += py-fast-histogram
|
||||
SUBDIR += py-fastmcp
|
||||
SUBDIR += py-fastscapelib
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
PORTNAME= fal-client
|
||||
DISTVERSION= 1.0.0
|
||||
CATEGORIES= misc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= fal_client-${DISTVERSION}
|
||||
|
||||
MAINTAINER= olivier@FreeBSD.org
|
||||
COMMENT= Python client for fal.ai inference API
|
||||
WWW= https://github.com/fal-ai/fal/tree/main/projects/fal_client
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7:devel/py-setuptools-scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiofiles>=23.2.1:devel/py-aiofiles@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}asyncstdlib>=3.12.5<4:devel/py-asyncstdlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx>=0.21.0<1:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx-sse>=0.4.0<0.5:www/py-httpx-sse@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.7<2:devel/py-msgpack@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}websockets>=12.0:devel/py-websockets@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${DISTVERSION}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1777969555
|
||||
SHA256 (fal_client-1.0.0.tar.gz) = ba62cc008a4bbfae2c3cbade6c7a691093e42cfb5a79f7fca4dd61acbd87372a
|
||||
SIZE (fal_client-1.0.0.tar.gz) = 37713
|
||||
@@ -0,0 +1,6 @@
|
||||
Python client for the fal.ai serverless inference API.
|
||||
|
||||
fal.ai hosts generative AI models (image, video, audio, language) and exposes
|
||||
them through a REST + WebSocket API. This client provides synchronous and
|
||||
asynchronous bindings, file upload helpers, streaming result handles, and
|
||||
request queueing for long-running jobs.
|
||||
Reference in New Issue
Block a user