semvec/pypi-packages huggingface dataset:
mcp-radiation 0.1.0
A package for retrieving solar radiation data using NASA's POWER API
Requires Python: >=3.6
Keywords: solar radiation, NASA POWER, weather data, renewable energy

# MCP Radiation

A Python package for retrieving solar radiation data using NASA's POWER API.

## Features

- Retrieve hourly solar radiation data for any location
- Support for total, direct, and diffuse irradiance
- Temperature and wind speed data included
- Automatic date validation and adjustment
- Retry mechanism for API requests
- Export data to CSV format

## Installation

```bash
pip install -e .
```

## Usage

```python
from mcp_radiation import RadiationMCP

# Initialize with location coordinates
mcp = RadiationMCP(latitude=39.9042, longitude=116.4074)

# Get data for a specific date range
data = mcp.fetch_data('2023-01-01', '2023-12-31')

# Get five years of hourly data
df, stats = mcp.get_five_years_hourly_data('data')
```

## Data Format

The package retrieves the following parameters:
- Total irradiance (W/m²)
- Direct irradiance (W/m²)
- Diffuse irradiance (W/m²)
- Temperature (°C)
- Wind speed (m/s)

## License

MIT License

## Author

俞海 (yuhai_8203@126.com)
unirt.amplify-doc-mcp-server 0.0.3
An Model Context Protocol (MCP) server for AWS Amplify Gen 2 Documentation
Requires Python: >=3.13

# AWS Amplify Gen 2 Documentation MCP Server

Model Context Protocol (MCP) server for [AWS Amplify Gen 2 Documentation](https://docs.amplify.aws/)

This MCP server provides tools to access AWS Amplify Gen 2 documentation and search for content.

## Important Notes
- This is an unofficial MCP server
- Inspired by and references [AWS Documentation MCP Server](https://github.com/awslabs/mcp/tree/main/src/aws-documentation-mcp-server)

## Features

- **Read Documentation**: Fetch and convert AWS Amplify Gen 2 documentation pages to markdown format
- **Search Documentation**: Search AWS Amplify Gen 2 documentation

## Prerequisites

### Installation Requirements

1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
2. Install Python 3.13 or newer using `uv python install 3.13` (or a more recent version)

## Installation

To add this MCP server to your Amazon Q or Claude, add the following to your MCP config file. With Amazon Q, create (if does not yet exist) a file named `.amazonq/mcp.json` under the same directory that is running `q chat`. Then add the following config:

```json
{
  "mcpServers": {
    "unirt.amplify-doc-mcp-server": {
        "command": "uvx",
        "args": ["unirt.amplify-doc-mcp-server@latest"],
        "env": {
          "FASTMCP_LOG_LEVEL": "ERROR"
        },
        "disabled": false,
        "autoApprove": []
    }
  }
}
```

## Basic Usage

Example:

- "How can I create custom resources in Amplify Gen 2? Please provide a detailed explanation based on the documentation."
- "Please explain the permission configuration details in Amplify Gen2 based on the documentation."

## Tools

### read_amplify_documentation

Fetches an AWS Amplify Gen 2 documentation page and converts it to markdown format.

```python
read_amplify_documentation(url: str, max_length: int = 10000, start_index: int = 0) -> str
```

### search_amplify_documentation

Searches AWS Amplify Gen 2 documentation using the official AWS Amplify Gen 2 Documentation Search API (Algolia).

```python
search_amplify_documentation(search_phrase: str, platform: Optional[str], limit: int) -> list[dict]
```
pyrtk-cli 0.1.3
A modern CLI for scaffolding and managing FastAPI projects with clean architecture.
Requires Python: >=3.7

# 🛠️ PyRTK - Python REST Toolkit CLI

PyRTK is a modern CLI tool to scaffold and manage clean, modular FastAPI projects and microservices — with style 😎

---

## 🚀 Installation (Recommended via pipx)

Make sure you have [pipx](https://pypa.github.io/pipx/) installed:

```bash
brew install pipx && pipx ensurepath
# or
python3 -m pip install --user pipx && python3 -m pipx ensurepath
```

Then install PyRTK globally via pipx:

```bash
pipx install pyrtk-cli
```

Or install it via pip:

```bash
pip install pyrtk-cli
```

Now you can use the `pyrtk` command from anywhere 🎉

---

## 📦 Commands

### `pyrtk create <project-name> --type api|ms`

Scaffolds a complete API or Microservice:

- `api`: simple FastAPI project with routers, schemas, middleware, and main.py
- `ms`: full microservice architecture (core, models, services, routers, etc.)

Example:

```bash
pyrtk create panaderia --type ms
```

✅ This will also:
- Create a virtual environment inside the project
- Install dependencies
- Show you how to activate the environment manually

---

### `pyrtk run`

Runs your FastAPI project automatically using the environment created.

```bash
cd panaderia
pyrtk run
```

This will launch the Uvicorn server using the right Python environment automatically 🚀

---

## 🔜 Coming Soon

- `pyrtk generate <type> <name>` → Auto-generate routers, schemas, models, etc.
- Plugin system
- Custom project templates
- Docker & deployment helpers

---

## 🧡 Made with love by Andrés Mardones
WordPResT 0.0.4
A simple wordpress api
Requires Python: >=3.8

# WordPress REST API Client

Finally a simple and efficient API to work with your WordPress. 
A Python client for interacting with the WordPress REST API to manage content, media, and categories.

## Features

- Create posts/pages
- Upload images from URLs
- Create categories
- Secure authentication handling
- Error handling for API requests

## Installation

**Requirements**:
- Python 3.6+
- WordPress site with REST API enabled (v4.7+)
- Application password (WordPress > Users > Profile > Application Passwords)

**Install dependencies**:
```
pip install WordPRest
```

**Initialize client**
```
from wpAPI import WordPress
wp = WordPress(
    domain='yourdomain.com',
    username='admin',
    password='your_application_password'
)
```

**Create a category**
```
new_category = wp.category("Tech News")
print(f"Created category ID: {new_category['id']}")
```

**Upload an image**
```
image_url = "https://example.com/image.jpg"
media = wp.upload_image(image_url)
print(f"Uploaded media ID: {media['id']}")
```

**Create a post**
```
post_data = {
    "title": "My First API Post",
    "content": "This post was created programmatically!",
    "status": "publish",
    "categories": [new_category['id']],
    "featured_media": media['id']
}
post = wp.publish(post_data)
print(f"Published post at: {post['link']}")
```


## API Methods

category(data)
Purpose: Create a new category

Parameters:
content_data (str): Category name

Returns: Category object or None on failure
```
upload_image(image_url)
```
Purpose: Upload image from URL to media library

Parameters:
```
image_url (str): Publicly accessible image URL
```
Returns: Media object or None on failure

```
publish(content_data, content_type="post")
```
Purpose: Create posts/pages

Parameters:

content_data (dict): Post/page content (see WP REST API docs)

content_type (str): "post" (default) or "page"

Returns: Post/Page object or None on failure

Content Data Structure

## Typical post structure:

```
{
    "title": "Post Title",
    "content": "Post content",
    "status": "publish",  # or "draft"
    "categories": [1, 2], # Array of category IDs
    "featured_media": 123, # Media ID from upload_image()
    "tags": [3, 4],       # Array of tag IDs
    "excerpt": "Summary text"
}
```

## Error Handling
Methods return None on failure

Errors are printed to console with details

**Common error sources**:

- Invalid credentials

- Network issues

- Invalid image URLs

- Insufficient user permissions

**Important Security Practices**:

- Always use application passwords (not regular user passwords)

- Store credentials in environment variables (not in code)

- Use HTTPS for your WordPress site

- Restrict API access through permissions/plugins