Installation
Requirements
- Python
- TypeScript
- Python 3.9 or higher
- pip (Python package manager)
- Node.js 18.3 or higher (for native
fetchsupport) - npm, yarn, or pnpm
Install the SDK
- Python
- TypeScript
pip install pycredoai
npm install @credo-ai/sdk
Install a Specific Version
- Python
- TypeScript
pip install pycredoai==1.0.0
npm install @credo-ai/sdk@0.0.4
Verify Installation
- Python
- TypeScript
import credoai
print(f"pycredoai version: {credoai.__version__}")
import { createCredoAIClient } from '@credo-ai/sdk';
const client = createCredoAIClient('your-tenant');
console.log('SDK loaded successfully');
Upgrade
- Python
- TypeScript
pip install --upgrade pycredoai
npm install @credo-ai/sdk@latest