Skip to main content

carefree-client is a client framework based on FastAPI. It also supports interacting with Triton Inference Server.

pip

Install

pip install -e .

Run

uvicorn apis.interface:app --host 0.0.0.0 --port 8123

Docker

Build

docker build -t cfclient .

If your internet environment lands in China, it might be faster to build with Dockerfile.cn:

docker build -t cfclient -f Dockerfile.cn .

Run

docker run --rm -p 8123:8123 -v /full/path/to/your/client/logs:/carefree-client/apis/logs cfclient:latest

or

docker run --rm --link image_name_of_your_triton_server -p 8123:8123 -v /full/path/to/your/client/logs:/carefree-client/apis/logs cfclient:latest

In this case, you need to modify the apis/interface.py file as well: you need to modify the constants variable (defined at L27) and set the value of triton_host (defined at L28) from None to image_name_of_your_triton_server.

Metadata

Release files for carefree-client 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carefree-client 0.1.10
File Size Uploaded
carefree-client-0.1.10.tar.gz 9.8 kB Details

Release files / carefree-client-0.1.10.tar.gz

Download URL carefree-client-0.1.10.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ee95c07277e2cd5e49fa4e85de2757f0e4b7749966327254b0db7a5bdf2366f3
BLAKE2b-256 checksum
How to use checksums
e55fa891c6b22bde36db9f22953944d1d13ba7fa9960d117980e848dd58c3975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.1.10 This release

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page