[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add python-concurrent-log-handler.
From: |
guix-commits |
Subject: |
03/08: gnu: Add python-concurrent-log-handler. |
Date: |
Wed, 17 Jan 2024 05:19:46 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 1e0b80b9e15d1d89eb2e10b7e62afaed4bbd77f8
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sat Jan 13 21:15:49 2024 +0100
gnu: Add python-concurrent-log-handler.
* gnu/packages/python-xyz.scm (python-concurrent-log-handler): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4c7c82204e..e0d74bb4e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -400,6 +400,35 @@ Jupytext are:
")
(license license:expat)))
+(define-public python-concurrent-log-handler
+ (package
+ (name "python-concurrent-log-handler")
+ (version "0.9.25")
+ ;; No tests in the PyPI tarball.
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Preston-Landers/concurrent-log-handler")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jp4zkm0idfdsrq3jzb52iqfkh6xzm7sacz1sa34ffnkyqdk3xzh"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-portalocker))
+ (native-inputs (list python-hatchling python-pytest))
+ (home-page "https://github.com/Preston-Landers/concurrent-log-handler")
+ (synopsis
+ "Additional log handler for Python's standard @code{logging} package")
+ (description
+ "This package provides an additional log handler for Python's standard
+@code{logging} package (PEP 282). This handler will write log events to a log
+file which is rotated when the log file reaches a certain size. Multiple
+processes can safely write to the same log file concurrently and rotated logs
+can be gzipped if desired. An optional threaded queue logging handler is
+provided to perform logging in the background.")
+ (license license:asl2.0)))
+
(define-public python-logzero
(package
(name "python-logzero")
- branch master updated (299ce524c9 -> b3e0a973bc), guix-commits, 2024/01/17
- 01/08: image: Consider grub-efi-removable-bootloader to be EFI bootloader., guix-commits, 2024/01/17
- 02/08: gnu: Add python-pdf2image., guix-commits, 2024/01/17
- 04/08: gnu: Add python-typeguard-4., guix-commits, 2024/01/17
- 05/08: gnu: Add python-pandas-stubs., guix-commits, 2024/01/17
- 06/08: gnu: Add python-pandera., guix-commits, 2024/01/17
- 03/08: gnu: Add python-concurrent-log-handler.,
guix-commits <=
- 08/08: gnu: powertop: Correct package description., guix-commits, 2024/01/17
- 07/08: gnu: Add tgif., guix-commits, 2024/01/17