semvec/pypi-packages huggingface dataset:
gitreco 0.1.0
짧은 설명
License: MIT
Requires Python: >=3.7

# GitReco

> 🧠 A CLI tool that suggests Git commit messages based on your changes.

`gitreco` is a developer-friendly CLI that analyzes your Git diff and suggests commit messages following commit standards like `feat:`, `fix:`, `refactor:`, etc.

---

## ✨ Features

- 📝 Suggests commit messages from current Git diff
- 🔍 Understands file changes to generate contextual messages
- 📦 Lightweight and easy to integrate into any Git workflow
- ✅ Supports conventional commit format

---

## 📦 Installation

```bash
pip install gitreco
```

# 🚀 Usage
```shell
gitreco
```
Example output:
```shell
Suggested commit message:
feat: Add support for language in greeting function
```

# 🔧 Requirements

This tool uses Ollama to run LLaMA 3.2 locally. Make sure you have the following installed:

1. Ollama
2. LLaMA 3.2 model (run the command below):

```shell
ollama pull llama3.2
```
💡 Note: Depending on your machine, downloading the model may take a few minutes.
a2a-protocol 0.1.0
Agent to Agent Protocol Specification Python models
License: MIT
Requires Python: >=3.9

# A2A Protocol

Python models for Google's [Agent-to-Agent (A2A) Protocol](https://google.github.io/A2A/#/) specification. This package provides both Pydantic and dataclass model implementations, enabling type-safe communication between agents.

Maintained by the team at [Legion AI](https://thelegionai.com/).

## Installation

```bash
pip install a2a-protocol
```

## Usage

### Pydantic v2 Implementation

```python
from a2a_protocol.pydantic_v2 import Message, Part, TextPart, Role

# Create a simple message
message = Message(
    role=Role.user,
    parts=[
        Part(root=TextPart(
            type="text",
            text="Hello, agent!",
            metadata={"source": "user_interface"}
        ))
    ],
    metadata={"session_id": "12345"}
)
```

### Dataclass Implementation

```python
from a2a_protocol.dataclass import Message, TextPart, Role

# Create a simple message using dataclasses
message = Message(
    role=Role.user,
    parts=[
        TextPart(
            type="text",
            text="Hello, agent!",
            metadata={"source": "user_interface"}
        )
    ],
    metadata={"session_id": "12345"}
)
```

## Core Components

### Message Types
- `TextPart`: For text-based messages
- `FilePart`: For file attachments
- `DataPart`: For structured data

### Task Management
- `Task`: Represents a task with its status, history, and artifacts
- `TaskStatus`: Current state of a task (working, completed, failed, etc.)
- `TaskState`: Enum of possible task states

### JSON-RPC Communication
- `JSONRPCRequest`: Standard request format
- `JSONRPCResponse`: Standard response format
- `SendTaskRequest`, `GetTaskRequest`, `CancelTaskRequest`: Specific request types

### Protocol Workflow

```
┌──────────────┐            ┌──────────────┐
│              │            │              │
│   Agent A    │◄──────────►│   Agent B    │
│              │    A2A     │              │
└──────────────┘  Protocol  └──────────────┘
       │                            ▲
       │                            │
       │         ┌──────────┐       │
       └────────►│  Tasks   │◄──────┘
                 │          │
                 └──────────┘
```

## Features

- Full type-checked implementation of the A2A protocol
- Both Pydantic v2 and dataclass implementations
- Complete support for:
  - Task creation and management
  - Messaging between agents
  - File and data transfer
  - Status updates and notifications
  - Error handling

## Protocol Structure

The A2A protocol enables agents to:
1. Create and manage tasks
2. Send and receive messages
3. Share structured data and files
4. Monitor task status and progress
5. Handle errors and notifications

## License

MIT