{ "info": { "author": "Sean Enck", "author_email": "enckse@voidedtech.com", "bugtrack_url": null, "classifiers": [], "description": "pyxstitch\n=========\n\npyxstitch is an application (and associated library/compenents) that\ntakes source code files and produces syntax-highlighted patterns for\ncross stitching.\n\nSee examples and completed cross stitch patterns\n`here! `__\n\ninstall\n-------\n\npip\n~~~\n\nAvailable via `pip `__\n\n::\n\n pip install pyxstitch\n\nsource\n~~~~~~\n\n- Clone the source repo and\u2026\n\n::\n\n python setup.py install\n\nor\n\n::\n\n pip install .\n\nor\n\n::\n\n pip install -e .\n\nos packaging\n~~~~~~~~~~~~\n\n+------------+----------------------------------------------------------------+\n| os | link |\n+============+================================================================+\n| arch linux | `aur `__ |\n+------------+----------------------------------------------------------------+\n\nusage\n-----\n\nto run\n\n::\n\n pyxstitch --file program.py\n\nstyling\n~~~~~~~\n\nto see actual highlight colors on the pattern use ``--theme light-dmc``\nand if using a high-contrast style you may want to toggle\n``--theme dark`` (or ``--theme dark-dmc`` for colors on dark\nbackgrounds).\n\nthe coloring styles are available as part of the pygments project but\ncan be passed like so\n\n::\n\n pyxstitch --file program.py --style monokai\n\noutput\n~~~~~~\n\nby default a png file is created matching the source code file name\n(e.g. ``hello.py`` -> ``hello.png``), to change this\n\n::\n\n pyxstitch --file program.py --output image.png\n\nor just pass a file type and type/cat into pyxstitch\n\n::\n\n cat test.py | pyxstitch --file .py --output myimage.png\n\nby default, pyxstitch will attempt to create multiple pages for easier\nreading of large patterns, this can be modified via ``--multipage``.\n\nsyntax/lexer\n~~~~~~~~~~~~\n\nby default pyxstitch will use just a text lexer (no syntax) if\npiped/stdin is used, that can be changed, so\n\n::\n\n cat test.py | pyxstich\n\nproduces no highlighting but\n\n::\n\n cat test.py | pyxstitch --file .py\n # or\n cat test.py | pyxstitch --lexer autodetect\n # or tell it which pygments lexer to use\n cat test.py | pyxstitch --lexer python\n\nfonts\n~~~~~\n\nto select a different font (from available)\n\n::\n\n pyxstitch --font \n\nfloss colors\n~~~~~~~~~~~~\n\ncolors can be remapped or disabled, e.g.\u00a0to disable a color, set it to\nmap to empty\n\n::\n\n pyxstitch --file test.c --map 000000=\n\nor to map one color to another\n\n::\n\n pyxstitch --file test.c --map 000000=ffffff\n\nadvanced\n--------\n\nsome configuration options are available via the ``--kv`` input\nsettings. Alternatively set these in a ``$HOME/.pyxstitch.config`` file to\nuse different defaults always (unless a ``--kv`` is passed) or pass a\n``--config`` and specify a different file than the one in ``$HOME``\n\n::\n\n vim $HOME/.pyxstitch.config\n ---\n # comments will be ignored\n page_height=400\n page_width=300\n\nheight\n~~~~~~\n\nsets the default page height (600 default)\n\n::\n\n --kv page_height=500\n\nwidth\n~~~~~\n\nsets the default page width (1000 default)\n\n::\n\n --kv page_width=900\n\npadding\n~~~~~~~\n\npage padding (margins) which defaults to 50\n\n::\n\n --kv page_pad=100\n\nindex\n~~~~~\n\non multipage will produce an html file (by default of 0) to group images\ninto a pattern\n\n::\n\n --kv page_no_index=1\n\nlegend\n~~~~~~\n\ndefault is 0, will print the legend to console (instead of to output\nimage) when set to 1\n\n::\n\n --kv page_legend=1\n\nheight offset\n~~~~~~~~~~~~~\n\ndefault is 0, will change legend height placement on an image\n\n::\n\n --kv legend_hoff=10\n\nwidth offset\n~~~~~~~~~~~~\n\ndefault is 0, will change legend width placement on an image\n\n::\n\n --kv legend_woff=-5\n\nfont size\n~~~~~~~~~\n\nto adjust the font scaling for the legend when in the output\n\n::\n\n --kv page_font_size=100\n\nzoom\n~~~~\n\nyou can zoom the pattern in by specifying the vertical and/or horizontal\nzoom start/end\n\n::\n\n pyxstitch --hszoom 20 --hezoom 30 --vszoom 10 --vezoom 40\n\nwill zoom the output to horizontal grid position 20 to 30 and vertical\ngrid position 10 to 40\n\nexamples\n--------\n\nthere are example source code files and corresponding output pngs in the\n``examples`` folder", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://voidedtech.com/cgit/pyxstitch", "keywords": "crossstitch cross stitch", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyxstitch", "package_url": "https://pypi.org/project/pyxstitch/", "platform": "", "project_url": "https://pypi.org/project/pyxstitch/", "project_urls": { "Homepage": "https://voidedtech.com/cgit/pyxstitch" }, "release_url": "https://pypi.org/project/pyxstitch/1.8.0/", "requires_dist": null, "requires_python": ">=3.4", "summary": "Convert source code to cross stitch patterns", "version": "1.8.0" }, "last_serial": 5696396, "releases": { "1.6.0": [ { "comment_text": "", "digests": { "md5": "c58eff11449ccb9a8f1e794e9e9ed512", "sha256": "ccb48ce995064e421b3c38d100352209bf0c732d78628c7142301f5ba30d1f84" }, "downloads": -1, "filename": "pyxstitch-1.6.0-py3.6.egg", "has_sig": false, "md5_digest": "c58eff11449ccb9a8f1e794e9e9ed512", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": ">=3", "size": 84539, "upload_time": "2017-12-09T16:49:53", "url": "https://files.pythonhosted.org/packages/7f/45/66c76fb9314f5088c6714398b0b09dbd4a6317c2a4f6359dcf01607e6725/pyxstitch-1.6.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "ee9b23465fc8192ff9d7cf9a098e6dd0", "sha256": "0d425a6ba4b52228a27a5d273227ff18ff7014a6b3b55175a7d7d5b6984272dd" }, "downloads": -1, "filename": "pyxstitch-1.6.0.tar.gz", "has_sig": false, "md5_digest": "ee9b23465fc8192ff9d7cf9a098e6dd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 29669, "upload_time": "2017-12-09T16:49:54", "url": "https://files.pythonhosted.org/packages/77/48/2be15e074ee5c621acb0134d04d5cd923cdd3d43eafbac4f6202f9542980/pyxstitch-1.6.0.tar.gz" } ], "1.7.10": [ { "comment_text": "", "digests": { "md5": "54aa0246bc27022e5ed321b50fddadfe", "sha256": "864190742a378be49fb40b99cfa8acccf5b69208638f5adbfab568a96b4f5cc5" }, "downloads": -1, "filename": "pyxstitch-1.7.10.tar.gz", "has_sig": false, "md5_digest": "54aa0246bc27022e5ed321b50fddadfe", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 35053, "upload_time": "2019-02-02T00:48:35", "url": "https://files.pythonhosted.org/packages/da/5f/72e2f32f4ce1467548806f172ac703e59f0aa56c8b980990eb42e3de6a4c/pyxstitch-1.7.10.tar.gz" } ], "1.7.2": [ { "comment_text": "", "digests": { "md5": "9b50d3039cd5650764258209350d23e0", "sha256": "c7d674e55370e5e97a97e493be837cf95f1d88d22e722fa41eb93c179bc29cce" }, "downloads": -1, "filename": "pyxstitch-1.7.2-py3.6.egg", "has_sig": false, "md5_digest": "9b50d3039cd5650764258209350d23e0", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": ">=3", "size": 89212, "upload_time": "2018-01-05T19:17:09", "url": "https://files.pythonhosted.org/packages/ad/cb/9c6d053752e1d9db9bd30a7894822e84e6297b80e0768e5651d470134b78/pyxstitch-1.7.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "597c0a895b453f0c2a090280ed16aff5", "sha256": "2976652d242a8f9c327359f1e2cbc55853b74742a8cd94786778773da1600f35" }, "downloads": -1, "filename": "pyxstitch-1.7.2.tar.gz", "has_sig": false, "md5_digest": "597c0a895b453f0c2a090280ed16aff5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 31153, "upload_time": "2018-01-05T19:17:10", "url": "https://files.pythonhosted.org/packages/17/06/5b6c179e7fbf26fdfd718290cc8a5d6d2de4da67f2c73d1a31c4472484ef/pyxstitch-1.7.2.tar.gz" } ], "1.7.3": [ { "comment_text": "", "digests": { "md5": "1b0051cccc4a075995b45b2079b5579d", "sha256": "2182c7f9c2ccb8e9441e7e90a7331e19b5e1c69a2e25cda505186eaee8882fcc" }, "downloads": -1, "filename": "pyxstitch-1.7.3.tar.gz", "has_sig": false, "md5_digest": "1b0051cccc4a075995b45b2079b5579d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 31919, "upload_time": "2018-01-14T22:16:16", "url": "https://files.pythonhosted.org/packages/77/47/3277841a93d3cc9981ea76fa8e5f2623fab6b967039ac1a2eff7d47d0abf/pyxstitch-1.7.3.tar.gz" } ], "1.7.4": [ { "comment_text": "", "digests": { "md5": "b2fe3d58780f42796fb3dfa7c99d1371", "sha256": "aab1088f067f015386f3c2d86e63d4137ffcf62a8f46d469a9223f4c9175d414" }, "downloads": -1, "filename": "pyxstitch-1.7.4.tar.gz", "has_sig": false, "md5_digest": "b2fe3d58780f42796fb3dfa7c99d1371", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 31932, "upload_time": "2018-01-14T22:28:06", "url": "https://files.pythonhosted.org/packages/fa/5a/03d6f4e539e0c562472bbf9303c568ac7cdc1f6189640c598051ee4a0abb/pyxstitch-1.7.4.tar.gz" } ], "1.7.5": [ { "comment_text": "", "digests": { "md5": "ddbd4b9af33c8928d485a40991503e10", "sha256": "b658cf5c3b00b2e68fe03141c7cb17bedf5cd217cc35c129d576781993e19769" }, "downloads": -1, "filename": "pyxstitch-1.7.5.tar.gz", "has_sig": false, "md5_digest": "ddbd4b9af33c8928d485a40991503e10", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 32024, "upload_time": "2018-02-28T00:48:16", "url": "https://files.pythonhosted.org/packages/76/6d/3a3aef1df4d4493e7ca0caac1baa7b8f88d3c2d16e47a8dbc27c098c6f0b/pyxstitch-1.7.5.tar.gz" } ], "1.7.6": [ { "comment_text": "", "digests": { "md5": "305bcc8d5e69294b9b52227fbac013fb", "sha256": "564fd9260726935f46c6b1e0ad41ad49da06a79225b0dcfaa5a4d0d3440e7ac4" }, "downloads": -1, "filename": "pyxstitch-1.7.6.tar.gz", "has_sig": false, "md5_digest": "305bcc8d5e69294b9b52227fbac013fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 32952, "upload_time": "2018-03-25T17:03:56", "url": "https://files.pythonhosted.org/packages/15/0a/4a98c83afe1bc4045546a67a958cd58f94ec0fc75f6f5b9df7108d1fad2a/pyxstitch-1.7.6.tar.gz" } ], "1.7.7": [ { "comment_text": "", "digests": { "md5": "4941d0137a01d1bf69a8b5183262b769", "sha256": "c81afda5f5ff605570ed07fcd6b5c8a9d54582802ffc312d2a30de1463aef37b" }, "downloads": -1, "filename": "pyxstitch-1.7.7.tar.gz", "has_sig": false, "md5_digest": "4941d0137a01d1bf69a8b5183262b769", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33023, "upload_time": "2018-06-27T00:55:06", "url": "https://files.pythonhosted.org/packages/c3/cb/c84616e7bdf435055fa7e24ad91ed761da524721cb577e6a2701af2d0bd6/pyxstitch-1.7.7.tar.gz" } ], "1.7.8": [ { "comment_text": "", "digests": { "md5": "1d76e6370a8f1d3ba30b5fd964f13d7b", "sha256": "4c51608ae5a346649b25bbf7ad15812774be7a7826f5e5e8f16491bce82ad7e0" }, "downloads": -1, "filename": "pyxstitch-1.7.8.tar.gz", "has_sig": false, "md5_digest": "1d76e6370a8f1d3ba30b5fd964f13d7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 33311, "upload_time": "2018-06-27T13:08:00", "url": "https://files.pythonhosted.org/packages/d5/f0/e7a4b70c0e464a19454d7516f6ddebcfe80fcfe8deb46bbbd942d855816a/pyxstitch-1.7.8.tar.gz" } ], "1.7.9": [ { "comment_text": "", "digests": { "md5": "bdfb46a6d18f8001b50a38605187d01a", "sha256": "421640be8ce76d1a5cec23bcab0950b804341ab47bd5e2a2b6ee90349f2f5c25" }, "downloads": -1, "filename": "pyxstitch-1.7.9.tar.gz", "has_sig": false, "md5_digest": "bdfb46a6d18f8001b50a38605187d01a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 33165, "upload_time": "2018-10-29T02:38:21", "url": "https://files.pythonhosted.org/packages/c2/a9/1c55b69969f8b4b221e6db41a44fd631b6079d5abee2850e9f14edf9e437/pyxstitch-1.7.9.tar.gz" } ], "1.8.0": [ { "comment_text": "", "digests": { "md5": "f93a7f3b7525f69a2eb876ace3758ee7", "sha256": "e52dc718401404a8d89265032ffd797ba04bc263b247579ca64f7e8225da102a" }, "downloads": -1, "filename": "pyxstitch-1.8.0.tar.gz", "has_sig": false, "md5_digest": "f93a7f3b7525f69a2eb876ace3758ee7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 35051, "upload_time": "2019-08-19T02:30:04", "url": "https://files.pythonhosted.org/packages/80/94/5260acbaa8397cf52c5c6180755791f7518c91607403399429c11d75cb5a/pyxstitch-1.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f93a7f3b7525f69a2eb876ace3758ee7", "sha256": "e52dc718401404a8d89265032ffd797ba04bc263b247579ca64f7e8225da102a" }, "downloads": -1, "filename": "pyxstitch-1.8.0.tar.gz", "has_sig": false, "md5_digest": "f93a7f3b7525f69a2eb876ace3758ee7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 35051, "upload_time": "2019-08-19T02:30:04", "url": "https://files.pythonhosted.org/packages/80/94/5260acbaa8397cf52c5c6180755791f7518c91607403399429c11d75cb5a/pyxstitch-1.8.0.tar.gz" } ] }