Slingshot SDK
Project description
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
[!IMPORTANT] At this time, we are only accepting pull requests from Capital One employees. External pull requests will be closed.
🔧 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.
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-1.2.2.tar.gz.
File metadata
- Download URL: c1s_slingshot_sdk_py-1.2.2.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
481331a9952a3ef19511d8a4f52929ffd0bf00ff4f6d08438de49aebf4150c9b
|
|
| MD5 |
a3a408d0f1a9e6321277b9383144e5f7
|
|
| BLAKE2b-256 |
8b268826108794198c8f098ab5a750bebee6dbe0e7a194b6442d078fe204977e
|
File details
Details for the file c1s_slingshot_sdk_py-1.2.2-py3-none-any.whl.
File metadata
- Download URL: c1s_slingshot_sdk_py-1.2.2-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37faeafaa032a71b196b282ed435913b546299aa8ccad3cd3f9a03ca5c69b8e8
|
|
| MD5 |
86ebbadeaa184a115d67e4404bc7056f
|
|
| BLAKE2b-256 |
5195f54f4a2a8ed17da84c556b67d3f3e9dd18545e5f71454ca6d16449d41690
|