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.6.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonweblog_client_ws-0.6.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythonweblog_client_ws-0.6.0.tar.gz
  • Upload date:
  • Size: 5.0 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.6.0.tar.gz
Algorithm Hash digest
SHA256 1129c191527e6ceda732ce3a35afb0054f2d8ef037a1182fb8f7e74d242f7638
MD5 236763bcf2c019c88d5ee94e242b6920
BLAKE2b-256 80a0260bb298bdda64a2f6dded03060734febe2e3a0bd02253ed59e00e3c7b44

See more details on using hashes here.

File details

Details for the file pythonweblog_client_ws-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonweblog_client_ws-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8f34b62786bb010f4de70827d92d28dc968422ed3d93523ea37f503a4e31c7
MD5 29ef436ae7d55a30b6d63c2399720b39
BLAKE2b-256 86077741146f787e2d7336e47069255efb01a36144b8ca5c4eeb691cc2bd14e3

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