semvec/pypi-packages huggingface dataset:
datetoolz 0.1.0
Tiny date helper library - get today, yesterday, tomorrow, weekday, etc.
License: MIT
Requires Python: >=3.8
Keywords: date, datetime, helpers

﻿# datetoolz

Tiny date helper library - get today, yesterday, tomorrow, weekday, etc.

## Install (editable)

```bash
pip install -e .
```

## Usage

```python
from datetoolz import today, yesterday
print(today())     # 2025-10-20
print(yesterday()) # 2025-10-19
```

### API

- today() -> str: ISO date YYYY-MM-DD
- yesterday() -> str: ISO date YYYY-MM-DD
- tomorrow() -> str: ISO date YYYY-MM-DD
- weekday(fmt: Literal["name","abbr","index"]) -> str | int
pathao-api 1.2.0
Unofficial Pathao API client for Python
License: MIT
Requires Python: >=3.7

![GitHub Stars](https://img.shields.io/github/stars/Muktadirul675/pathao-api?style=social)  
![PyPI Version](https://img.shields.io/pypi/v/pathao-api)  

# PathaoAPI - Unofficial Python Wrapper for Pathao Merchant API

`pathao-api` is a lightweight Python SDK that allows developers to interact with Pathao's Merchant API, providing utilities for:

✅ Authentication / Reauthentication
✅ City / Zone / Area lookup  
✅ Delivery charge estimation  
✅ Store information retrieval 
✅ Create Order

## Installation

```
pip install pathao-api
```

## Configuration

You can configure credentials via a .env file or pass them directly during initialization.

✅ Option 1: Using .env
```
PATHAO_BASE_URL=https://api.pathao.com
PATHAO_STORE_ID=12345
PATHAO_CLIENT_ID=your_client_id
PATHAO_CLIENT_SECRET=your_client_secret
PATHAO_USERNAME=merchant@you.com
PATHAO_PASSWORD=yourpassword
```
✅ Option 2: Initialize with Arguments

```
from pathao_api import PathaoAPI

client = PathaoAPI(
    base_url="https://api.pathao.com",
    store_id="12345",
    client_id="your_client_id",
    client_secret="your_client_secret",
    username="merchant@you.com",
    password="yourpassword"
)
```


## Usage

```
from pathao_api import PathaoAPI

client = PathaoAPI()
```

Then you can call the methods using the `client` with necessery parameters.
### Available Methods
```
cities = client.get_city_list()
zones = client.get_zone_list(city_id:int)
areas = client.get_area_list(zone_id:int)
charge = client.get_delivery_charge(city_id:int, zone_id:int)
stores = client.get_stores()
order = client.create_order(order_id: str, recipient_name: str, recipient_phone: str, recipient_address: str, item_quantity: int, amount_to_collect: int, delivery_type: int = 48, item_type: int = 2, special_instruction: str = "", item_weight: float = 0.5, item_description: str = '')
```
**The return values are same as pathao's official docs**

## Contributing

Contributions are welcome! Submit an issue or PR.

---

## License

MIT License.

⭐ If you find this package helpful, consider giving a star!
poly-mcp-server 0.2.3
Poly MCP Server - Wordit Edutem database reporting tool
License: MIT
Requires Python: >=3.10
Keywords: ai, mcp, model-context-protocol, tools

# Poly MCP Server

Version: 0.2.0

A Model Context Protocol (MCP) server providing:
- Wordit Edutem usage statistics export to Excel

## Installation

```bash
uvx poly-mcp-server@0.2.0
```

Or install locally:
```bash
uv pip install poly-mcp-server
```

## Available Tools

### wordit_edutem_usage

Export Wordit Edutem usage statistics to Excel file.

**Parameters:**
- `start_date` (required): Start date in YYYY-MM-DD format (e.g., '2025-09-01')
- `end_date` (optional): End date in YYYY-MM-DD format. If omitted, uses the last day of start_date's month
- `campus_name` (optional): Campus name filter (e.g., '강남캠퍼스'). If omitted, queries all campuses
- `output_path` (optional): Excel file save path (default: ./output)

**Example:**
```json
{
  "start_date": "2025-09-01",
  "end_date": "2025-09-07",
  "campus_name": "강남캠퍼스",
  "output_path": "./output"
}
```

## Environment Variables

Required for database connection:
- `POSTGRES_HOST`: PostgreSQL host (default: localhost)
- `POSTGRES_PORT`: PostgreSQL port (default: 5432)
- `POSTGRES_DB`: PostgreSQL database name (required)
- `POSTGRES_USER`: PostgreSQL username (required)
- `POSTGRES_PASSWORD`: PostgreSQL password (required)

## MCP Configuration

### VSCode Settings

Add to `.vscode/settings.json`:

```json
{
  "mcp.servers": {
    "poly-mcp": {
      "command": "uvx",
      "args": ["poly-mcp-server@0.2.0"],
      "env": {
        "POSTGRES_HOST": "your-host",
        "POSTGRES_PORT": "5432",
        "POSTGRES_DB": "your-db",
        "POSTGRES_USER": "your-user",
        "POSTGRES_PASSWORD": "your-password"
      }
    }
  }
}
```

### Claude Desktop

Add to `claude_desktop_config.json`:

#### Windows
Location: `%APPDATA%\Claude\claude_desktop_config.json`

#### macOS
Location: `~/Library/Application Support/Claude/claude_desktop_config.json`

#### Linux
Location: `~/.config/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "poly-mcp": {
      "command": "uvx",
      "args": ["poly-mcp-server@0.2.0"],
      "env": {
        "POSTGRES_HOST": "your-host",
        "POSTGRES_PORT": "5432",
        "POSTGRES_DB": "your-db",
        "POSTGRES_USER": "your-user",
        "POSTGRES_PASSWORD": "your-password"
      }
    }
  }
}
```

## Development

### Local Setup

```bash
git clone <repository-url>
cd poly-mcp-server

# Install with dev dependencies
uv pip install -e ".[dev]"
```

### Run Tests

```bash
# Run all tests
uv run pytest

# Run with verbose output
uv run pytest -v

# Run with coverage
uv run pytest --cov=poly_mcp_server
```

### Run Server

```bash
# Using uv
uv run poly-mcp-server

# Or as Python module
uv run python -m poly_mcp_server.server

# Show help
uv run poly-mcp-server --help
```

## License

MIT

## Contributing

Bug reports and feature requests are welcome via GitHub Issues.