devel/py-colorlog 6.12.0 FreeBSD
Add colours to the output of Python logging module
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
7fb7158b05- License
- MIT
- Categories
- devel, python
- Package size
- 18.7 KiB, 69.2 KiB installed
Description
colorlog.ColoredFormatter is a formatter for use with Python's logging module that outputs records using terminal colors.
The ColoredFormatter class takes several arguments:
- format: The format string used to output the message (required).
- datefmt: An optional date format passed to the base class. See logging.Formatter.
- reset: Implicitly adds a color reset code to the message output, unless the output already ends with one. Defaults to True.
- log_colors: A mapping of record level names to color names. The defaults can be found in colorlog.default_log_colors.
- secondary_log_colors: A mapping of names to log_colors style mappings, defining additional colors that can be used in format strings.
- style: Available on Python 3.2 and above. See logging.Formatter.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-colorlog | 6.12.0 |
| OpenBSD | devel/py-colorlog | 6.8.2p1 |
| NetBSD | devel/py-colorlog | 6.12.0 |
| DragonFly | devel/py-colorlog | 6.9.0 |
| MidnightBSD | devel/py-colorlog | 6.9.0_1 |
| HardenedBSD | devel/py-colorlog | 6.12.0 |
| GhostBSD | devel/py-colorlog | 6.12.0 |
Install
Binary package:
pkg install py312-colorlog
From the ports tree:
cd /usr/ports/devel/py-colorlog/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-colorlog>0:devel/py-colorlog
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 | 6.12.0 | 6.12.0 | 6.7.0 | 6.9.0 | 6.12.0 |
| FreeBSD:14:quarterly | 6.12.0 | 6.12.0 | n/a | 6.9.0 | 6.12.0 |
| FreeBSD:15:latest | 6.12.0 | 6.12.0 | n/a | 6.9.0 | 6.9.0 |
| FreeBSD:15:quarterly | 6.12.0 | 6.12.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.12.0 | 6.12.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Required by 62
- biology/python-nexus
- deskutils/py-qmd
- devel/nox
- devel/py-aiomisc
- devel/py-aiomisc-pytest
- devel/py-cabby
- devel/py-clldutils
- devel/py-cysignals
- devel/py-sirmordred
- graphics/py-olmocr
- graphics/py-rapidocr
- graphics/py-tesserocr
- graphics/rapid-photo-downloader
- graphics/scantpaper
- math/py-cypari2
- math/py-fpylll
- math/py-pplpy
- math/py-primecountpy
- misc/colibri
- misc/comfyui
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-llama-index-embeddings-huggingface
- misc/py-optimum
- misc/py-optuna
- misc/py-peft
- misc/py-sentence-transformers
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- net/py-errbot
- sysutils/py-liquidctl
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
- www/immich-ml
- www/py-grimoirelab
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| colorlog-6.12.0.tar.gz | 18151 | 2a7924c1dadf18b22a0eb8b06d1c7b01d5341707ec1641eb6fcc4fde0c3e8e5f |
Master sites 1
- PYPI