https://github.com/yorubadeveloper/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.
https://github.com/yorubadeveloper/voxu
flask https-server logging openai python voxu
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/yorubadeveloper/voxu
- Owner: yorubadeveloper
- License: mit
- Created: 2024-03-02T17:36:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-28T13:34:47.000Z (over 1 year ago)
- Last Synced: 2025-06-06T00:46:09.173Z (4 months ago)
- Topics: flask, https-server, logging, openai, python, voxu
- Language: Python
- Homepage:
- Size: 1.37 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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'.
```python
from flask import Flask
from voxu import Voxuapp = Flask(__name__)
voxu = Voxu()
voxu.init_app(app)
```
**OR**
```python
from flask import Flask
from voxu import Voxuapp = 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.