semvec/pypi-packages huggingface dataset:
mcp-example-server 0.1.3
Servidor MCP de exemplo (echo e time_now)
Requires Python: >=3.10
Keywords: example, mcp, model-context-protocol

# mcp-example-server

Servidor MCP (Model Context Protocol) de exemplo, com duas tools básicas:
- `echo`: retorna o texto recebido
- `time_now`: devolve a hora atual (UTC) em ISO-8601

## Instalação
```bash
cd mcp-servers/servers/example
pip install -e .
```

## Execução
- Via entry point (STDIO):
```bash
mcp-example
```
- Via módulo Python:
```bash
python -m example_server.main
```

## Inspecionar com MCP Inspector
```bash
uv run mcp dev src/example_server/main.py:server
```

> Use este pacote como base mínima para criar novos servidores MCP.
ecocash 0.0.6
Unofficial Python Wrapper Library for the EcoCash API by Tarmica Sean Chiwara, A computer engineering student.
Requires Python: >=3.8

# Ecocash Python Library

Simple, intuitive Python client for Ecocash Open API.

## Installation

```bash
pip install ecocash
```

## Quick Start

```python

from ecocash import Ecocash
wallet = EcoCash(
    app_id="app123", # provided by ecocash in the portal
    api_key="key123", # provided by ecocash in the portal
    merchant_code="850236", # for merchant payments
    app_name="MyApp" # provided by ecocash in the portal
)
```

# Make a payment

this is used to initiate transaction from ***Merchant-Side to Customer-Side** *(customer only has to approve transaction by inputting their pin)

```python
result = wallet.initiate_payment(
	customer_msisdn = "263774222475", # the customer number 
	amount = 10.5, 
	reason = "Payment test"
	)
print(result)
```

# Refund example

```python
result = wallet.refund("uuid_here", "012345l61975", "263774222475", 10.5, "Vaya Africa", "USD", "Test refund")
```

```python
print(result)
```

# Transaction lookup example

```python
result = wallet.check_transaction_status("263774222475", "uuid_here")
print(result)
```