Skip to main content

ICICLE Playgrounds

SDK to interact with the ICICLE Model & Data Playgrounds

ICICLE Playgrounds is a Python SDK designed for working with AI plug-n-play frameworks powered by Tapis Workflows. This library provides standardized Pydantic models and tools for seamless integration with the ICICLE (Intelligent CyberInfrastructure with Computational Learning in the Environment) ecosystem.

Features

  • 🔧 Plug-n-Play Framework: Built for easy integration with Tapis Workflows
  • 📊 Pydantic Models: Type-safe data structures for AI workflows
  • 🖼️ Image Processing: Support for image data handling and tensor operations
  • 🎯 Detection Results: Standardized formats for AI model outputs
  • 📋 Model Cards: PATRA (Partnership for Advanced Trusted Research in AI) model card support
  • 🔍 Bias & XAI Analysis: Tools for bias analysis and explainable AI

Installation

This project uses uv for dependency management. Make sure you have Python 3.12+ installed.

# Install using uv
uv add icicle-playgrounds

# Or install from source
git clone <repository-url>
cd icicle-playgrounds
uv sync

Quick Start

from icicle_playgrounds.pydantic.plug_n_play import Image, Tensor, DetectionResults
from icicle_playgrounds.pydantic.patra_model_cards import PatraModelCard

# Work with images and tensors
image = Image(...)
tensor = Tensor(...)

# Handle detection results
results = DetectionResults(...)

# Create model cards
model_card = PatraModelCard(...)

Project Structure

icicle_playgrounds/
├── pydantic/
│   ├── plug_n_play/          # Core plug-n-play data models
│   │   ├── Image.py          # Image handling
│   │   ├── Tensor.py         # Tensor operations
│   │   └── DetectionResults.py  # AI model output formats
│   └── patra_model_cards/    # PATRA model card implementations

Development

Prerequisites

  • Python 3.12+
  • uv package manager

Setup Development Environment

# Clone the repository
git clone <repository-url>
cd icicle-playgrounds

# Install dependencies
uv sync

# Install development dependencies
uv sync --group dev

Running Tests

# Run tests using pytest
uv run pytest

# Or using just (if available)
just test

Documentation Generation

This project includes a script to generate MDX documentation:

uv run python generate-mdx.py

Dependencies

  • httpx - HTTP client for API interactions
  • pillow - Image processing capabilities
  • pydantic - Data validation and serialization
  • torchvision - Computer vision utilities

Contributing

We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.

License

This project is licensed under the terms specified in the LICENSE file.

About ICICLE

ICICLE (Intelligent CyberInfrastructure with Computational Learning in the Environment) is focused on developing AI-driven cyberinfrastructure solutions. This SDK facilitates integration with ICICLE's model and data playgrounds through standardized interfaces and workflows.

Support

For questions, issues, or support, please refer to the project's issue tracker or contact the ICICLE team.


Version: 0.1.5.4

Metadata

Release files for icicle-playgrounds 0.1.5.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 icicle-playgrounds 0.1.5.6
File Size Uploaded
icicle_playgrounds-0.1.5.6.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icicle-playgrounds 0.1.5.6
File Interpreter ABI Platform
icicle_playgrounds-0.1.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 44.7 kB

Release files / icicle_playgrounds-0.1.5.6.tar.gz

Download URL icicle_playgrounds-0.1.5.6.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6b3ed22122d5d43c54f1bef1330da0ecde4b30d1c0b51bcc088688f7827e19a3
BLAKE2b-256 checksum
How to use checksums
94d1fdb6904ffa26b81dcf00f898ecc7f7c3e521cccaad2532c0821ee9b554ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.13

Release files / icicle_playgrounds-0.1.5.6-py3-none-any.whl

Download URL icicle_playgrounds-0.1.5.6-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23ac6011dd92505df902d7facd3003353888fc6f4491aafed0fc3116792e1f5b
BLAKE2b-256 checksum
How to use checksums
6c8739a62f15e262125bd8ed688ef6d53a3ac013bb05ffc5216592a5e77e02fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.13

Release history Release notifications | RSS feed

This release

0.1.5.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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