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:
- Go to: https://scm.devops.cambio.se
- Click your profile → Manage account → HTTP access tokens
- Click Create token
- Token name:
promptai-cli(or any name you prefer) - Permissions: ✅ Write (required for publishing)
- Expiry: ✅ No expiration
- 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 credentialspromptai logout- Remove stored credentialspromptai whoami- Check current login statuspromptai init- Interactive menu for creating and managing promptspromptai browse- Browse existing prompts from repositorypromptai 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e649e0c3194a5a8bd1889121b9a984341e3808e589bcdc1126c117ed79c44b
|
|
| MD5 |
70242025cb36118737f1efe6efb6778b
|
|
| BLAKE2b-256 |
fa2cc7e6716ef6d2f155299aee75887619f05eb154b9e4ffd3bebaf7d368f949
|
File details
Details for the file cambio_promptai-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cambio_promptai-1.0.0-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
082f7af5117593dfdbe62724285f8af8f63fd59a685da84c24bbed183ab8a1fd
|
|
| MD5 |
92339e28716d8025988d3b43e08d53be
|
|
| BLAKE2b-256 |
ef543e2af77731a6a87f05747923ee5e3bfa5b263bb342fbaa60a2a8902bce73
|