guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42682] [PATCH v2 5/9] gnu: Add python-milc.


From: Fredrik Salomonsson
Subject: [bug#42682] [PATCH v2 5/9] gnu: Add python-milc.
Date: Sun, 9 Apr 2023 04:31:12 +0000

* gnu/packages/python-xyz.scm (python-milc): New variable.
---
 gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2e9ab04389..715d531a8d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17126,6 +17126,51 @@ (define-public python-magic
 the same purpose: to provide Python bindings for libmagic.")
     (license license:expat)))
 
+(define-public python-milc
+  (package
+    (name "python-milc")
+    (version "1.6.6")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "milc" version))
+              (sha256
+               (base32
+                "007hdwp659s1wfld92pxdgjz9ijvh949wyf1cbmyzkma30vng8d4"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list
+      python-appdirs
+      python-argcomplete
+      python-colorama
+      python-halo
+      python-spinners))
+    (home-page "https://milc.clueboard.co/";)
+    (synopsis "Opinionated Batteries-Included Python 3 CLI Framework")
+    (description "MILC is a framework for writing @acronym{CLI, Command Line 
Interface}
+applications in Python 3.6+.  It gives you all the features users
+expect from a modern CLI tool out of the box:
+@itemize @bullet
+@item
+CLI Argument Parsing, with or without subcommands.
+@item
+Automatic tab-completion support through argcomplete.
+@item
+Configuration file which can be overridden by CLI options.
+@item
+ANSI color support- even on Windows- with colorama.
+@item
+Logging to stderr and/or a file, with ANSI colors.
+@item
+Easy method for printing to stdout with ANSI colors
+@item
+Labeling log output with colored emoji to easily distinguish message types.
+@item
+Thread safety.
+@item
+More than 60 built-in spinners with the ability to add your own.
+@end itemize")
+    (license license:expat)))
+
 (define-public s3cmd
   (package
     (name "s3cmd")
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]