{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering", "Topic :: Text Processing :: Fonts" ], "description": "\n

\n\"Glaze\n

\n\n[![Build Status](https://travis-ci.com/font-bakers/glaze.svg?branch=master)](https://travis-ci.com/font-bakers/glaze)\n[![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)](https://www.python.org/downloads/release/python-352/)\n\n---\n\n`glaze` is a Python library and command line tool for rendering\nalgorithmically-generated fonts and typefaces.\n\n## Table of Contents\n\n* [Demo](#Demo)\n* [Installation](#Installation)\n* [Usage](#Usage)\n* [Documentation](#Documentation)\n* [Contributing](#Contributing)\n* [License](#License)\n\n## Demo\n\n```python\n>>> import matplotlib.pyplot as plt\n>>> from glaze import read_json, render\n>>>\n>>> font = read_json(\"data/Georgia.json\")\n>>> font_name, glyph_name, glyph = font[0]\n>>> render(glyph)\n>>> plt.show()\n```\n\n\"Rendered\n\n## Installation\n\nThe latest release of `glaze` can be installed from PyPI:\n\n```bash\npip install glaze\n```\n\n## Usage\n\nTo use `glaze` as a library:\n\n```python\nimport matplotlib.pyplot as plt\nfrom glaze import render\n\nfig = render(contours) # Render one glyph\n```\n\nTo run `glaze` on the command line:\n\n```bash\n# Recommended usage\nglaze --directory PATH/TO/DATA/\n\n# Alternative usage\nglaze --files FILES\n```\n\n1. The `--directory` must have the following structure:\n\n ```bash\n data\n \u251c\u2500\u2500 json\n \u2502 \u251c\u2500\u2500 Georgia.json\n \u2502 \u2514\u2500\u2500 ...\n \u2514\u2500\u2500 ...\n ```\n\n where the `.json` files are those produced by `knead`. Renders will be saved\n in a directory `data/renders-TTTT-DD-MM/`, where `TTTT` is military time.\n\n1. However, should you want to render only a few files, you can use the\n `--files` flag, which must be one of:\n * a path to a `.json` file (again, such as those produced by `knead`),\n * a comma-separated list of such paths, or\n * a regex matching the path(s) to one or more `.json` files.\n\n Renders will be saved in the present working directory (unless [the `--output`\n flag](https://font-bakers.github.io/glaze/quickstart/#optional-flags) is\n passed).\n\nRefer to our [quickstart](https://font-bakers.github.io/glaze/quickstart/) for\nmore information on how to use `glaze`.\n\n## Documentation\n\nPlease refer to our [full documentation](https://font-bakers.github.io/glaze/).\n\n## Contributing\n\nContributions are always welcome! Please see our [issue\ntracker](https://github.com/font-bakers/glaze/issues) for outstanding issues,\n[code of\nconduct](https://github.com/font-bakers/glaze/blob/master/CODE_OF_CONDUCT.md)\nfor community guidelines, and our [contributing\nguide](https://font-bakers.github.io/glaze/contributing/) for details on how to\nmake a contribution.\n\n## License\n\n`glaze` is licensed under the [MIT\nlicense](https://github.com/font-bakers/glaze/blob/master/LICENSE).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/font-bakers/glaze", "keywords": "", "license": "MIT", "maintainer": "The Font Bakers", "maintainer_email": "", "name": "glaze", "package_url": "https://pypi.org/project/glaze/", "platform": "", "project_url": "https://pypi.org/project/glaze/", "project_urls": { "Documentation": "https://font-bakers.github.io/glaze/", "Homepage": "https://github.com/font-bakers/glaze", "Issue Tracker": "https://github.com/font-bakers/glaze/issues" }, "release_url": "https://pypi.org/project/glaze/0.3.0/", "requires_dist": [ "absl-py", "bezier", "matplotlib", "numpy", "tqdm" ], "requires_python": ">=3.5.2", "summary": "A Python library and command line tool for rendering algorithmically-generated fonts and typefaces.", "version": "0.3.0" }, "last_serial": 5480308, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "414dc525c710b3f14c1f7cad57672a4b", "sha256": "410b209cb62008a5728007ec737e0c08348f672c78950ff59fd9b974863375a4" }, "downloads": -1, "filename": "glaze-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "414dc525c710b3f14c1f7cad57672a4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.2", "size": 6715, "upload_time": "2019-06-18T08:00:59", "url": "https://files.pythonhosted.org/packages/85/0c/9ee21779c999b5f8e9fc57c42c3197bb300baea1aa29996bd6b4e2fb2466/glaze-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdd3ced7294ef5509c0059603fa8d623", "sha256": "21a94f89cd0da463e62155088aa360a192946881c0d5dcf98b5898551404421c" }, "downloads": -1, "filename": "glaze-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fdd3ced7294ef5509c0059603fa8d623", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.2", "size": 5448, "upload_time": "2019-06-18T08:01:03", "url": "https://files.pythonhosted.org/packages/cd/13/b5bde775153a9b19205e1c653c4fd4c20d20a84389d6592ae873bed90d1e/glaze-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3fcd716028262e6c29724c77bf730520", "sha256": "b3358f049c31f181586fd55a93f3d103d99b594cbf37320a6c60ebd05acca5b6" }, "downloads": -1, "filename": "glaze-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3fcd716028262e6c29724c77bf730520", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.2", "size": 7138, "upload_time": "2019-06-19T01:05:45", "url": "https://files.pythonhosted.org/packages/f9/a0/ebe9396aeac58c7ce619e2e3bb243039e4ed56be248f701db7791b21eaf2/glaze-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a74a615547af2be9ac127f054dfaa735", "sha256": "f94dfc950252b17a8108e7fe107437789a568fcf58ecbbae6870f47bd348dfa8" }, "downloads": -1, "filename": "glaze-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a74a615547af2be9ac127f054dfaa735", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.2", "size": 128669, "upload_time": "2019-06-19T01:05:49", "url": "https://files.pythonhosted.org/packages/53/80/67f9c7d6d216e7bc5aa895dcd42431bd8e7d18a8fc0b01998d7d1bec441b/glaze-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "a7871e8ea4414cdd41f94fc641e79765", "sha256": "32b8c76b3ae74f51e73ad8d253f49b5ce164b4b88dc89a85ce1ad4c42e69dc95" }, "downloads": -1, "filename": "glaze-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a7871e8ea4414cdd41f94fc641e79765", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.2", "size": 7448, "upload_time": "2019-07-03T09:17:30", "url": "https://files.pythonhosted.org/packages/dd/1d/f118f373a94d6502c44e125ec887eda0e95680adb6df8e0732574f17fdfc/glaze-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8213abcb7574d05b34783506f262a5e5", "sha256": "351317915b51b5b464548e70a811c40b49f868101097b302d473a7fd2feb1619" }, "downloads": -1, "filename": "glaze-0.3.0.tar.gz", "has_sig": false, "md5_digest": "8213abcb7574d05b34783506f262a5e5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.2", "size": 129682, "upload_time": "2019-07-03T09:17:36", "url": "https://files.pythonhosted.org/packages/70/28/b842b2f1e5f32196b443603060a976447f1f5a15aacd7a2849549cd58076/glaze-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7871e8ea4414cdd41f94fc641e79765", "sha256": "32b8c76b3ae74f51e73ad8d253f49b5ce164b4b88dc89a85ce1ad4c42e69dc95" }, "downloads": -1, "filename": "glaze-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a7871e8ea4414cdd41f94fc641e79765", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.2", "size": 7448, "upload_time": "2019-07-03T09:17:30", "url": "https://files.pythonhosted.org/packages/dd/1d/f118f373a94d6502c44e125ec887eda0e95680adb6df8e0732574f17fdfc/glaze-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8213abcb7574d05b34783506f262a5e5", "sha256": "351317915b51b5b464548e70a811c40b49f868101097b302d473a7fd2feb1619" }, "downloads": -1, "filename": "glaze-0.3.0.tar.gz", "has_sig": false, "md5_digest": "8213abcb7574d05b34783506f262a5e5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.2", "size": 129682, "upload_time": "2019-07-03T09:17:36", "url": "https://files.pythonhosted.org/packages/70/28/b842b2f1e5f32196b443603060a976447f1f5a15aacd7a2849549cd58076/glaze-0.3.0.tar.gz" } ] }