Skip to main content

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 (coming soon).
  • API key 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 /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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voxu-0.1.6.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

voxu-0.1.6-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page