Skip to main content

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

  1. Clone the repository
  2. Run the setup script
  3. 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

pythonweblog_client_ws-0.5.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file pythonweblog_client_ws-0.5.0.tar.gz.

File metadata

  • Download URL: pythonweblog_client_ws-0.5.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for pythonweblog_client_ws-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7d2c62c59a87382110dace975ee198efca34835f243aad9c16acf8573b6f0e15
MD5 dd171bfb234570b2fbfa4c2fbe50ee05
BLAKE2b-256 ca98b040db76a1692ab5ae64fbea920064e7de9349308477959848c87b6746ea

See more details on using hashes here.

Supported by

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