Slingshot SDK
Project description
Capital One Slingshot SDK Python Library
Quick Start
To get started with the Slingshot SDK, you can use the provided Makefile for easy setup:
make bootstrap
This single command will:
- Install
uvif not already available - Create a virtual environment
- Install all dependencies
- Set up pre-commit hooks
- Run the test suite
Development Setup
The project uses a Makefile to streamline common development tasks. Here are the available commands:
Bootstrap Everything
make bootstrap
Complete project setup - this is what you want to run first!
Individual Setup Steps
make install-uv # Install uv package manager if not found
make setup-venv # Create virtual environment with uv
make sync # Sync dependencies with uv
make test # Run tests across all Python versions
make install-precommit # Install pre-commit hooks
Testing Commands
make test # Run tests across all Python versions (3.9-3.13)
make test 3.11 # Run tests for specific Python version
make test 3.11 lowest # Run tests with specific Python version and dependency resolution
make test 3.11 highest # Run tests with specific Python version and highest dependency resolution
make check # Run full CI pipeline locally (lint, typecheck, test)
The testing system automatically handles different Python versions and dependency resolutions using uv, ensuring compatibility across your supported environment matrix.
Utility Commands
make clean # Clean up build artifacts and cache files
make help # Show all available commands
Commit Message Guidelines
When contributing to this project, please use the Conventional Commit style for naming your commits. This ensures consistency and helps with automated versioning and changelog generation.
A commit message should follow this format:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation changes
- style: Code style changes (formatting, missing semi-colons, etc.)
- refactor: Code restructuring without changing functionality
- test: Adding or updating tests
- chore: Maintenance tasks (e.g., updating dependencies)
Examples
feat: add support for Python 3.13fix: resolve issue with dependency resolutiondocs: update README with commit guidelines
For more details, refer to the Conventional Commit Specification.
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 c1s_slingshot_sdk_py-0.4.0.tar.gz.
File metadata
- Download URL: c1s_slingshot_sdk_py-0.4.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff388615969d1d64da9f4d64530c4444bbbd44b4ebba8e4ebfe467cfe31acccc
|
|
| MD5 |
4153cd224954b854bcfa6664568fa2f1
|
|
| BLAKE2b-256 |
536fe34407beeb4344300503774a0184e76301876afd5ccb255dc73d14097a5d
|
File details
Details for the file c1s_slingshot_sdk_py-0.4.0-py3-none-any.whl.
File metadata
- Download URL: c1s_slingshot_sdk_py-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29cff016e3b21de40009055ab43568081b7043b9e3a212ea25395a3b94506deb
|
|
| MD5 |
49af47e12b1f552d9094de6ca3216f36
|
|
| BLAKE2b-256 |
bc69a9ac3e730dd568154fb8821eaa7a5e6501b4d2389b7c150c6ea6a7f8eab0
|