semvec/pypi-packages huggingface dataset:
stata-ai-fusion 0.1.0
MCP Server + Skill for Stata: execute commands, inspect data, and generate high-quality Stata code with AI
License: MIT
Requires Python: >=3.11
Keywords: ai, econometrics, mcp, stata, statistics

# Stata AI Fusion

MCP Server + Skill Knowledge Base + VS Code Extension for Stata.

A three-in-one Stata AI integration: let AI directly execute Stata code,
generate high-quality statistical analysis code, and provide a complete IDE
experience in VS Code.

## Features

- **MCP Server**: 10 tools that let AI agents operate Stata directly
  - `run_command` / `run_do_file` -- execute code
  - `inspect_data` / `codebook` -- data exploration
  - `get_results` -- extract r()/e()/c() results
  - `export_graph` -- graph export with auto-capture
  - `search_log` / `install_package` -- utility tools
  - `list_sessions` / `close_session` -- session management
- **Skill Knowledge Base**: 5,600+ lines of Stata knowledge
  - Econometrics, causal inference, survival analysis, clinical data analysis
  - 14 reference documents with Progressive Disclosure architecture
- **VS Code Extension**: complete Stata IDE experience
  - Syntax highlighting (350+ functions)
  - 30 code snippets
  - Run code / .do files with one keypress
  - Graph preview panel

## Quick Start

### MCP Server (Claude Desktop / Claude Code / Cursor)

```bash
# One-command launch with uvx
uvx --from stata-ai-fusion stata-ai-fusion
```

Or configure in your AI assistant's MCP settings:

```json
{
  "mcpServers": {
    "stata": {
      "command": "uvx",
      "args": ["--from", "stata-ai-fusion", "stata-ai-fusion"]
    }
  }
}
```

### VS Code Extension

```bash
code --install-extension stata-ai-fusion-0.1.0.vsix
```

### Skill Only (Claude.ai)

Download `stata-ai-fusion-skill.zip` from the
[Releases](https://github.com/SexyERIC0723/stata-ai-fusion/releases) page,
then upload via Claude.ai Settings > Skills.

## Requirements

- Stata 17+ installed locally (MP, SE, IC, or BE)
- Python 3.11+ (for MCP server)
- VS Code 1.85+ (for extension)

## Supported Platforms

- macOS (Intel & Apple Silicon)
- Linux
- Windows

## Development

```bash
git clone https://github.com/SexyERIC0723/stata-ai-fusion.git
cd stata-ai-fusion
uv sync
uv run pytest tests/ -v
```

## License

MIT -- see [LICENSE](LICENSE) for details.
fastogram 0.0.3
Opinionated FastAPI + Aiogram project generator (FastGram template)
License: MIT
Requires Python: >=3.10

# Fastogram

Opinionated FastAPI + Aiogram project generator — like `django-admin startproject` for FastGram.

## Installation

```bash
pip install fastogram
```

Or with uv:
```bash
uv add fastogram
```

## Usage

Create a new project:

```bash
fastogram new my-telegram-bot
```

This creates `my-telegram-bot/` with the full FastGram template. Then:

```bash
cd my-telegram-bot
uv sync
# Edit .env with your TELEGRAM_BOT_TOKEN
python manage.py setup
python manage.py run --reload
```

### Options

```bash
fastogram new my-bot              # Create ./my-bot/
fastogram new .                   # Scaffold in current directory (no subfolder)
fastogram new my-bot -d ~/code    # Create ~/code/my-bot/
```

---

## For maintainers: syncing the template

When you update FastGram (architecture changes, bug fixes, etc.), sync the template into the CLI so `pip install fastogram` users get the latest:

```bash
cd cli/FastoGram
python scripts/sync_template.py
```

Or with a custom FastGram path:

```bash
FASTGRAM_SOURCE=/path/to/FastGram python scripts/sync_template.py
```

The sync copies FastGram → `src/fastogram/templates/fastgram/`, excluding `.git`, `.venv`, and other generated files. Rebuild and publish a new fastogram release after syncing.

### Publishing to PyPI

```bash
# 1. Create .pypi-token with your PyPI API token (from pypi.org/manage/account/token/)
echo "pypi-your-token-here" > .pypi-token

# 2. Publish
make publish
```

`.pypi-token` is in `.gitignore` — it will never be committed.