Skip to main content

NeoLogger is a versatile Python library that simplifies and enhances logging and notifications in your applications. It seamlessly integrates with Slack and Microsoft Teams for real-time notifications and supports broadcasting messages over the STOMP protocol. It incorporates advanced logging and notification features, saving you development time and effort. Now includes a Stopwatch class to track function execution times with precision and an Alarm class to raise notifications when thresholds are exceeded.

Project description

NeoLogger

PyPI Downloads

NeoLogger Banner

A collection of Python notification classes for enhanced logging, messaging, and Slack notifications.

Find me on PyPi.org

Overview

NeoLogger provides a set of tools to improve logging output with customizable styles, send messages over STOMP protocol, and send Slack notifications with rich formatting.

Features

  • NeoLogger: Advanced logging with customizable colors, styles, and templates.
  • StompBabbler: Send messages over STOMP protocol to a specified queue.
  • SlackNotification: Assemble and send richly formatted notifications to Slack channels via webhooks.
  • DiscordNotification: Assemble and send beautiful notifications to Discord channels via webhooks.

Installation

You can install NeoLogger via pip:

pip install neologger

Requirements

Python 3.9 or higher

Dependencies:

stomp.py
requests

Package Content

  • NeoLogger
    Examples of NeoLogger usage as well as examples for customisation for logs.

NeoLogger Banner

NeoLogger Banner

NeoLogger Banner

  • SlackNotifications
    Examples of Slack Notification usage as well as examples for custom for notifications.

NeoLogger Banner

  • DiscordNotifications
    Examples of Slack Notification usage as well as examples for custom for notifications.

NeoLogger Banner

  • StompBabbler
    Examples of Stomp Notification usage.

  • TeamskNotifications
    Examples of Teams Notification usage as well as examples for custom for notifications.

NeoLogger Banner

  • Stopwatch
    This class allows to trace function execution and display a table with the trace log.

NeoLogger Banner

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Inspired by the need for customizable logging and notification tools in Python applications.

Utilizes the stomp.py library for STOMP protocol messaging.
Utilizes the requests library for HTTP requests to Slack webhooks.

Contact

📧 - For questions or suggestions, please contact Pablo Martinez at neolink3891@gmail.com

🌐 - You can also connect with me on LinkedIn.

Full Documentation

For full documentation, please refer to our GitHub repository.

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

neologger-1.5.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

neologger-1.5.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file neologger-1.5.1.tar.gz.

File metadata

  • Download URL: neologger-1.5.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for neologger-1.5.1.tar.gz
Algorithm Hash digest
SHA256 879654ad476e7ab06acef79f23dcb27c7291ee2f35d968b2f6e17a16fff82f55
MD5 83d704cd1a6feb0aed3ebeeb43316499
BLAKE2b-256 bda0787f41ce1fbda4a1cefc741c045e348af6f23100c4a554b5896d74f77397

See more details on using hashes here.

File details

Details for the file neologger-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: neologger-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for neologger-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59f935b2a2683a6ccf1fa9592895f8f396442081dffc19641c4e8621dfcaaa30
MD5 d3740b2313db9c2d933e63b065773c89
BLAKE2b-256 5512574c60f17692680bfeedf40e5d781d4f9043297d0b922472f4629e8aa522

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