Skip to main content

Overview

PyPI License python python python

bbsky provides a high-level Python client for interacting with the Blackbaud Sky API. You can use the client to authenticate and make requests to various endpoints provided by the Blackbaud Sky API. See the Blackbaud Sky API documentation here for more information on the Sky API itself.

Important Note: bbsky is a third-party client and is not affiliated with or endorsed by Blackbaud.

Installation

To install the package, use pip:

pip install bbsky

Usage

To see all available CLI commands, run:

bbsky --help

Setting up Blackbaud App Credentials

First you'll need to setup your Blackbaud Sky account and then update your config. After getting your credentials from Blackbaud, you can use the CLI here to set them up:

bbsky config --help

# Follow along with the prompts to set your credentials
bbsky config create

After that a config file will be created in your home directory at ~/.bbsky/config/config.json.

Getting a User Token

To get a user token, you can use the CLI:

bbsky server start

This will start a local server that you can use to authenticate with Blackbaud. After authenticating, you'll be prompted to cache the token locally.

If you need to refresh your token, run:

bbsky token refresh

Using the Client

Here's a basic example of how to use the client:

from bbsky import BBSky

sky = BBSky()
results = sky.search_constituents(constituent_quick_find="Smith", limit=5)
print(results)

Development

Rye

We use Rye for managing the development environment. See the Rye documentation for more information on how to use it.

Metadata

Release files for bbsky 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bbsky 0.1.6
File Size Uploaded Provenance
bbsky-0.1.6.tar.gz 198.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bbsky 0.1.6
File Interpreter ABI Platform
bbsky-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 625.0 kB

Release files / bbsky-0.1.6.tar.gz

Download URL bbsky-0.1.6.tar.gz
Size 198.9 kB
Tags Source
SHA-256 checksum
How to use checksums
99da22728b14d9ad214fce930024277ffa012b413fbc4957d7d35b40279b772b
BLAKE2b-256 checksum
How to use checksums
dd9716106641f71fb37f3d9ebfc3a4351424f2fc842773ef7bb066c442864d52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2024.

Transparency log

Release files / bbsky-0.1.6-py3-none-any.whl

Download URL bbsky-0.1.6-py3-none-any.whl
Size 426.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65a0a4ca61180cef0321f171efbb8449da9f34f9d37fdce6b10d0e148fa5e49e
BLAKE2b-256 checksum
How to use checksums
615ec6d957412277332bb38ead6be66d590a4132e1cbe326dc7d94d228a48c9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2024.

Transparency log

Security for bbsky 0.1.6

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bbsky-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2024.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page