Capital One Slingshot SDK Python Library
The official Python SDK for Capital One's Slingshot platform. This library provides a convenient way to interact with the Slingshot API from your Python applications.
📚 Documentation
➤ Complete Documentation & API Reference
For comprehensive guides, examples, and API documentation, visit our GitHub Pages documentation site.
Table of Contents
Installation
Install the SDK using pip:
pip install c1s-slingshot-sdk-py
Quick Start
from slingshot import SlingshotClient
# Initialize the client (uses SLINGSHOT_API_KEY environment variable)
client = SlingshotClient()
# If you want to pass your API key to the client without using the environment variable:
# client = SlingshotClient(api_key="your API key")
# List projects
all_projects = []
for project in client.projects.iterate_projects():
all_projects.append(project)
print(f"Found {len(all_projects)} projects.")
# Get a specific project
project = client.projects.get_project(all_projects[0]["id"])
print(project)
Contributing
🔧 Contributing Guide - Development setup, testing, and release process
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Metadata
Release files for c1s-slingshot-sdk-py 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c1s_slingshot_sdk_py-2.2.0.tar.gz | 14.6 kB | Without provenance | Details for c1s_slingshot_sdk_py-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c1s_slingshot_sdk_py-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for c1s_slingshot_sdk_py-2.2.0-py3-none-any.whl |
Total release size: 31.0 kB
Release files / c1s_slingshot_sdk_py-2.2.0.tar.gz
| Download URL | c1s_slingshot_sdk_py-2.2.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e8d832819bdd793d1c43bd771a93bd06a086e854f0b56be4edc328f7e7d68f
|
|
BLAKE2b-256 checksum How to use checksums |
82f1a987b22e28daf0b26133e6ba94b98b2bee34fed451ea72d21cad5af36f5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / c1s_slingshot_sdk_py-2.2.0-py3-none-any.whl
| Download URL | c1s_slingshot_sdk_py-2.2.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24bad72e351665cbae3258917aa06edb5cef90bf491da3637a258d60ffde8912
|
|
BLAKE2b-256 checksum How to use checksums |
4f366436d7d6fd99e93bd2676dc66a705d972c5fcb86e688ad24fccb42463f22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for c1s-slingshot-sdk-py 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.