Metadata-Version: 2.4
Name: ediq
Version: 1.0.0
Summary: Official Python SDK for Ediq AI Detection API by Wyzcon
Home-page: https://github.com/wyzcon/ediq-python
Author: Wyzcon
Author-email: jonathan.cruz@wyzcon.com
Project-URL: Bug Tracker, https://github.com/wyzcon/ediq-python/issues
Project-URL: Documentation, https://docs.wyzcon.com
Project-URL: Homepage, https://wyzcon.com
Keywords: ai detection artificial intelligence plagiarism checker education wyzcon ediq
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov>=3.0; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: flake8>=4.0; extra == "dev"
Requires-Dist: mypy>=0.950; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Ediq - AI Detection SDK

Official Python client for Ediq AI Detection API by Wyzcon.

Detect AI-generated content in essays, assignments, and student work with 96% accuracy.

## Installation

```bash
pip install ediq
```

## Quick Start

```python
from ediq import Ediq

# Initialize client with your API key
client = Ediq("wyz_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx")

# Detect AI in text
result = client.detect("Your text to analyze here...")

print(f"AI Probability: {result.probability}%")
print(f"Assessment: {result.assessment}")
print(f"Confidence: {result.confidence}%")
```

## Get Your API Key

1. Sign up at [wyzcon.com](https://wyzcon.com)
2. Get your free API key
3. Start detecting AI content

## Features

- ✅ **96% accuracy** on 10,000+ tested essays
- ✅ **9-layer detection** system
- ✅ **Student baselines** - Protect good writers
- ✅ **Photo scanning** - OCR for handwritten essays
- ✅ **Comprehensive reports** - Detailed analysis
- ✅ **Type hints** - Full autocomplete support

## Usage Examples

### Basic Detection

```python
from ediq import Ediq

client = Ediq("your_api_key")
result = client.detect("Text to analyze...")

print(result.probability)  # 75.3
print(result.assessment)   # "likely_ai"
```

### With Student Baseline

```python
result = client.detect(
    text="Current submission...",
    student_id="john_doe",
    baseline="Previous authentic work..."
)

print(f"Similarity: {result.baseline_similarity:.1%}")
```

### Detect from File

```python
result = client.detect_file("essay.pdf")
print(f"AI: {result.probability}%")
```

### Detect from Image (OCR)

```python
result = client.detect_image(
    "handwritten_essay.jpg",
    handwritten=True
)
```

## Documentation

Full documentation at [docs.wyzcon.com](https://docs.wyzcon.com)

## License

MIT License
