Generate color syntax highlighted PNG image from python source files.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyliter-1.2.0.tar.gz
(21.7 kB
view hashes)
Built Distribution
pyliter-1.2.0-py3-none-any.whl
(26.0 kB
view hashes)