{ "info": { "author": "GustavoDenobi", "author_email": "gustavodenobi@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Justipy\n\nThis package allows you to draw justified or centralized text to images.\n\nUsage example:\n\n```python\nfrom PIL import Image\nfrom Justipy.Justipy import Justipy\n\nlongtext = \"Lorem ipsum vehicula himenaeos turpis odio sollicitudin quis amet suspendisse nisl, libero taciti ante interdum sollicitudin vestibulum felis mi hac, egestas fames luctus turpis imperdiet consectetur est gravida sem. malesuada maecenas vivamus consectetur donec diam sapien, in erat curae phasellus potenti, sed primis velit sem cursus. molestie ultrices tempus arcu viverra eleifend primis malesuada convallis ante accumsan, pulvinar conubia mollis at pellentesque consectetur ut dapibus sagittis integer nam, tempus orci elementum curabitur id rhoncus tempus velit elit.\"\n\ncentertext = \"mollis vestibulum curabitur laoreet augue faucibus nullam a amet justo lorem, varius placerat magna pulvinar aptent quis porttitor metus lacus, diam etiam auctor nulla sagittis metus urna phasellus vitae.\"\n\nim = Image.new('RGB', (1000, 550))\njpy = Justipy(im,\n longtext,\n tl_corner = [100, 75],\t\t# top left corner anchor\n max_width = 800, \t\t\t\t# maximum horizontal size\n fontsize = 24,\t\t\t\t# font size\n line_space = 32,\t\t\t\t# space between lines\n paragraph_spaces = 8,\t\t\t# space in beginning of paragraphs\n font = 'calibri.ttf',\t\t\t# TrueType font (must be installed in your system)\n fontcolor = (255,255,255))\t# RGB color of the font\njpy.drawJustifiedText()\nim = jpy.getImage()\n\njpy = Justipy(im,\n centertext,\n tl_corner = [100, 380],\n max_width = 800,\n fontsize = 24,\n line_space = 32,\n paragraph_spaces = 0,\n font = 'calibri.ttf',\n fontcolor = (255,255,255))\njpy.drawCentralizedText()\nim = jpy.getImage()\n\nim.show()\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/GustavoDenobi/Justipy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "Justipy", "package_url": "https://pypi.org/project/Justipy/", "platform": "", "project_url": "https://pypi.org/project/Justipy/", "project_urls": { "Homepage": "https://github.com/GustavoDenobi/Justipy" }, "release_url": "https://pypi.org/project/Justipy/0.0.6/", "requires_dist": null, "requires_python": ">=3.6", "summary": "This package is used to write justified or centralized text to images.", "version": "0.0.6" }, "last_serial": 5949125, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2d7930cbd4de838c066094294adc08b2", "sha256": "fe676bb4d71f32bec24df61b4751e22cbca0a0c83a2faafd873f2e51a1cae315" }, "downloads": -1, "filename": "Justipy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2d7930cbd4de838c066094294adc08b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4311, "upload_time": "2019-10-04T05:28:28", "url": "https://files.pythonhosted.org/packages/1a/b7/15a0f3b625364e52e88a9171ccd127b4187d65ed17d3a7ebd12f63b3e883/Justipy-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c74c7ff93e47df83e4dcb0a3eca50d76", "sha256": "859d8d3b054d3dcf6438429521048b483fb1cb6c151f3384fb7e9eb4debf5b34" }, "downloads": -1, "filename": "Justipy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c74c7ff93e47df83e4dcb0a3eca50d76", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3091, "upload_time": "2019-10-04T05:28:31", "url": "https://files.pythonhosted.org/packages/f8/c2/17a71347ac77e56b3e89a3de4a4f784fce1ad74d4237a2defa2f2931f4e1/Justipy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5e1b9faec1e0001deb6761dbe128d0a3", "sha256": "4aa51b0e5a47b1c3aa446e585d4d950b734fdd27be2233ce3f52560583e15cb8" }, "downloads": -1, "filename": "Justipy-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5e1b9faec1e0001deb6761dbe128d0a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4326, "upload_time": "2019-10-04T05:46:24", "url": "https://files.pythonhosted.org/packages/63/c0/d7fbd8d459751e6e4a4c78f9a87ac1291ad810dc9335c0b7fe96a4809066/Justipy-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02fb4bd09b678d98046cdaa4fc98e6f4", "sha256": "c189f22cc1357af454eec1253fc6fecc7ef40473d215662492dea5208fb5ca91" }, "downloads": -1, "filename": "Justipy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "02fb4bd09b678d98046cdaa4fc98e6f4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3104, "upload_time": "2019-10-04T05:46:26", "url": "https://files.pythonhosted.org/packages/e3/8e/dc8bd7782e9cfaf26d257aaa6f622df9020b21507d6c8622a211dcb926c1/Justipy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9dcdc62deb88e7f8c162d8f4807c431d", "sha256": "463817d19391046a3208f7eba82e101bbba6442e1643e9657705b50471121321" }, "downloads": -1, "filename": "Justipy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "9dcdc62deb88e7f8c162d8f4807c431d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4332, "upload_time": "2019-10-04T05:55:55", "url": "https://files.pythonhosted.org/packages/86/07/288a9b36fa903d9c6efd60d06df2f59de56d3fcea42d5f2c8b0ff766448b/Justipy-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1941bb92010b0b69f364aaf53aee48", "sha256": "fa3fbfe929ac4ec8ced720d2402744f20d52ba80d99b10c8672052b23c4fe04e" }, "downloads": -1, "filename": "Justipy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cd1941bb92010b0b69f364aaf53aee48", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3103, "upload_time": "2019-10-04T05:55:57", "url": "https://files.pythonhosted.org/packages/52/4c/3c6e1e9754f9772efb11c4d63c9cdbe286e4df38042fa62659f1d5877b5c/Justipy-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "75640947c54a83318c01e578eac0ef2d", "sha256": "6554ef63d7a6ac97230b89e4431191f8fea9f55f9988bd3c4ac21bb38abbb849" }, "downloads": -1, "filename": "Justipy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "75640947c54a83318c01e578eac0ef2d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4331, "upload_time": "2019-10-04T06:02:40", "url": "https://files.pythonhosted.org/packages/76/f0/b20968de6c4309dee31bd4a6828185c6fdf13cb8ac5e4036d29a1a0598fa/Justipy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e843833d7bb133dace183b85e985cf29", "sha256": "c23b40d73da726ec7704aa802ca37249a32b5963650bfd7bb8acf40077a43772" }, "downloads": -1, "filename": "Justipy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e843833d7bb133dace183b85e985cf29", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3110, "upload_time": "2019-10-04T06:02:42", "url": "https://files.pythonhosted.org/packages/cf/82/c13315a60664d394e6d01c4dc0e8cb3a5e1df1eccda357d1b7d74f3117c6/Justipy-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "31ba7ea7ac64def6b3e7f55af7c6d6eb", "sha256": "615b70970828684f3af2f0c25df66b507260d45aa433e262b11303bb5374aec5" }, "downloads": -1, "filename": "Justipy-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "31ba7ea7ac64def6b3e7f55af7c6d6eb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4576, "upload_time": "2019-10-08T13:53:34", "url": "https://files.pythonhosted.org/packages/cf/d8/e4ee745f4cd709e8cd877b69e057495d59417eafc053450d82d436f29b68/Justipy-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7fa533037dd19292f858d46e09229f7b", "sha256": "bff655ce1501ca59a276e6cf55c3657d330b8af352b8b6c9060a721c45998d11" }, "downloads": -1, "filename": "Justipy-0.0.5.tar.gz", "has_sig": false, "md5_digest": "7fa533037dd19292f858d46e09229f7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3375, "upload_time": "2019-10-08T13:53:35", "url": "https://files.pythonhosted.org/packages/11/64/ea309c91e7b0748abd633da3985ba234c050fb9765ad4144f716a6eaf89b/Justipy-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "18cdf69f4f9bd57b05ba5cdd4603d7d4", "sha256": "2d8cabfdd5f94c04432d2e670524999e3cddb58bcea8cbb505b4bb139730fe7c" }, "downloads": -1, "filename": "Justipy-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "18cdf69f4f9bd57b05ba5cdd4603d7d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4616, "upload_time": "2019-10-09T11:04:21", "url": "https://files.pythonhosted.org/packages/98/67/e19ba222a019ee8f22375d06de9778ddba5cb4d12873f75909fc57c61ff5/Justipy-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1341d22cab2a1108b1fa5e7dfaf8d381", "sha256": "25876ad11dacaccdfc6b33d2b8842452655d265410c554b7693195fa4d23e2e4" }, "downloads": -1, "filename": "Justipy-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1341d22cab2a1108b1fa5e7dfaf8d381", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3406, "upload_time": "2019-10-09T11:04:22", "url": "https://files.pythonhosted.org/packages/a0/b5/5a21f308336b53c908b3320ef7895d209719f4de02f798e9a5fd7e2d4617/Justipy-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "18cdf69f4f9bd57b05ba5cdd4603d7d4", "sha256": "2d8cabfdd5f94c04432d2e670524999e3cddb58bcea8cbb505b4bb139730fe7c" }, "downloads": -1, "filename": "Justipy-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "18cdf69f4f9bd57b05ba5cdd4603d7d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4616, "upload_time": "2019-10-09T11:04:21", "url": "https://files.pythonhosted.org/packages/98/67/e19ba222a019ee8f22375d06de9778ddba5cb4d12873f75909fc57c61ff5/Justipy-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1341d22cab2a1108b1fa5e7dfaf8d381", "sha256": "25876ad11dacaccdfc6b33d2b8842452655d265410c554b7693195fa4d23e2e4" }, "downloads": -1, "filename": "Justipy-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1341d22cab2a1108b1fa5e7dfaf8d381", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3406, "upload_time": "2019-10-09T11:04:22", "url": "https://files.pythonhosted.org/packages/a0/b5/5a21f308336b53c908b3320ef7895d209719f4de02f798e9a5fd7e2d4617/Justipy-0.0.6.tar.gz" } ] }