No project description provided
Project description
VOXU
This Python package provides a request logging and viewing system for Flask applications. It allows developers to log and view HTTP requests made to their web applications, facilitating debugging and monitoring.
Features:
- Middleware to log incoming requests to a database.
- Configurable database connection and table name.
- Dashboard to view logged requests.
- Authentication for accessing the dashboard (coming soon).
- Customizable logging fields and formats (in-progress).
- AI-powered request analysis and anomaly detection (in-progress).
Usage:
Installation:
pip install voxu
Initialization:
Set SQLALCHEMY_DATABASE_URI in your Flask app configuration. Set the table name for request logs (VOXU_LOG_TABLE) in your Flask app configuration. The default table name is 'http_request_logs'.
from flask import Flask
from voxu import Voxu
app = Flask(__name__)
voxu = Voxu()
voxu.init_app(app)
OR
from flask import Flask
from voxu import Voxu
app = Flask(__name__)
voxu = Voxu(app)
Access Logs:
Navigate to /voxu/logs to view all logged requests in a HTML UI. Configuration:
Configure the database URL and table name during initialization. Customize middleware and database settings as needed.
Contributing:
Contributions are welcome! Feel free to open issues or pull requests for bug fixes, enhancements, or new features.
License:
This project is licensed under the MIT License - see the LICENSE file for details.
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
File details
Details for the file voxu-0.1.8.tar.gz
.
File metadata
- Download URL: voxu-0.1.8.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64bd5dac341f53e9b162c3e98caf755b6b4554df3fe00063ea7347bdc724ad7c |
|
MD5 | f59161f0de0cded60f0d106e26e3beb3 |
|
BLAKE2b-256 | ef6dfe4c163a709df50bc3fc3089db420cf91f3402fc7c49f8fd13943f947a0f |
File details
Details for the file voxu-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: voxu-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a61abd61ed4d8870df91a48c4f75a04bfdd876f0ff17a35c0e27d1a48b2e959 |
|
MD5 | 864af78442fd9aa5332fe93155576a14 |
|
BLAKE2b-256 | 30ef925d4d04154fd07a056e7bb141ca3d26017d2a1414cf3a3072ad5bc9a37a |