Skip to main content

CFF SDK

The cffsdk is a Python client for interacting with the Common Federation Framework (CFF) server. It provides helper functions to create and manage cross-facility workflows.

Installation

Install from PyPI

To install the Python client from PyPI:

pip install cffsdk

Install from Source

To install the latest Python client corresponding to this repository:

cd client
pip install .

Build and Upload the Package

To create the latest Python client wheel and upload it:

pip install setuptools wheel twine
python3 setup.py sdist bdist_wheel
twine upload dist/*

Usage

Here is an example of how to use the cffsdk:

from cffsdk import cffsdk

client = cffsdk(base_url="http://127.0.0.1:8000")
print(client.get_root())

Running Unit Tests

To run the SDK client unit tests:

# Activate your Python environment
conda activate cff

# Navigate to the client directory
cd client

# Install the package
pip install .

# Run the tests
python3 -m unittest discover -s tests

Metadata

Release files for cffsdk 0.1.1

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

Source distribution (sdist)

Source distribution for cffsdk 0.1.1
File Size Uploaded Provenance
cffsdk-0.1.1.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 12.9 kB

Release files / cffsdk-0.1.1.tar.gz

Download URL cffsdk-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
07d75c9aaacd0068a06b7ca6725060863da87ac272ea81ee9daf9405b043b7b0
BLAKE2b-256 checksum
How to use checksums
4f513fee2bff7334433e8efaf7b81b5633be94f0dfe947fd7742104ed9413f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / cffsdk-0.1.1-py3-none-any.whl

Download URL cffsdk-0.1.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c576447055b9d61e462695e863de208e8b26a774e633546e981c79738b74a2cc
BLAKE2b-256 checksum
How to use checksums
e7c77cbfecf8f2d0b4e983d1a0c59ab14afd6a84830b7c85f8a8391fa2ed421a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Security for cffsdk 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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