This repository contains the CDP SDK implementations in multiple programming languages. Each language implementation is contained in its own directory and has its own build tools, dependencies, and development workflow.
cdp-sdk/
├── go/ # Go implementation
├── python/ # Python implementation
├── rust/ # Rust implementation
└── typescript/ # TypeScript implementation
- Go 1.23 or higher
- Make
cd go
make build_deps# Format code
make lint-fix
# Run linter
make lint
# Run tests
make test- Development Setup
- Python 3.10 or higher
- pip
cd python
make setup
make install# Format code
make format
# Run linter
make lint
# Fix lint errors
make lint-fix
# Run tests
make test
# Generate documentation
make docs
# Generate HTML of documentation
make local-docs- Rust 1.93.1 or higher
- Cargo
- Make
cd rust
cargo build# Check code and dependencies
make check
# Format code
make format
# Run linter
make lint
# Fix lint errors
make lint-fix
# Run tests
make test
# Run end-to-end tests
make test-e2e
# Build documentation
make docs
# Build client
make build
# Generate OpenAPI client and build client
make generate- Development Setup
- Node.js v22.x or higher
- pnpm 10.x or higher
cd typescript
pnpm install# Format code
pnpm format
# Run linter
pnpm lint
# Fix lint errors
pnpm lint:fix
# Run tests
pnpm test
# Build documentation
pnpm docs
# Generate OpenAPI client
pnpm orvalEach language implementation follows its own idiomatic conventions and best practices. Please refer to the specific language directories for more detailed documentation and requirements.