LitLyx Sender
LitLyx Sender is a Python library for easily sending events to the LitLyx platform.
Installation
You can install LitLyx Sender using pip:
pip install litlyx-sender
Usage
Here's a basic example of how to use LitLyx Sender:
from litlyx_sender import LitLyxSender
# Create a sender instance
sender = LitLyxSender()
# Send a simple event
sender.send_event(name="test_event", metadata={"test": "value"})
# Use the decorator
@sender.event_decorator(name="decorated_event", metadata={"decorated": True})
def example_function():
print("This is an example function.")
example_function()
Configuration
You can configure the LitLyxSender with custom default values:
sender = LitLyxSender(
url="https://custom.litlyx.com/event",
default_pid="custom_pid",
default_name="custom_event",
default_metadata={"custom": "metadata"},
default_website="custom.website.com",
default_user_agent="CustomApp/1.0"
)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Release files for litlyx-sender 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| litlyx_sender-0.1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| litlyx_sender-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / litlyx_sender-0.1.0.tar.gz
| Download URL | litlyx_sender-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22e6a74d6e4583e27053f600b406e82263ad264f5d471d1adcba88fcc6964e15
|
|
BLAKE2b-256 checksum How to use checksums |
90908e567a965fae6f6d5d7dd5e65e9aa7afdff20b3df5efe646be64af421b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / litlyx_sender-0.1.0-py3-none-any.whl
| Download URL | litlyx_sender-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0caf8ad1c92f06f2a17435660e6137c53b8379a24c4ea7c67507ae59a340584
|
|
BLAKE2b-256 checksum How to use checksums |
8f8af65e1020c176946dcddd72db2024871ec49cf8e6e49347cb3957b5190ec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|