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 the package locally for development:

# 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]'

In general, you should not install from the requirements.txt file, instead following the installation method suggested above.

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.2.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixpoint_sdk-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3e90ebdce5b15180034728622076dbdf635e6be71c1b3952de73326d6a58813d
MD5 ef2a07077b63f111c4d1bf851ba3fb85
BLAKE2b-256 be36839e37ebc92463abec47f841299d015bf6da7b2e56d89d46160965b96c62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixpoint_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fixpoint_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5f36161498db071e8e4c396a33100a588611bf88ae6fc4d44acdcd6a1e85fa5
MD5 0094559058b0b348a2a94c419aadbb88
BLAKE2b-256 9fd20e2fd1a2e8e6b4297316f695e327aa5aade9add66328ae67b3e0373e5bd4

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