Skip to main content

A comprehensive CLI tool for managing enterprise AI prompts with integrated Bitbucket workflow

Project description

cambio-promptai SDK

A comprehensive CLI tool for managing prompts as code with integrated Bitbucket workflow.

INTERNAL USE ONLY
This package is proprietary software for Cambio Healthcare Systems employees only.

Installation

pip install cambio-promptai

Quick Start

1. Create Bitbucket Token

Before using promptai, create a Bitbucket HTTP Access Token:

  1. Go to: https://scm.devops.cambio.se
  2. Click your profile → Manage accountHTTP access tokens
  3. Click Create token
  4. Token name: promptai-cli (or any name you prefer)
  5. Permissions: ✅ Write (required for publishing)
  6. Expiry: ✅ No expiration
  7. Copy the generated token

2. Login (First Time Setup)

promptai login

You'll be prompted for:

  • Bitbucket HTTP token (the token you just created)
  • Username (e.g., john.doe)
  • Email (format: firstname.lastname@cambio.lk)

Your credentials are securely stored in ~/.promptx/credentials.json

3. Check Login Status

promptai whoami

4. Start Creating Prompts

promptai init

This opens an interactive menu where you can create, test, and publish prompts.

Available Commands

To see all available commands:

promptai --help

Main Commands:

  • promptai login - Authenticate with your Bitbucket credentials
  • promptai logout - Remove stored credentials
  • promptai whoami - Check current login status
  • promptai init - Interactive menu for creating and managing prompts
  • promptai browse - Browse existing prompts from repository
  • promptai test <draft-folder> - Validate a specific draft

Requirements

  • Python 3.8+
  • Git installed and in PATH
  • Bitbucket access token with write permissions and no expiration

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

cambio_promptai-1.0.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

cambio_promptai-1.0.0-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file cambio_promptai-1.0.0.tar.gz.

File metadata

  • Download URL: cambio_promptai-1.0.0.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for cambio_promptai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 35e649e0c3194a5a8bd1889121b9a984341e3808e589bcdc1126c117ed79c44b
MD5 70242025cb36118737f1efe6efb6778b
BLAKE2b-256 fa2cc7e6716ef6d2f155299aee75887619f05eb154b9e4ffd3bebaf7d368f949

See more details on using hashes here.

File details

Details for the file cambio_promptai-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cambio_promptai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 082f7af5117593dfdbe62724285f8af8f63fd59a685da84c24bbed183ab8a1fd
MD5 92339e28716d8025988d3b43e08d53be
BLAKE2b-256 ef543e2af77731a6a87f05747923ee5e3bfa5b263bb342fbaa60a2a8902bce73

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