Metadata-Version: 1.1
Name: swag
Version: 1.5.1
Summary: Swag up your shell output with escape code magic!
Home-page: https://github.com/4thel00z/swag
Author: ransomware
Author-email: 4thel00z@gmail.com
License: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Description-Content-Type: UNKNOWN
Description: Swag
        ====
        
        Color your shell output with escape code magic.
        
        .. figure:: https://media.giphy.com/media/l0O5ASEoXnoaMd3S8/source.gif
           :alt: Demo
        
           Demo
        
        Installation
        ------------
        
        ``pip install swag``
        
        Usage
        -----
        
        ::
        
            usage: swag [-h] {print,install} ...
        
            positional arguments:
              {print,install}  [command] help
                install        install the colors to the folder of choice
                print          prints the text with the specified color and type to the
                               console
        
            optional arguments:
              -h, --help       show this help message and exit
        
        Raw Usage
        ---------
        
        Use from code
        ~~~~~~~~~~~~~
        
        ::
        
            from swag import colors
            print colors.COLORS["red"], "This will be red"
            # Or use the swagprinter helpers:
        
            from swag import swagprinter
            from swag.swagprinter import INTENSE
        
            swagprinter.print_green("Blah", INTENSE) # Prints an intense green
        
            # Prints an intense green, to the end of the output:
            swagprinter.print_green("Blah", INTENSE, true)
        
        
        Installation to a folder
        ~~~~~~~~~~~~~~~~~~~~~~~~
        
        From the commandline do
        
        ::
        
            swag install -d <path/to/folder> # default is ~/.colors
        
        This will install all the escape codes to the ~/.colors or folder.
        
        Now you can use the colors directly from the console via:
        
        ``echo $(cat ~/.colors/blue) This will be blue``
        
Keywords: terminal theming style echo swag shell console
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
