Metadata-Version: 2.4
Name: pythonweblog_client_ws
Version: 0.7.0
Summary: Python client for the pythonweblog
Home-page: https://github.com/asuma312/python-weblogging
Author: Lucas Bueno
Author-email: asuma312@gmail.com
Keywords: pythonweblog,python,client,websocket,logging,log,logger
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: python-socketio
Requires-Dist: websocket-client
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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
```python
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
```python
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
`
