{ "info": { "author": "Jerry Pussinen", "author_email": "jerry.pussinen@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Thug Memes\n==========\n|build|\n|pypi|\n|python_versions|\n|codecov|\n\nCommand line Thug Meme generator written in Python.\n\nInstallation\n------------\n\nRequirements\n^^^^^^^^^^^^\n - Python 3.4+\n\n.. code:: bash\n\n pip3 install thug-memes\n\nThis installs the core version which supports `opencv `__ haarcascade based detector. If you are serious with your thug memes (like you definitely should), there is also support for \n`dlib `__ based detector which, in general, provides better results. If you want to enjoy dlib's accuracy, please follow `dlib's own installation instructions `__. Some additional dlib installation guides for macOS and Ubuntu can be found in: `[1] `__ `[2] `__.\nThug memes can be installed with dlib's Python bindings included:\n\n.. code:: bash\n\n pip3 install thug-memes[dlib]\n\nUsage\n-----\n.. code:: bash\n\n thug path/to/the/original/image 'JUST CASUALLY LIFTING' '20KGs HERE'\n\nWill store something like this in your current directory:\n\n|img1|\n\nIf you have installed dlib and want to use it instead of opencv detector, add option:\n\n.. code:: bash\n\n --detector dlib\n\nIf you want to see the results of the detection, add *--debug* option:\n \n\nOpencv (*--debug*):\n\n|img2|\n\nDlib (*--detector dlib --debug*):\n\n|img3|\n\nAlmost everything is configurable. You can see the used configuration with: \n\n.. code:: bash\n\n --show-config\n\nThe default configuration is in `src/thug/defaul.conf`. You can override this by defining environment variable `THUG_CONF` and pointing it to a file which contains overrides. In addition, you can override any of the configuration variables from command line with *--override* or *-o* options. For example:\n\n.. code:: bash\n\n thug path/to/original/img.jpg 'WE HAVE HUGE CIGARS' 'BUT ALSO PINK TEXT' --detector dlib -o cigar_length 2 -o glasses_width 5 -o font_bgr '[180,105,255]'\n\n|img4|\n\nFor all available options, see:\n\n.. code:: bash\n\n thug --help\n\n\n\nIf you don't want to have awesome Thug elements in your meme, there is also 'a plain meme' alternative:\n\n.. code:: bash\n\n meme path/to/the/original/image 'THIS IS A NORMAL MEME' 'WITHOUT THUG STUFF :(' -o font_bgr '[255,255,255]'\n\n|img5|\n\nExample images are from `pexels `__.\n\nContributing\n------------\nSee `contributing `__ guide.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/thug-memes.svg\n :target: https://pypi.python.org/pypi/thug-memes\n\n\n.. |build| image:: https://travis-ci.org/jerry-git/thug-memes.svg?branch=master\n :target: https://travis-ci.org/jerry-git/thug-memes\n\n.. |python_versions| image:: https://img.shields.io/pypi/pyversions/thug-memes.svg\n :target: https://pypi.python.org/pypi/thug-memes\n\n.. |codecov| image:: https://codecov.io/gh/jerry-git/thug-memes/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/jerry-git/thug-memes\n\n\n.. |img1| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_out_thug.jpg\n\t:height: 600pt\n\n.. |img2| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_debug_opencv.jpg\n\t:height: 600pt\n\n.. |img3| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/1_face_debug_dlib.jpg\n\t:height: 600pt\n\n.. |img4| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/3_faces_thug_custom.jpeg\n\t:width: 600pt\n\n.. |img5| image:: https://raw.githubusercontent.com/jerry-git/thug-memes/master/doc/examples/normal_meme_out.jpg\n\t:width: 600pt", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jerry-git/thug-memes", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "thug-memes", "package_url": "https://pypi.org/project/thug-memes/", "platform": "", "project_url": "https://pypi.org/project/thug-memes/", "project_urls": { "Homepage": "https://github.com/jerry-git/thug-memes" }, "release_url": "https://pypi.org/project/thug-memes/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "command line tool for creating awesome thug memes", "version": "0.1.2" }, "last_serial": 4229604, "releases": { "0.0.11": [ { "comment_text": "", "digests": { "md5": "ae98bd335c3f2937fcdfcedfadbebcb8", "sha256": "5339d38dbf368f29d0f4bdc5d7f4fbc1642f8f2c3d607af4feeceacc68d6b9e7" }, "downloads": -1, "filename": "thug-memes-0.0.11.tar.gz", "has_sig": false, "md5_digest": "ae98bd335c3f2937fcdfcedfadbebcb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1205753, "upload_time": "2018-03-24T17:33:31", "url": "https://files.pythonhosted.org/packages/60/10/6c2ccf8ed2ec94bc77f813350e763e8ac55aea3c4c7344b6f45f0b6ca2af/thug-memes-0.0.11.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "7adb94a199987ccf791f3f2dd11c9958", "sha256": "9e97d1dccc6473b9bd271ed9870500b254e182d49411d54f734b3deaeffc385b" }, "downloads": -1, "filename": "thug-memes-0.0.13.tar.gz", "has_sig": false, "md5_digest": "7adb94a199987ccf791f3f2dd11c9958", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1204997, "upload_time": "2018-03-24T18:27:13", "url": "https://files.pythonhosted.org/packages/f7/43/a7ac5ce4e843f80a1dabd28c1093726d3a082f667db95fc4c913c5b0238f/thug-memes-0.0.13.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e07e28579a7167431c9e939827af3c11", "sha256": "f942a5ed5210370c4c181856bd3f006807af138abf5d69941aa6ae7e168bc2fa" }, "downloads": -1, "filename": "thug-memes-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e07e28579a7167431c9e939827af3c11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2115603, "upload_time": "2018-03-17T00:22:31", "url": "https://files.pythonhosted.org/packages/8c/c1/6e9c82a09c3176629773ab30ae11c6540b7f89cf1e524344144d8c9a34ba/thug-memes-0.0.5.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "654bd35ca794093ef0a9bc46730dd4e1", "sha256": "06a43661dd0638ae25b29ffa8a7ca63ac22c405ca48a0681d14bc70e6c09ca50" }, "downloads": -1, "filename": "thug-memes-0.0.8.tar.gz", "has_sig": false, "md5_digest": "654bd35ca794093ef0a9bc46730dd4e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2117611, "upload_time": "2018-03-17T02:05:56", "url": "https://files.pythonhosted.org/packages/d9/22/c7bb86e26934d0ba783dc3b5b7eee7f5b069d207c6858ed74a853506f2c6/thug-memes-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "888676b117ae6455d7b8ce35df88c59a", "sha256": "38ef7e4b4a4c3aa06e467a4f302e89fa6d41cd62eecd954434a12a91c826868c" }, "downloads": -1, "filename": "thug-memes-0.0.9.tar.gz", "has_sig": false, "md5_digest": "888676b117ae6455d7b8ce35df88c59a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1171768, "upload_time": "2018-03-17T08:50:28", "url": "https://files.pythonhosted.org/packages/08/0c/2f4cf4543763b008a202aa6b2d70a90885fd58519cf74518e698596bba2d/thug-memes-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "be381db983785027867054977051797a", "sha256": "0ca50dd5c152a55dacb4123d1f6072d53a310a32330cde005856855fa8d03ddb" }, "downloads": -1, "filename": "thug-memes-0.1.0.tar.gz", "has_sig": false, "md5_digest": "be381db983785027867054977051797a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1204965, "upload_time": "2018-03-24T18:50:31", "url": "https://files.pythonhosted.org/packages/8d/45/68f50c02f78b9d8d365e90531efd8f4301c8734c07e3728019b88a683926/thug-memes-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e1b65fcae951b89c9e6ed562ecc462b6", "sha256": "3e75ccedd0c882fd8e0c4753c6d405df97df7dfb3ed5ef88a759c88974704d2a" }, "downloads": -1, "filename": "thug-memes-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e1b65fcae951b89c9e6ed562ecc462b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1205498, "upload_time": "2018-09-01T17:50:39", "url": "https://files.pythonhosted.org/packages/d5/ea/040ab79aaeb175f83af225c7a6dc62cdda094577d18699ec73cc252781de/thug-memes-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1b65fcae951b89c9e6ed562ecc462b6", "sha256": "3e75ccedd0c882fd8e0c4753c6d405df97df7dfb3ed5ef88a759c88974704d2a" }, "downloads": -1, "filename": "thug-memes-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e1b65fcae951b89c9e6ed562ecc462b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1205498, "upload_time": "2018-09-01T17:50:39", "url": "https://files.pythonhosted.org/packages/d5/ea/040ab79aaeb175f83af225c7a6dc62cdda094577d18699ec73cc252781de/thug-memes-0.1.2.tar.gz" } ] }