semvec/pypi-packages huggingface dataset:
flask-ltfi-wsap 2.0.0
Flask extension for LTFI-WSAP (Web System Alignment Protocol) integration
License: MIT
Requires Python: >=3.8
Keywords: flask wsap ltfi verification domain security api integration kief-studio


# 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