Python client for the pythonweblog
Project description
SDK LogSQL
Overview
This SDK now provides integration via WebSockets for interaction with the LogSQL service.
Módulo
- SDK_WS: Contém classes e handlers para comunicação WebSocket, incluindo gerenciamento de conexão e autenticação.
Uso
WebSocket
from pyweblog import SetupLogger
import logging
logger = SetupLogger(
name="your_logger",
username="your_email",
password="your_password",
level=logging.DEBUG
)
You can pass the Bearer token as well
from pyweblog import SetupLogger
import logging
logger = SetupLogger(
name="your_logger",
token="your_api_token",
level=logging.DEBUG
)
Final Considerations
This SDK was developed to facilitate integration with the LogSQL service through asynchronous communication using WebSockets.This SDK was developed to
Description
This project provides a simple way to log in web applications without much work. It works with SQLite and user based structure to ensure data safety.
Features
• Easy to integrate into existing projects
• Real-time logging
• Configurable output options
Installation
- Clone the repository
- Run the setup script
- Configure the logging options
Usage
Call the logger function in your SQL-related scripts, passing your query string. The query is automatically recorded.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss future improvements.
License
MIT `
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
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 pythonweblog_client_ws-0.7.0.tar.gz.
File metadata
- Download URL: pythonweblog_client_ws-0.7.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83526e8ef0a7a35feef0934afd38ba1caaa1f66590a7ba3e38034d84d77e927b
|
|
| MD5 |
93c386509d938a98733f5d94577df481
|
|
| BLAKE2b-256 |
7066ac18ed6a5e86c3662d8e8113bd24e294654b84a9cda01dbd1351d1765598
|
File details
Details for the file pythonweblog_client_ws-0.7.0-py3-none-any.whl.
File metadata
- Download URL: pythonweblog_client_ws-0.7.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
849450ac8bdc28b2bea781b86afbf559af389f9129866608faf8c517b9077df3
|
|
| MD5 |
3e0f0620206afcca37997c1fe660408c
|
|
| BLAKE2b-256 |
b2ac5c670de8e10b02ad73beb4a05fffe02ab56836af3e072256bd8e463b1b7b
|