File: PKG-INFO

package info (click to toggle)
python-crayons 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 104 kB
  • sloc: python: 165; makefile: 2
file content (82 lines) | stat: -rw-r--r-- 3,257 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Metadata-Version: 1.2
Name: crayons
Version: 0.4.0
Summary: TextUI colors for Python.
Home-page: https://github.com/MasterOdin/crayons
Author: Kenneth Reitz
Author-email: me@kennethreitz.com
Maintainer: Matthew Peveler
Maintainer-email: matt.peveler@gmail.com
License: MIT
Description: 
        Crayons: Text UI colors for Python.
        ===================================
        
        .. image:: https://img.shields.io/pypi/v/crayons.svg
            :target: https://pypi.org/project/crayons/
        
        .. image:: https://github.com/MasterOdin/crayons/workflows/Test/badge.svg
            :target: https://github.com/MasterOdin/crayons/actions?query=workflow%3ATest+branch%3Amaster
        
        .. image:: https://img.shields.io/pypi/l/crayons.svg
            :target: https://pypi.python.org/pypi/crayons
        
        .. image:: https://img.shields.io/pypi/wheel/crayons.svg
            :target: https://pypi.python.org/pypi/crayons
        
        .. image:: https://img.shields.io/pypi/pyversions/crayons.svg
            :target: https://pypi.python.org/pypi/crayons
        
        
        This module is really simple, it gives you colored strings for terminal
        usage. Included colors are ``red``, ``green``, ``yellow``, ``blue``, ``black``, ``magenta``, ``cyan``, ``white``, and
        ``normal`` (as well as ``clean`` and ``disable``).
        
        **Crayons** is nice because it automatically wraps a given string in both the foreground color, as well as returning to the
        original state after the string is complete. Most terminal color libraries make you manage this yourself.
        
        
        .. image:: https://d3vv6lp55qjaqc.cloudfront.net/items/3q0I293q1z293R3a3a3n/Screen%20Shot%202017-01-23%20at%206.00.02%20PM.png?X-CloudApp-Visitor-Id=2577
        
        
        Arguments include ``always=True`` and ``bold=True``.
        
        Features
        --------
        
        - If you call ``disable()``, all future calls to colors will be ignored.
        - If you call ``normal()``, color is reset to default foreground color
        - If the current process is not in a TTY (e.g. being piped), no colors will be displayed.
        - Length of ColoredStrings can be properly calculated.
        - Powered by colorama.
        
        Usage is simple
        ---------------
        
        ::
        
            # red is red, white is white.
            >>> print('{} white'.format(crayons.red('red')))
            red white
        
        That's it!
        
        Installation
        ------------
        
        ::
        
            $ pip install crayons
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy