Metadata-Version: 2.4
Name: ihub-phoenix
Version: 4.2.0
Summary: iHub Phoenix Native Server - Production-grade HTTP server with AI capabilities
Author-email: "iHub Intelligence Ltd." <contact@ihub-global.com>
License: Proprietary - iHub Intelligence Ltd.
Project-URL: Homepage, https://ihub-global.com
Project-URL: Documentation, https://docs.ihub-global.com
Project-URL: Repository, https://github.com/ihub/phoenix
Project-URL: Bug Reports, https://github.com/ihub/phoenix/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: requests>=2.34.0
Requires-Dist: PyJWT>=2.8.0
Requires-Dist: python-multipart>=0.0.9
Requires-Dist: email-validator>=2.3.0
Requires-Dist: bcrypt>=5.0.0
Requires-Dist: cryptography>=42.0.0
Requires-Dist: sqlite3
Requires-Dist: stripe>=15.0.0
Requires-Dist: aiohttp>=3.8.0
Requires-Dist: websockets>=12.0
Requires-Dist: psutil>=5.9.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: isort>=5.12.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Provides-Extra: monitoring
Requires-Dist: prometheus-client>=0.17.0; extra == "monitoring"
Requires-Dist: psutil>=5.9.0; extra == "monitoring"
Provides-Extra: redis
Requires-Dist: redis>=5.0.0; extra == "redis"
Provides-Extra: postgres
Requires-Dist: psycopg2-binary>=2.9.0; extra == "postgres"
Provides-Extra: all
Requires-Dist: ihub-phoenix[dev,monitoring,postgres,redis]; extra == "all"

# iHub API Platform

<div align="center">

**Version 3.0.0** | [Terms of Service](#) | [Privacy Policy](#) | [Support](mailto:support@ihub-global.com)

</div>

---

## 📋 Table of Contents

- [Overview](#overview)
- [Pricing](#pricing)
- [Quick Start](#quick-start)
- [Authentication](#authentication)
- [API Endpoints](#api-endpoints)
- [Code Examples](#code-examples)
- [Error Handling](#error-handling)
- [Rate Limits](#rate-limits)
- [SDKs & Libraries](#sdks--libraries)
- [Deployment](#deployment)
- [FAQ](#faq)

---

## Overview

The iHub API allows developers to programmatically integrate iHub services into their applications. Create unlimited API keys, manage users, and build on top of the iHub platform.

### Base URLs

| Environment | URL |
|-------------|-----|
| **Production** | `https://www.ihub-global.com/api` |
| **Local Development** | `http://localhost:5000/api` |

### Features

- ✅ Unlimited API keys per project
- ✅ Unlimited projects per account
- ✅ Real-time user management
- ✅ Enterprise-grade security
- ✅ 99.9% uptime SLA

---

## 💰 Pricing

### Free Tier (Always Free)
| Feature | Limit |
|---------|-------|
| API Requests | 1,000 per day |
| API Keys | Unlimited |
| Projects | Up to 3 |
| Support | Community |
| **Cost** | **$0 / month** |

### Pro Tier - $29/month
| Feature | Limit |
|---------|-------|
| API Requests | 50,000 per day |
| API Keys | Unlimited |
| Projects | Unlimited |
| Support | Email within 24h |
| Analytics Dashboard | ✅ Included |
| Webhooks | ✅ Included |

### Enterprise - Custom Pricing
| Feature | Limit |
|---------|-------|
| API Requests | Unlimited |
| API Keys | Unlimited |
| Projects | Unlimited |
| Support | 24/7 Phone & Email |
| Analytics Dashboard | ✅ Included |
| Webhooks | ✅ Included |
| Dedicated Server | ✅ Included |
| Custom SLA | ✅ Included |
| On-premise Deployment | ✅ Available |

### How to Upgrade

1. Register for a free account via `/api/register`
2. Log into your dashboard at `https://www.ihub-global.com/dashboard`
3. Click "Upgrade Plan" and enter payment details
4. Your API key will automatically have higher limits

> **Note:** All plans include SSL encryption, DDoS protection, and automatic backups.

---

## 🚀 Quick Start

### 1. Register a Developer Account

```bash
curl -X POST https://www.ihub-global.com/api/register \
  -H "Content-Type: application/json" \
  -d '{
    "email": "developer@mycompany.com",
    "password": "SecurePass123!",
    "name": "John Developer",
    "company": "My Company LLC"
  }'
