semvec/pypi-packages huggingface dataset:
dapp-sdk 1.0.0
Official Python SDK for DAPP AI Cost Platform - Measure, verify, and standardize AI computational costs
License: MIT
Requires Python: >=3.8
Keywords: ai, cost, dcu, openai, anthropic, llm, pricing, tokenization

# DAPP SDK - Python

Official Python client for the DAPP AI Cost Platform. Measure, verify, and standardize AI computational costs across providers using Decentralized Compute Units (DCU).

## Features

- **Token Counting**: Accurate token counting using official provider tokenizers
- **DCU Calculation**: Convert provider-specific costs to standardized DCU
- **Markup Validation**: Real-time tolerance breach detection
- **Efficiency Ratios**: Calculate and compare provider efficiency
- **Carbon Footprint**: Track sustainability metrics
- **ROI Computation**: Comprehensive cost-benefit analysis

## Installation

```bash
pip install dapp-sdk
```

## Quick Start

```python
from dapp_sdk import DAPPClient
import os

# Initialize client
client = DAPPClient(
    base_url=os.getenv("DAPP_API_URL", "https://your-production-domain.com"),
    api_key="your-api-key"
)

# Count tokens with official tokenizers
result = client.count_tokens(
    text="Hello, world!",
    model="gpt-4"
)
print(f"Tokens: {result['tokenCount']}")

# Calculate DCU cost
dcu_result = client.calculate_dcu(
    input_tokens=100,
    output_tokens=50,
    model="gpt-4",
    provider="openai"
)
print(f"DCU Cost: {dcu_result['dcuCost']}")
```

## Environment Variables

Set `DAPP_API_URL` to your DAPP platform URL:

```bash
export DAPP_API_URL=https://your-domain.com
```

## Documentation

Full documentation available at [docs.dapp-platform.com](https://docs.dapp-platform.com)

## Support

- Email: support@dapp-platform.com
- Issues: https://github.com/dapp-platform/dapp-sdk/issues

## License

MIT License - see LICENSE file for details
bidskit 2025.11.7
BIDS curation toolkit
License: MIT
Requires Python: >=3.10

# BIDSKIT

Python utilities for converting from DICOM to BIDS neuroimaging formats.

The *bidskit* console command takes a directory tree containing imaging series from one or more subjects (eg T1w MPRAGE, BOLD EPI, Fieldmaps), converts the imaging data to Nifti-1 format with JSON metadata files (sidecars) and populates a directory tree according to the latest BIDS specification.

## Documentation
#### [Installation Instructions](docs/Installation.md)
#### [Quick Start Guide](docs/QuickStart.md)
#### [Useful Features](docs/Features.md)
#### [Flywheel Support](docs/Flywheel.md)

## Bugs and Feature Requests 
Let us know about bugs and feature requests through this repo's
[GitHub Issues](https://github.com/jmtyszka/bidskit/issues) page.

## Related Projects
- [heudiconv](https://github.com/nipy/heudiconv) General purpose heuristic DICOM converter
- [dcm2bids](https://github.com/cbedetti/Dcm2Bids) Christophe Beddetti's DICOM to BIDS converter