Skip to main content

Project Logo

The Lupaxa Developers Toolbox
Part of The Lupaxa Project


lupaxa-divulge

Opinionated console messaging helper for Python — coloured, prefixed info / success / warning / error / system lines.

Built for scripts and tools used by The Lupaxa Project.

Features

  • Simple functions for common message types: info, success, warning, error, and system
  • Optional colours (via termcolor) and prefixes (for example [ Info ], [ System ])
  • Optional bold via use_bold (off by default)
  • Global configuration and per-call prefix / colour overrides
  • Pretty-prints non-string values and formats datetime objects
  • Two idioms:
    • Procedural: divulge.info("message")
    • Chainable: Divulge("message").info()
  • Fully typed, linted, formatted, and tested

Installation

From PyPI

pip install lupaxa-divulge

From source (development mode)

pip install -e ".[dev]"

Requires Python 3.10+. Runtime dependency: termcolor.

Usage

import lupaxa.divulge as divulge

divulge.info("Server starting")
divulge.success("Operation completed")
divulge.warning("Disk usage high")
divulge.error("Connection failed")
divulge.system("Starting backup job")

divulge.Divulge("done").success()
divulge.divulge({"id": 1}).warning()

Turn colours or prefixes off for the process:

divulge.configure(use_colours=False, use_prefixes=False)

Bold is off by default. Enable it for one call or for the process:

divulge.info("this line is bold", use_bold=True)
divulge.configure(use_bold=True)

A walkthrough of the API is in demo.py in the source repository.

Development

Clone the repository and install with Make:

make init                # first-time makefile-skills checkout
make python-install-dev  # editable install with [dev]
make python-check        # lint, type-check, and test
make mkdocs-serve        # local docs site

Documentation: https://divulge.thelupaxaproject.org/.

The Lupaxa Project Footer

Release files for lupaxa-divulge 0.1.3

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

Source distribution (sdist)

Source distribution for lupaxa-divulge 0.1.3
File Size Uploaded
lupaxa_divulge-0.1.3.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-divulge 0.1.3
File Interpreter ABI Platform
lupaxa_divulge-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / lupaxa_divulge-0.1.3.tar.gz

Download URL lupaxa_divulge-0.1.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e5837c7d23fa8125aadaa882ae1559c805a176e17d731e9593d84063feb3b6a
BLAKE2b-256 checksum
How to use checksums
1b576de288078298bc3061b0cced92cfaf0fa82ac45d2a8c827549135a6d3c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / lupaxa_divulge-0.1.3-py3-none-any.whl

Download URL lupaxa_divulge-0.1.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eb88b3a58e6de2f05e66c2eea75206a038c4585759037ec270463ef2825528f
BLAKE2b-256 checksum
How to use checksums
4c7f8f715724bb181ffa7f8114429dcb22daecfa484c6b035d125cb9d07e86bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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