Metadata-Version: 2.4
Name: flask-ltfi-wsap
Version: 2.0.0
Summary: Flask extension for LTFI-WSAP (Web System Alignment Protocol) integration
Home-page: https://github.com/KiefStudioMA/LTFI-WSAP-Flask
Author: Kief Studio
Author-email: hello@ltfi.ai
License: MIT
Project-URL: Documentation, https://flask-ltfi-wsap.readthedocs.io
Project-URL: Bug Reports, https://github.com/KiefStudioMA/LTFI-WSAP-Flask/issues
Project-URL: Source, https://github.com/KiefStudioMA/LTFI-WSAP-Flask
Project-URL: Company, https://kief.studio
Project-URL: LTFI Ecosystem, https://ltfi.ai
Project-URL: WSAP Protocol, https://wsap.ltfi.ai
Keywords: flask wsap ltfi verification domain security api integration kief-studio
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Framework :: Flask
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: Flask>=2.0.0
Requires-Dist: Werkzeug>=2.0.0
Requires-Dist: dnspython>=2.0.0
Requires-Dist: cryptography>=3.4.0
Provides-Extra: api
Requires-Dist: ltfi-wsap-sdk>=2.0.0; extra == "api"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-flask>=1.2.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


# Flask LTFI-WSAP Integration

**Version:** 2.0.0  
**License:** MIT with Additional Terms

## Overview

Flask extension for integrating LTFI-WSAP (Layered Transformer Framework Intelligence - Web System Alignment Protocol) into Flask applications. This package provides a complete Flask integration with models, views, middleware, and utilities for implementing WSAP in your Flask projects.

## What is LTFI-WSAP?

LTFI-WSAP is a revolutionary protocol that enables organizations to provide structured, verified information about their business to AI systems through standardized JSON files. It supports progressive disclosure levels and cryptographic verification, ensuring that AI assistants can access accurate, real-time business information while respecting privacy preferences.

## Key Features

- **Flask Extension**: Easy integration with Flask applications via `WSAP()` extension
- **Blueprint Support**: Pre-configured Blueprint with WSAP endpoints and dashboard
- **Domain Verification**: DNS TXT record verification for proving domain ownership  
- **Progressive Disclosure**: Control information visibility with multiple disclosure levels
- **Entity Management**: Support for companies, non-profits, government agencies, personal brands, and more
- **Data Models**: Complete data models and schemas for WSAP entities
- **Middleware**: Automatic WSAP endpoint serving at `/.well-known/wsap.json`
- **Security**: Built-in rate limiting, API key validation, and field encryption
- **Caching**: Response caching for improved performance
- **API Integration**: Full integration with LTFI-WSAP API service

## Installation

```bash
pip install flask-ltfi-wsap
```

## Quick Start

```python
from flask import Flask
from flask_ltfi_wsap import WSAP, wsap_blueprint

app = Flask(__name__)

# Configure WSAP
app.config['WSAP_API_KEY'] = 'your-api-key'
app.config['WSAP_ENTITY_ID'] = 'your-entity-id'

# Initialize extension
wsap = WSAP(app)

# Register blueprint (optional)
app.register_blueprint(wsap_blueprint)

if __name__ == '__main__':
    app.run()
```

## Requirements

- Python 3.8+
- Flask 2.0+
- dnspython
- cryptography
- ltfi-wsap-sdk (optional, for API integration)

## Support

For support, documentation, and updates:

- **Documentation**: https://docs.ltfi.ai/flask
- **GitHub**: https://github.com/Kief-Studio/flask-ltfi-wsap
- **Support Email**: support@ltfi.ai
- **Website**: https://ltfi.ai

## License

This package is distributed under the MIT License with additional terms for certain use cases. For commercial use by organizations with annual revenue exceeding $1 million USD or requiring support for more than 100 domains, a commercial license is required. Contact sales@ltfi.ai for pricing.

---

**Made with ❤️ by Kief Studio** | Cambridge, MA
