Skip to main content

Prim AI Functions

Project description

prim-ai-functions

A comprehensive SDK for interacting with the Prim AI Functions.

Table of Contents

Prerequisites

  • Python 3.12+
  • uv

If you do not have a uv virtual environment, you can create one with:

uv venv --python 3.12

Note: We recommend using uv to install the package due to the incredible speed of the package manager. The package can still be installed via pip directly, but it will be slower.

Installation

From PyPI

pip install primfunctions

From Source

uv pip install .

Development Setup

Git Hooks

This project includes git hooks to ensure code quality. To set up the git hooks:

python setup_hooks.py

This will create a pre-commit hook that automatically runs black on Python files before each commit.

Git Worktrees (Parallel Agent Development)

This repo supports running multiple coding agents in parallel using git worktrees. Each agent gets an isolated working directory with its own branch while sharing the same git object store.

Worktrees are stored in .worktrees/ (gitignored).

Create a worktree

git worktree add .worktrees/feature-xyz -b feature-xyz

List active worktrees

git worktree list

Remove a worktree

git worktree remove .worktrees/feature-xyz

Clean up stale worktrees

git worktree prune

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

primfunctions-0.1.82.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

primfunctions-0.1.82-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file primfunctions-0.1.82.tar.gz.

File metadata

  • Download URL: primfunctions-0.1.82.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for primfunctions-0.1.82.tar.gz
Algorithm Hash digest
SHA256 7accdcb24772e2d786cc1775243a12cd3adfe0a85ac924ae6f52f6323baf9581
MD5 66da15c2d47f3a4cefb360818e363ca0
BLAKE2b-256 7e32e736c6d2a744e62c3f3ffeb5de1fd51a4a8b99c59dcb6f8749dab860d999

See more details on using hashes here.

File details

Details for the file primfunctions-0.1.82-py3-none-any.whl.

File metadata

File hashes

Hashes for primfunctions-0.1.82-py3-none-any.whl
Algorithm Hash digest
SHA256 cb3bfbf543fadd63e05f2f90f1fc7769b7e759cc47eee6af0ad0e0e760819d04
MD5 7d4c591ef5f5282be383018d6d3e8338
BLAKE2b-256 5f2b2d4b66890ecf38430c1cc44f18ddd94833aadcbbad57f6b8be96133e9225

See more details on using hashes here.

Supported by

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