Skip to main content

Python SDK for Fixpoint - Auto-improvement to make your LLM apps smarter

Project description

Fixpoint Python SDK

The FixpointClient wraps the OpenAI API Client. You can call it just like OpenAI API Client. The sdk will intercept calls to certain OpenAI APIs, record input / outputs and forward that information to Fixpoint's api server.

Installation

You can view the package on pypi. To install:

pip install fixpoint-sdk

Usage

To use the sdk make sure that you have the following variables set in your environment: FIXPOINT_API_KEY and OPENAI_API_KEY.

Development

Virtual Env

To create a virtual environment called venv from your terminal run python3 -m venv venv.

Activate

source venv/bin/activate

Install packages

To install packages from requirements.txt in your virtual environment using pip run: pip install -r requirements.txt.

If you want to install from the dependencies in pyproject.toml and not from the requirement.txt, you can run:

pip install .

# or in "editable mode" so your install changes as you update the source code:
pip install -e .

# and to install dev dependencies
pip install -e '.[dev]'

Deactivate

deactivate

Git hooks

Set up your Githooks via:

git config core.hooksPath githooks/

Examples

You can find examples of how to use the API in examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixpoint_sdk-0.1.1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

fixpoint_sdk-0.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file fixpoint_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: fixpoint_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fixpoint_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bfcd58d6bd7efcd8d0fde0d83f68c47f31c0945ecc39db0b52caf86af84bdf40
MD5 9f45d2db6952367cc32a65f06c933ea2
BLAKE2b-256 3b29993323ee8cc2a7ff0fdd4ee83781a65ed7840b3d73acb99aadd461bd62a8

See more details on using hashes here.

File details

Details for the file fixpoint_sdk-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fixpoint_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c139462d7a4ac85a0e5f9ca02b5dd12032f2f92351fd451cdd0f36445c97517e
MD5 29a4f86cf5b5ccc714f03ef27a30fd13
BLAKE2b-256 8d4fa6e7f64c67929e6abb48b995ab8f5ad2ee4e9b07deab7048548751be069a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page