Flask extension for LTFI-WSAP (Web System Alignment Protocol) integration
Project description
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
pip install flask-ltfi-wsap
Quick Start
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask_ltfi_wsap-2.0.0.tar.gz.
File metadata
- Download URL: flask_ltfi_wsap-2.0.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3105e22412e03ad93d41aa22216dc1a34a87eaf9a57c1b443ce7e47996d63c7
|
|
| MD5 |
4531067ac7164efc328f6b800d40d2b0
|
|
| BLAKE2b-256 |
50f000ed4515a6966e85556fcaaa35a67aee49e59cc7c7e10d52e79cf211a9fc
|
File details
Details for the file flask_ltfi_wsap-2.0.0-py3-none-any.whl.
File metadata
- Download URL: flask_ltfi_wsap-2.0.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a089d86b246d8209769f2f750d67ce0e425d38a2fa204b0b3c7525eb88377de2
|
|
| MD5 |
d7f8559114a4807f8aed29d8cdfab400
|
|
| BLAKE2b-256 |
d261694c3ff5ea53204e055da5981b9602500a949b3b3ac231ff33a3248002c0
|