Metadata-Version: 2.4
Name: archapi
Version: 0.3.1
Summary: Architecture-preserving REST API synthesis library
Author: ArchAPI Research Team
License-Expression: MIT
Project-URL: Homepage, https://github.com/rohith5005/archapi
Project-URL: Repository, https://github.com/rohith5005/archapi
Project-URL: Issues, https://github.com/rohith5005/archapi/issues
Keywords: rest-api,code-generation,architecture,express,fastapi
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ArchAPI

ArchAPI is a Python library for architecture-preserving REST API generation.

It scans an existing backend project, detects the framework, understands the project structure, plans a REST API, generates framework-specific files, validates the output, and writes files only when explicitly requested.

---

## Current Status

Current checkpoint: **Phase 3 complete**

Completed:

- Functional Python package
- Express TypeScript adapter
- FastAPI adapter
- Generic fallback adapter
- Framework detection
- Project scanning
- API architecture model
- Confidence scoring
- Low-confidence blocking
- Strict config mode
- REST intent planner
- Code generation
- Dry-run generation
- Safe apply
- Overwrite protection
- Cache and changed-file detection
- Secret scanner
- Context redaction
- Policy gate
- Architecture consistency score
- Command validation
- Unified regression test suite

---

## Supported Frameworks

Dedicated generation support currently exists for:

- Express TypeScript
- FastAPI

Other frameworks may be detected, but they currently use the generic fallback adapter.

---

## Installation

From the project root:

```bash
pip install -e .
