devel/py-daiquiri 3.4.0 FreeBSD
Library to configure Python logging easily
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 35.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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/py-daiquiri | 3.4.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-daiquiri | 3.4.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-daiquiri | 3.4.0 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py312-daiquiri
From the ports tree:
cd /usr/ports/devel/py-daiquiri/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-daiquiri>0:devel/py-daiquiri
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.4.0 | 3.4.0 | - | - | 3.4.0 |
| FreeBSD:14:quarterly | 3.4.0 | 3.4.0 | n/a | - | 3.4.0 |
| FreeBSD:15:latest | 3.4.0 | 3.4.0 | n/a | - | - |
| FreeBSD:15:quarterly | 3.4.0 | 3.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.4.0 | 3.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}python-json-logger>=3: devel/py-python-json-logger
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| daiquiri-3.4.0.tar.gz | 19527 | ca1d32c2c0a06f3614ff803a87ac1d50d628db34d0bf7ed97df0ca576332054f |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.