semvec/pypi-packages huggingface dataset:
mawaqit-astro 1.0.2
A comprehensive Python library for astronomical calculations and prayer times.
Requires Python: >=3.7
Keywords: astronomy, prayer-times, salat, islam, sun, moon

# Mawaqit-Astro

[![PyPI version](https://img.shields.io/pypi/v/mawaqit-astro.svg)](https://pypi.org/project/mawaqit-astro/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Mawaqit-Astro** is a high-precision Python library for astronomical calculations and Islamic prayer times. It is a port of advanced astronomical logic, providing features for sun and moon positioning, sidereal time, and prayer time calculations based on various global standards.

## Features

- **Comprehensive Astronomical Data**: Compute Sun, Moon, Polaris positions, Nutation, and more.
- **Accurate Prayer Times**: Default support for Islamic Scholar Ala Hazrat method, with full support for custom angles and minute-based offsets.
- **Flexible Madhab Support**: Shafi and Hanafi methods for Asr calculations.
- **High Latitude Support**: Robust rules for regions with extreme day/night cycles.
- **Pure Python**: No external dependencies required.

## Installation

```bash
pip install mawaqit-astro
```

## Quick Start

### 1. Calculate Prayer Times

```python
from mawaqit_astro import PrayerCalculator, Location

# 1. Provide only required location data
location = Location(latitude=24.8607, longitude=67.0011, timezone=5.0)

# 2. Calculate using professional defaults
# (Current date, Ala Hazrat method, Hanafi Madhab)
times = PrayerCalculator().calculate(location)

print(f"Fajr: {times.fajr}")
print(f"Isha: {times.isha}")
```

### 2. High-Level Almanac Calculations

```python
from mawaqit_astro.core.almanac import compute_almanac, InputData

# Advanced astronomical data for a specific moment
data = InputData(year=2025, month=12, day=24, hour=12, minute=0, second=0)
almanac = compute_almanac(data)

print(f"Sun Right Ascension: {almanac.sun.rightAscension}")
print(f"Moon Phase: {almanac.moon.phase}")
```

## Project Structure

```text
mawaqit-astro/
├── src/
│   └── mawaqit_astro/
│       ├── core/       # High-precision astronomy logic (Sun, Moon, Nutation, etc.)
│       ├── prayers/    # Prayer time calculation modules
│       ├── utils/      # Mathematical and date utilities
│       └── types.py    # Common data structures
├── tests/              # Comprehensive test suite
├── pyproject.toml      # Package configuration
└── README.md           # Documentation
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
mcp-ai-forever 2.6.6
Enhanced MCP server for interactive user feedback and command execution in AI-assisted development, featuring dual interface support (Web UI and Desktop Application) with intelligent environment detection and cross-platform compatibility.
Requires Python: >=3.11
Keywords: ai, cross-platform, desktop-app, development, dual-interface, feedback, interactive, mcp, tauri, web-ui

# MCP AI Forever

**🌸 动漫粉蓝主题 | 智能 AI 交互工具**

## 🎯 核心功能

这是一个 [MCP 服务器](https://modelcontextprotocol.io/)，提供 **Web UI 交互界面**，用于 AI 辅助开发中的用户反馈和命令执行。

### ✨ 主要特性

- 🎨 **动漫粉蓝主题** - 精美的视觉体验
- 💬 **实时交互** - WebSocket 实时通信
- 👑 **VIP 功能** - 会员时间显示
- 🌐 **多语言支持** - 中文/英文

## 🚀 快速开始

### 安装
```bash
pip install mcp-ai-forever
```

或使用 uvx：
```bash
uvx mcp-ai-forever
```

### MCP 配置

在 VS Code 的 `mcp.json` 中添加：

```json
{
  "servers": {
    "mcp-ai-forever": {
      "command": "uvx",
      "args": ["mcp-ai-forever"],
      "autoApprove": ["interactive_feedback"]
    }
  }
}
```

### 环境变量

| 变量 | 说明 | 默认值 |
|------|------|--------|
| `MCP_DEBUG` | 调试模式 | `false` |
| `MCP_WEB_HOST` | 绑定地址 | `127.0.0.1` |
| `MCP_WEB_PORT` | Web 端口 | `8765` |
| `MCP_LANGUAGE` | 界面语言 | 自动检测 |

## 📧 联系方式

- **邮箱**: dr.bsucs@gmail.com
- **QQ**: 494588788

## 📄 许可证

MIT License