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 notifications (Slack, Teams, Discord, STOMP).

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.

📧 - Project co-author: Matt Sullivan at mattys940@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.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: neologger-1.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 eec1a56991bea9ecffc61e37f7f682c0c5f951a47eff94097bfa2f3875f07fa2
MD5 4516b3c8070420f75379b61d57309825
BLAKE2b-256 356d856c2be3b0b389398bcf3417865f65f312e0e408eb73cc87263114e6b9d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neologger-1.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ecc74bb0e283cd0e7a49d7c196d85c06676ad70186cdefd8732bd2cdf13590
MD5 46513a56e804c57d0dbfda73d8be0099
BLAKE2b-256 9f14d134e1851ad0bc5f9675f7dd7a327d75d568b4867dc8e46c7e06907ddcad

See more details on using hashes here.

Supported by

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