Metadata-Version: 2.1
Name: pyliter
Version: 1.2.0
Summary: Generate color syntax highlighted PNG image from python source files.
Home-page: https://github.com/JnyJny/pyliter
License: Apache-2.0
Author: jnyjny
Author-email: erik.oshaughnessy@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: pyglet (>=1.4.8,<2.0.0)
Requires-Dist: pyyaml (>=5.2,<6.0)
Project-URL: Documentation, https://github.com/JnyJny/pyliter
Project-URL: Repository, https://github.com/JnyJny/pyliter
Description-Content-Type: text/x-rst

pyliter - Python syntax highlighting
====================================

``pyliter`` is a Python 3 command-line tool that generates PNG files
from python source. 


Features
--------

- syntax highlighting
- PNG files
- preview mode
- OpenGL rendering using pyglet

Install
-------

::

   $ pip install pyliter


::

   $ pip install git+https://github.com/JnyJny/pyliter


Usage
-----

::

   $ pyliter --help

   Usage: pyliter [OPTIONS] [INPUT_FILE] [OUTPUT_FILE]
   
     Python syntax highlighting
   
     Performs Python syntax highlighting on code found in INPUT_FILE and writes
     color annotated text in PNG format to OUTPUT_FILE.
   
   Options:
     -l, --start-line INTEGER  line to begin displaying
     -n, --line-count INTEGER  number of lines to display
     -p, --preview
     -t, --transparent
     -s, --style-name TEXT
     --list-styles
     --version                 Show the version and exit.
     --help                    Show this message and exit.
      


Example
-------

.. image:: https://github.com/JnyJny/pyliter/blob/master/screenshot.png
	   :width: 400
	   :alt: Super Awesome PNG Screenshot

 

