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.

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

  • 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.4.2.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

neologger-1.4.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neologger-1.4.2.tar.gz
Algorithm Hash digest
SHA256 8ba685177cbf9ca1af704c6d181b6c694ec0c3ee781897ccf3cb1f8acff5c229
MD5 30da5bff69cb62812c43d30a5d3720d3
BLAKE2b-256 bb4e1ed167ffffbfbe8914a66e0ce02026952cdb33603aa5d9181da0b1a38b11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neologger-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 12.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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ec88c6c6fd56279672aba5c13421a06e4fd124e9d4d28485064aedeb13944cf
MD5 d5a0e71afa1f7712de1b47c13a69dbed
BLAKE2b-256 643d30811032d772b58ea3dade7f4cb3cd3523d3d1d7d219752a5f41d000ecbf

See more details on using hashes here.

Supported by

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