Skip to main content

Slingshot SDK

Project description

Capital One Slingshot SDK Python Library

Capital One Slingshot Logo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c1s_slingshot_sdk_py-2.0.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

c1s_slingshot_sdk_py-2.0.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file c1s_slingshot_sdk_py-2.0.0.tar.gz.

File metadata

  • Download URL: c1s_slingshot_sdk_py-2.0.0.tar.gz
  • Upload date:
  • Size: 15.0 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

Hashes for c1s_slingshot_sdk_py-2.0.0.tar.gz
Algorithm Hash digest
SHA256 0d6ad05c1959493f7d77e9aa6c008d72408300461b98c9668450f2a21e9df8b0
MD5 f0bc6002da601222537d261451ed96ee
BLAKE2b-256 990903ea011892b4d95118ba74a795e4e3a3e6ce3a1c1d9d877f4c5bb230d76e

See more details on using hashes here.

File details

Details for the file c1s_slingshot_sdk_py-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: c1s_slingshot_sdk_py-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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

Hashes for c1s_slingshot_sdk_py-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93dc5b8a11e3cc23783fe5e6d12109aeaeece760a08914311034373d8f116b5e
MD5 5787835a1a0e21f63a42c7557acbe973
BLAKE2b-256 7a89a582acf6147f746e98d8780893fc9bb9f746b8ae193df1a9528da88fe894

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page