semvec/pypi-packages huggingface dataset:
lmsstat 0.1.0
LMSstat: Automation of statistical tests with an identical data input
Requires Python: >=3.10

# LMSstat_python: Python implementation of LMSstat (<https://github.com/SNUFML/LMSstat>)

## Installation

```bash
pip install lmsstat
```

## Usage

### t-test, u-test, ANOVA, and Kruskal-Wallis test

```python
from lmsstat import stat
import pandas as pd

data = pd.read_csv("data.csv")
result = stat.allstats(data)
# result = stat.allstats(data, p_adj=False) # When you don't want to adjust p-value

result.to_csv('result.csv', index=False)  # Save the result as a csv file
```

### Normality test

보정되지 않은 결과이므로 주의.

```python
from lmsstat import stat
import pandas as pd

path = "data.csv"
data = pd.read_csv(path)

result = stat.norm_test(data)
result
```

### Data Standardization

```python
import pandas as pd
from lmsstat import stat

path = "data.csv"
data = pd.read_csv(path)
scaled_data = stat.scaling(data)
scaled_data.to_csv("scaled_data.csv")

scaled_data
```

### PCA

```python
from lmsstat import plot
import pandas as pd

data = pd.read_csv("data.csv")

pca_plt = plot.plot_pca(data)
pca_plt[0].show()
print(f"R2: {pca_plt[1]}, Q2: {pca_plt[2]}")  # R2, Q2
```

### PLS-DA

```python
from lmsstat import plot
import pandas as pd

data = pd.read_csv("data.csv")

plsda_plt = plot.plot_plsda(data)
plsda_plt[0].show()
print(f"R2X: {plsda_plt[1]}, R2Y: {plsda_plt[2]}, Q2: {plsda_plt[3]}")  # R2, Q2
```

### Box plot, Bar plot
각각 현재 작업 디렉토리 밑에 만들어진 boxplot, barplot 폴더에 자동으로 저장됨.

```python
from lmsstat import plot, stat
import pandas as pd

data = pd.read_csv("data.csv")

stats_res = stat.allstats(data)

plot.plot_box(data, stats_res, test_type="t-test")
plot.plot_bar(data, stats_res, test_type="t-test")
```

### Heatmap

```python
from lmsstat import plot
import pandas as pd

data = pd.read_csv("data.csv")

plot.plot_heatmap(data)
```
composio-claude-code-agents 0.10.2
Use Composio to get an array of tools with Claude Code Agents SDK.
Requires Python: <4,>=3.10

# Composio Claude Code Agents Provider

Use Composio tools with the Claude Code Agents SDK.

## Installation

### Prerequisites

1. **Claude Code CLI**: The Claude Agent SDK requires Claude Code to be installed:

   ```bash
   # macOS/Linux/WSL
   curl -fsSL https://claude.ai/install.sh | bash

   # or via Homebrew
   brew install --cask claude-code

   # or via npm
   npm install -g @anthropic-ai/claude-code
   ```

2. **Anthropic API Key**: Set your API key as an environment variable:
   ```bash
   export ANTHROPIC_API_KEY="your-api-key"
   ```

### Install the package

```bash
pip install composio-claude-code-agents
```

## Usage

```python
import asyncio
from composio import Composio
from composio_claude_code_agents import ClaudeCodeAgentsProvider
from claude_agent_sdk import query, ClaudeAgentOptions

# Initialize Composio with the Claude Code Agents provider
composio = Composio(provider=ClaudeCodeAgentsProvider())

async def main():
    # Get tools from Composio
    tools = composio.tools.get(
        user_id="default",
        toolkits=["gmail"],
    )

    # Create an MCP server configuration with the tools
    mcp_server = composio.provider.create_mcp_server(tools)

    # Run a Claude agent with access to Composio tools
    async for message in query(
        prompt="Fetch my latest email from Gmail",
        options=ClaudeAgentOptions(
            mcp_servers={"composio": mcp_server},
            permission_mode="bypassPermissions",
        ),
    ):
        if message.type == "assistant":
            print(message.message)

asyncio.run(main())
```

## API Reference

### ClaudeCodeAgentsProvider

The main provider class for integrating Composio tools with Claude Code Agents SDK.

#### Constructor Options

```python
ClaudeCodeAgentsProvider(
    server_name: str = "composio",  # Name for the MCP server
    server_version: str = "1.0.0",  # Version for the MCP server
)
```

#### Methods

- `wrap_tool(tool, execute_tool)` - Wraps a single Composio tool as a Claude Agent SDK MCP tool
- `wrap_tools(tools, execute_tool)` - Wraps multiple Composio tools
- `create_mcp_server(wrapped_tools)` - Creates an MCP server configuration from wrapped tools

## Environment Variables

- `COMPOSIO_API_KEY` - Your Composio API key (get one at https://app.composio.dev)
- `ANTHROPIC_API_KEY` - Your Anthropic API key (get one at https://console.anthropic.com)

## Links

- [Composio Documentation](https://docs.composio.dev)
- [Claude Agent SDK Documentation](https://platform.claude.com/docs/en/agent-sdk/python)
- [GitHub Repository](https://github.com/ComposioHQ/composio)