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.
Metadata
Release files for voxu 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| voxu-0.1.8.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voxu-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / voxu-0.1.8.tar.gz
| Download URL | voxu-0.1.8.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64bd5dac341f53e9b162c3e98caf755b6b4554df3fe00063ea7347bdc724ad7c
|
|
BLAKE2b-256 checksum How to use checksums |
ef6dfe4c163a709df50bc3fc3089db420cf91f3402fc7c49f8fd13943f947a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / voxu-0.1.8-py3-none-any.whl
| Download URL | voxu-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a61abd61ed4d8870df91a48c4f75a04bfdd876f0ff17a35c0e27d1a48b2e959
|
|
BLAKE2b-256 checksum How to use checksums |
30ef925d4d04154fd07a056e7bb141ca3d26017d2a1414cf3a3072ad5bc9a37a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|