{"id":17973004,"url":"https://github.com/jnyjny/pyliter","last_synced_at":"2025-03-25T12:33:13.708Z","repository":{"id":62581470,"uuid":"227500321","full_name":"JnyJny/pyliter","owner":"JnyJny","description":"Generate PNG images of syntax highlighted Python.","archived":false,"fork":false,"pushed_at":"2021-07-07T16:25:29.000Z","size":1874,"stargazers_count":10,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T08:44:55.870Z","etag":null,"topics":["opengl","png","presentation","python","syntax-highlighter","syntax-highlighting","syntax-highlited"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JnyJny.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-12T02:10:34.000Z","updated_at":"2024-01-31T17:06:57.000Z","dependencies_parsed_at":"2022-11-03T21:32:16.132Z","dependency_job_id":null,"html_url":"https://github.com/JnyJny/pyliter","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fpyliter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fpyliter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fpyliter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fpyliter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JnyJny","download_url":"https://codeload.github.com/JnyJny/pyliter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245463042,"owners_count":20619601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opengl","png","presentation","python","syntax-highlighter","syntax-highlighting","syntax-highlited"],"created_at":"2024-10-29T16:26:51.302Z","updated_at":"2025-03-25T12:33:13.276Z","avatar_url":"https://github.com/JnyJny.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyliter - Python syntax highlighting\n====================================\n\n``pyliter`` is a Python 3 command-line tool that generates PNG files\nfrom python source. \n\n\nFeatures\n--------\n\n- syntax highlighting\n- PNG files\n- preview mode\n- OpenGL rendering using pyglet\n\nInstall\n-------\n\n::\n\n   $ pip install pyliter\n\n\n::\n\n   $ pip install git+https://github.com/JnyJny/pyliter\n\n\nUsage\n-----\n\n::\n\n   $ pyliter --help\n   Usage: pyliter [OPTIONS] COMMAND [ARGS]...\n   \n   Python syntax highlighting\n   \n   Options:\n     --install-completion  Install completion for the current shell.\n     --show-completion     Show completion for the current shell, to copy it or\n                           customize the installation.\n   \n     --help                Show this message and exit.\n   \n   Commands:\n     list    List builtin text styles.\n     render  Renders syntax-highlighted text to PNG file or displayed in a...\n\n::\n\n   $ pyliter render --help\n   Usage: pyliter render [OPTIONS] INPUT_FILE\n   \n   Renders syntax-highlighted text to PNG file or displayed in a window.\n   \n   If the optional output path is omitted, preview is enabled automatically.\n   \n   Arguments:\n     INPUT_FILE  [required]\n   \n   Options:\n     -o, --output PATH\n     -s, --start-line INTEGER  [default: 0]\n     -L, --line-count INTEGER  [default: 10]\n     -N, --no-line-numbers     [default: False]\n     -p, --preview             [default: False]\n     -t, --transparent         [default: False]\n     --style-name TEXT         [default: default]\n     --font-name TEXT          [default: courier]\n     --font-size INTEGER       [default: 24]\n     --help                    Show this message and exit.\n\nExample\n-------\n\n.. image:: https://github.com/JnyJny/pyliter/blob/master/examples/screenshot.png\n\t   :width: 400\n\t   :alt: Super Awesome PNG Screenshot\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnyjny%2Fpyliter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnyjny%2Fpyliter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnyjny%2Fpyliter/lists"}