semvec/pypi-packages huggingface dataset:
sardis-ucp 0.1.3
Universal Commerce Protocol (UCP) integration for Sardis
License: MIT
Requires Python: >=3.11
Keywords: ai-agents, checkout, payments, sardis, ucp, universal-commerce-protocol

# sardis-ucp

Universal Commerce Protocol (UCP) integration for Sardis.

Part of the [Sardis](https://sardis.sh) monorepo — Payment OS for the Agent Economy.

## Installation

```bash
pip install sardis-ucp
```

## Links

- [Documentation](https://sardis.sh/docs)
- [GitHub](https://github.com/EfeDurmaz16/sardis)
sardis-a2a 0.1.3
Agent-to-Agent (A2A) protocol integration for Sardis
License: MIT
Requires Python: >=3.11
Keywords: a2a, agent-to-agent, ai-agents, google, payments, protocol, sardis

# sardis-a2a

Agent-to-Agent (A2A) protocol integration for Sardis.

Part of the [Sardis](https://sardis.sh) monorepo — Payment OS for the Agent Economy.

## Installation

```bash
pip install sardis-a2a
```

## Links

- [Documentation](https://sardis.sh/docs)
- [GitHub](https://github.com/EfeDurmaz16/sardis)
sardis-ramp 0.1.2
Sardis Fiat Ramp - Bridge crypto wallets to traditional banking
License: MIT
Requires Python: >=3.10
Keywords: ai-agents, bridge, crypto, fiat, payments, ramp, sardis

# Sardis Fiat Ramp

Bridge crypto wallets to traditional banking. Fund agent wallets from bank accounts, withdraw to banks, and pay merchants in USD.

## Installation

```bash
pip install sardis-ramp
```

## Quick Start

```python
from sardis_ramp import SardisFiatRamp, BankAccount

# Initialize
ramp = SardisFiatRamp(
    sardis_api_key="sk_...",
    bridge_api_key="bridge_..."
)

# Fund wallet from bank
result = await ramp.fund_wallet(
    wallet_id="wallet_123",
    amount_usd=100.00,
    method="bank"
)
print(f"Send ACH to: {result.ach_instructions.routing_number}")

# Withdraw to bank
withdrawal = await ramp.withdraw_to_bank(
    wallet_id="wallet_123",
    amount_usd=50.00,
    bank_account=BankAccount(
        account_holder_name="John Doe",
        account_number="1234567890",
        routing_number="021000021"
    )
)
print(f"Payout ID: {withdrawal.payout_id}")
```

## Features

- **On-Ramp**: Fund wallets via ACH, wire, or card (via Bridge/Stripe)
- **Off-Ramp**: Withdraw to bank accounts in USD
- **Merchant Payments**: Pay merchants in USD from crypto wallets
- **Policy Enforcement**: All operations respect Sardis spending policies

## Funding Methods

| Method | Settlement | Fee |
|--------|------------|-----|
| ACH | 1-3 days | 0.5% |
| Wire | Same day | $15 flat |
| Card | Instant | 2.5% |
| Crypto | ~15 min | Gas only |

## Architecture

```
User Bank → Bridge → USDC → Sardis Wallet → Virtual Card / Crypto / Fiat Payout
```

All funds flow through the Sardis wallet as USDC, enabling:
- Unified policy enforcement
- Single balance view
- Flexible payout options

## Documentation

- [Full Documentation](https://sardis.sh/docs/fiat-ramp)
- [API Reference](https://sardis.sh/docs/reference/api)
- [Bridge Integration Guide](https://sardis.sh/docs/guides/bridge)

## License

Apache 2.0
sardis-cli 0.1.3
Sardis command-line interface for agent payments
License: MIT
Requires Python: >=3.10
Keywords: ai-agents, cli, command-line, fintech, payments, sardis, wallet

# Sardis CLI

Command-line interface for interacting with the Sardis payment platform.

## Installation

```bash
pip install sardis-cli
```

## Quick Start

```bash
# Configure API credentials
sardis login

# Check status
sardis status

# List agents
sardis agents list

# Execute a payment
sardis payments execute --from wallet_001 --to 0x1234... --amount 100 --token USDC
```

## Commands

### Authentication

```bash
# Login with API key
sardis login

# Check authentication status
sardis auth status

# Logout
sardis logout
```

### Agents

```bash
# List all agents
sardis agents list

# Get agent details
sardis agents get <agent_id>

# Create new agent
sardis agents create --name "My Agent"
```

### Wallets

```bash
# List wallets
sardis wallets list

# Get wallet balance
sardis wallets balance <wallet_id>

# Create wallet
sardis wallets create --agent <agent_id>
```

### Payments

```bash
# Execute payment
sardis payments execute \
    --from <wallet_id> \
    --to <destination> \
    --amount 100.00 \
    --token USDC \
    --chain base_sepolia

# Get payment status
sardis payments status <tx_id>
```

### Holds

```bash
# Create hold
sardis holds create \
    --wallet <wallet_id> \
    --amount 50.00 \
    --token USDC

# Capture hold
sardis holds capture <hold_id> --amount 45.00

# Void hold
sardis holds void <hold_id>

# List holds
sardis holds list --wallet <wallet_id>
```

### Chains

```bash
# List supported chains
sardis chains list

# Get gas estimate
sardis chains gas --chain base_sepolia --amount 100 --token USDC

# Route analysis
sardis chains route --from ethereum --to polygon --amount 1000
```

## Configuration

The CLI stores configuration in `~/.sardis/config.json`:

```json
{
  "api_base_url": "https://api.sardis.network",
  "api_key": "sk_...",
  "default_chain": "base_sepolia"
}
```

## Environment Variables

```bash
SARDIS_API_KEY=sk_...
SARDIS_API_BASE_URL=https://api.sardis.network
SARDIS_DEFAULT_CHAIN=base_sepolia
```

## Development

```bash
# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Run CLI
python -m sardis_cli --help
```