Skip to main content

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.
  • Banner: Print a large block-letter start-up banner, with optional colours and a subtitle.

Installation

You can install NeoLogger via pip:

pip install neologger

Upgrading to 2.0

Version 2.0.0 changes how NeoLogger uses Python's logging and how JSON logs are written: console output and JSON logging are now opt-in (NeoLogger("app", console=True, json_path="logs/app.jsonl")). See the CHANGELOG for the full list of breaking changes.

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

  • Banner
    Print a large block-letter banner when your application starts, Spring Boot style.

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.

Metadata

Release files for neologger 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neologger 2.0.0
File Size Uploaded Provenance
neologger-2.0.0.tar.gz 1.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for neologger 2.0.0
File Interpreter ABI Platform
neologger-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.7 MB

Release files / neologger-2.0.0.tar.gz

Download URL neologger-2.0.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3930b3cab0119781dce43b0aca6961a81edb1866b4d7c5c6f178dff2915e4058
BLAKE2b-256 checksum
How to use checksums
a6a2d32dd377e72d2f85ab2e042093890db429ee0c9bc603e10dd2c1fb5a4c89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.18

Release files / neologger-2.0.0-py3-none-any.whl

Download URL neologger-2.0.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d63e602a7883392f93ab6d35691f492f975b237e6361ab403489740ea6dfd2ed
BLAKE2b-256 checksum
How to use checksums
a49e0561ce5ec9878ea48e92aef10c2e2854fb74831122f93796c75df0622245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.18

Security for neologger 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page