BSD Ports

devel/py-daiquiri 3.4.0 DragonFly

Library to configure Python logging easily

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel, python
Package size
33.6 KiB, 179.5 KiB installed

Description

Daiquiri is a Python library that simplifies the configuration and usage of Python's built-in logging module. It provides an easy-to-use interface for setting up basic logging functionalities, often with a single call to `daiquiri.setup()`.

Key features include:

  • Flexible output options: logs to stderr (with colored output), syslog, systemd journal, or files.
  • Custom formatters: supports plain text and structured JSON logs.
  • Enhanced logger: allows passing keyword arguments to logging methods, which become part of the log record.
  • Warning handling: overrides Python's default warning behavior to log warnings via the logging system.
  • Exception handling: integrates with `sys.excepthook` to automatically log uncaught exceptions.

In the other systems

The newest version among them is 3.4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-daiquiri3.4.0 newestnone known-[email protected]-
FreeBSDdevel/py-daiquiri3.4.0 newestnone known-[email protected]-
HardenedBSDdevel/py-daiquiri3.4.0 newestno data-[email protected]-
GhostBSDdevel/py-daiquiri3.4.0 newestno data-[email protected]-

Version history 1

  1. 3.4.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-daiquiri

From DPorts:

cd /usr/dports/devel/py-daiquiri && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.