Installation
Prerequisites
- Python: 3.10 or higher
- pip or uv: Package manager
Standard Installation
Install the core Socket0 SDK without CLI tools:
bash
pip install socket0-sdkWith CLI Tools
To include the optional command-line interface:
bash
pip install socket0-sdk[cli]This installs additional dependencies:
typer- CLI frameworkrich- Terminal formattingpython-dotenv- Environment variable support
Installation with UV
If you're using the uv package manager:
bash
# Standard installation
uv pip install socket0-sdk
# With CLI tools
uv pip install socket0-sdk[cli]Development Installation
For development or contributing to the SDK:
bash
# Clone the repository
git clone https://github.com/socket0/socket0-python-sdk.git
cd socket0-python-sdk
# Install Python dependencies with development tools
uv sync
# Install in editable mode
uv pip install -e .
# Install with CLI (editable)
uv pip install -e ".[cli]"
# Install Node.js dependencies for documentation
npm installVerify Installation
Core SDK
python
import socket0
print(socket0.__version__)With CLI
Verify the CLI is installed:
bash
s0 --helpYou should see the help output with available commands:
Usage: s0 [OPTIONS] COMMAND [ARGS]...
Socket0 SDK CLI - Vault management and SDK development tools
Options:
--help Show this message and exit.
Commands:
sdk SDK development and management tools
vault Vault and secret managementNext Steps
- CLI Overview - Learn how to use the CLI tools
- Vault Guide - Start managing secrets
- API Reference - Explore the REST API client