{ "info": { "author": "thewizardplusplus", "author_email": "thewizardplusplus@yandex.ru", "bugtrack_url": null, "classifiers": [], "description": "Features\n--------\n\n- a generation of memes (in PNG format);\n- a support of plain and graphic backgrounds;\n- a specification of a text rectangle;\n- a support of horizontal and vertical text alignments;\n- a read of memes texts from a file (each text is separated from\n another by a double newline);\n- a support single-line and multiline memes texts;\n- a protection against duplicate memes texts;\n- a support of a watermark (it's optional);\n- meme settings:\n\n - background:\n\n - color;\n - width;\n - height;\n - image (it supports same formats as\n `Pillow `__ library);\n\n - text:\n\n - font (it supports only TrueType fonts);\n - size;\n - color;\n - left;\n - rigth;\n - top;\n - bottom;\n - horizontal alignment;\n - vertical alignment;\n\n - watermark:\n\n - font (it always uses the text font);\n - text;\n - size;\n - color.\n\nInstallation\n------------\n\n::\n\n $ pip install white-generator\n\nUsage\n-----\n\n::\n\n $ white-generator -v | --version\n $ white-generator -h | --help\n $ white-generator [options] (-f FONT_FILE | --font-file FONT_FILE) (-i INPUT_FILE | --input-file INPUT_FILE) (-o OUTPUT_PATH | --output-path OUTPUT_PATH)\n\nOptions:\n\n- ``-v``, ``--version`` \u2014 show the version message and exit;\n- ``-h``, ``--help`` \u2014 show this help message and exit;\n- ``-i INPUT_FILE``, ``--input-file INPUT_FILE`` \u2014 the path to the file\n with notes;\n- ``-o OUTPUT_PATH``, ``--output-path OUTPUT_PATH`` \u2014 the path for\n generated images;\n- ``-l TEXT_LEFT``, ``--text-left TEXT_LEFT`` \u2014 the left text position\n (default: 0);\n- ``-t TEXT_TOP``, ``--text-top TEXT_TOP`` \u2014 the top text position\n (default: 0);\n- ``-R TEXT_RIGHT``, ``--text-right TEXT_RIGHT`` \u2014 the horizontal text\n limit (-1 for a background width use; default: -1);\n- ``-B TEXT_BOTTOM``, ``--text-bottom TEXT_BOTTOM`` \u2014 the vertical text\n limit (-1 for a background height use; default: -1);\n- ``-a {left,center,right}``,\n ``--text-horizontal-align {left,center,right}`` \u2014 the text horizontal\n alignment (default: ``center``);\n- ``-A {top,center,bottom}``,\n ``--text-vertical-align {top,center,bottom}`` \u2014 the text vertical\n alignment (default: ``center``);\n- ``-W IMAGE_WIDTH``, ``--image-width IMAGE_WIDTH`` \u2014 the image width\n (default: 640);\n- ``-H IMAGE_HEIGHT``, ``--image-height IMAGE_HEIGHT`` \u2014 the image\n height (default: 480);\n- ``-b IMAGE_BACKGROUND_COLOR``,\n ``--image-background-color IMAGE_BACKGROUND_COLOR`` \u2014 the image\n background color (default: ``#ffffff``);\n- ``-I IMAGE_BACKGROUND_IMAGE``,\n ``--image-background-image IMAGE_BACKGROUND_IMAGE`` \u2014 the path to the\n background image (default: none);\n- ``-f FONT_FILE``, ``--font-file FONT_FILE`` \u2014 the path to the font\n file;\n- ``-s FONT_SIZE``, ``--font-size FONT_SIZE`` \u2014 the font size (default:\n 25);\n- ``-c FONT_COLOR``, ``--font-color FONT_COLOR`` \u2014 the font color\n (default: ``#000000``);\n- ``-w WATERMARK_TEXT``, ``--watermark-text WATERMARK_TEXT`` \u2014 the\n watermark text (empty for disable; default: empty);\n- ``-S WATERMARK_SIZE``, ``--watermark-size WATERMARK_SIZE`` \u2014 the\n watermark font size (default: 12);\n- ``-C WATERMARK_COLOR``, ``--watermark-color WATERMARK_COLOR`` \u2014 the\n watermark font color (default: ``#808080``);\n- ``-d DATABASE_FILE``, ``--database-file DATABASE_FILE`` \u2014 the path to\n the database file (default: ``notes.db``).\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thewizardplusplus/white-generator", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "white-generator", "package_url": "https://pypi.org/project/white-generator/", "platform": "", "project_url": "https://pypi.org/project/white-generator/", "project_urls": { "Homepage": "https://github.com/thewizardplusplus/white-generator" }, "release_url": "https://pypi.org/project/white-generator/1.3.0/", "requires_dist": [ "pillow (>=4.1.1,<5.0)", "termcolor (>=1.1.0,<2.0)" ], "requires_python": ">=3.4, <4.0", "summary": "Utility for a generation of memes", "version": "1.3.0" }, "last_serial": 2991394, "releases": { "1.3.0": [ { "comment_text": "", "digests": { "md5": "3764fcf36ccb001df6d1540e84f68f31", "sha256": "1b78e5acaf74a95e845e279ed52c93ff1587cd506ed4f2d88fdb210be7dcb23d" }, "downloads": -1, "filename": "white_generator-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3764fcf36ccb001df6d1540e84f68f31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4, <4.0", "size": 10428, "upload_time": "2017-07-01T02:26:32", "url": "https://files.pythonhosted.org/packages/61/87/37c3e60f5b5bf14fb35feb757d68c0934c8a72d9faba1ffdceb97bea26f7/white_generator-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ec45af9fc49a77febdad15f04bc8e18", "sha256": "90011457605cb53ae90efb88d00ea3148b41a2237adbb0a1b089933dd68b388a" }, "downloads": -1, "filename": "white-generator-1.3.0.tar.gz", "has_sig": false, "md5_digest": "3ec45af9fc49a77febdad15f04bc8e18", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 8556, "upload_time": "2017-07-01T02:26:35", "url": "https://files.pythonhosted.org/packages/19/f4/6599437e96252595d7efc478e68852a13fbf8ad460f6d9f2577185700bf4/white-generator-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3764fcf36ccb001df6d1540e84f68f31", "sha256": "1b78e5acaf74a95e845e279ed52c93ff1587cd506ed4f2d88fdb210be7dcb23d" }, "downloads": -1, "filename": "white_generator-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3764fcf36ccb001df6d1540e84f68f31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4, <4.0", "size": 10428, "upload_time": "2017-07-01T02:26:32", "url": "https://files.pythonhosted.org/packages/61/87/37c3e60f5b5bf14fb35feb757d68c0934c8a72d9faba1ffdceb97bea26f7/white_generator-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ec45af9fc49a77febdad15f04bc8e18", "sha256": "90011457605cb53ae90efb88d00ea3148b41a2237adbb0a1b089933dd68b388a" }, "downloads": -1, "filename": "white-generator-1.3.0.tar.gz", "has_sig": false, "md5_digest": "3ec45af9fc49a77febdad15f04bc8e18", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 8556, "upload_time": "2017-07-01T02:26:35", "url": "https://files.pythonhosted.org/packages/19/f4/6599437e96252595d7efc478e68852a13fbf8ad460f6d9f2577185700bf4/white-generator-1.3.0.tar.gz" } ] }