{ "info": { "author": "Drew Pearce", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3" ], "description": "# legos.memes\n\n[![Travis](https://img.shields.io/travis/drewpearce/legos.memes.svg)]() [![PyPI](https://img.shields.io/pypi/pyversions/legos.memes.svg)]() [![PyPI](https://img.shields.io/pypi/v/legos.memes.svg)]()\n\n[![PyPI](https://img.shields.io/pypi/wheel/legos.memes.svg)]() [![PyPI](https://img.shields.io/pypi/l/legos.memes.svg)]() [![PyPI](https://img.shields.io/pypi/status/legos.memes.svg)]()\n\nAutomatically create memes based on phrasing in this memes lego. Built using the [memegen API](https://memegen.link/api/), with inspiration derived from the [Hubot memecaptain API implementation](https://www.npmjs.com/package/hubot-meme)\n\nThe Lego module system and Legobot are a FOSS project lovingly crafted by [Bren Briggs](https://github.com/bbriggs) and friends. All code borrowed from Legobot is his (C).\n\n## Usage\n### Autodetect\nThis lego is invoked simply by speaking in meme phrases. Currently the following memes are supported (case insensitive.)\n- `y u no...`\n - Generates a Y U No guy meme with your text on it.\n- `yo dawg...`\n - Generates an Xzibit Yo Dawg meme with your message text on it.\n- `what if I told you...`\n - Generates a Morpheus What if I told you meme with your message text on it.\n- `memexy ...all the...`\n - Generates a Hyperbole and a Half X all the Y meme with your message text on it.\n- `one does not simply...`\n - Generates a Boromir One does not simply meme with your message text on it.\n- `brace yourselves...`\n - Generates a Ned Stark brace yourselves meme with your message text on it.\n- `why not both`\n - Generates a Why don't we have both girl meme.\n- `ermahgerd...`\n - Generates a Ermahgerd! girl meme with your message text on it.\n- `NO!`\n - Generates a Grumpy Cat meme.\n- `i have no idea what i'm doing`\n - Generates a Computer Dog meme.\n- `it's a trap`\n - Generates an Admiral Ackbar meme.\n- `can't... if you don't ...`\n - Generates a Roll Safe meme with your message on it.\n- `aliens guy: ...`\n - Generates an Ancient Aliens Guy memer with your message on it.\n\n### Manual Invocation\nYou can also generate memes manuall through the syntax `: , `\n\nIf you only want one line of text, simply don't include the comma.\n\nExample: `fry: not sure if ai, or really fast coder` would generate this meme: ![Fry Meme](https://memegen.link/fry/not_sure_if_ai/or_really_fast_coder.jpg)\n\nYou can get a list of keywords in chat via `!help memes list` or you can visit [Meme Keyword List](https://memegen.link/api/templates/)\n\n## Installation\n\n`pip3 install legos.memes`\n\nThis is a Lego designed for use with [Legobot](https://github.com/bbriggs/Legobot), so you'll get Legobot along with this. To deploy it, import the package and add it to the active legos like so:\n\n```python\n# This is the legobot stuff\nfrom Legobot import Lego\n# This is your lego\nfrom legos.memes import Memes\n\n# Legobot stuff here\nlock = threading.Lock()\nbaseplate = Lego.start(None, lock)\nbaseplate_proxy = baseplate.proxy()\n\n# Add your lego\nbaseplate_proxy.add_child(Memes)\n```\n\n## Tweaking\n\nWhile you can use this one as-is, you could also add a localized version to your Legobot deployment by grabbing [memes.py](legos/memes.py) and deploying is as a local module. [Example of a Legobot instance with local modules](https://github.com/voxpupuli/thevoxfox/)\n\n## Contributing\n\nAs always, pull requests are welcome.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/drewpearce/legos.memes", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "legos.memes", "package_url": "https://pypi.org/project/legos.memes/", "platform": "", "project_url": "https://pypi.org/project/legos.memes/", "project_urls": { "Homepage": "https://github.com/drewpearce/legos.memes" }, "release_url": "https://pypi.org/project/legos.memes/0.3.2/", "requires_dist": null, "requires_python": "", "summary": "Meme generator using the memegen api", "version": "0.3.2" }, "last_serial": 5204114, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "63f2fd7a520b9329e6f825745f7a27dd", "sha256": "9f2e5a19d2db5708fd475ce7e3cf9eec635010ee3583a77c8c6f356364ae23ee" }, "downloads": -1, "filename": "legos.memes-0.1.0.tar.gz", "has_sig": false, "md5_digest": "63f2fd7a520b9329e6f825745f7a27dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2017-04-19T02:10:55", "url": "https://files.pythonhosted.org/packages/f6/f3/3199d9fcd2b1c33e23d6a682bf5dafc3c5c31890c9347a8f4f8cc45e242c/legos.memes-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dc4cbe102569927ea1cbb3695ea79416", "sha256": "4663d0851ab3e166879e40a6c83de83c13da795c858450156c176bb2b789f3c2" }, "downloads": -1, "filename": "legos.memes-0.2.1.tar.gz", "has_sig": false, "md5_digest": "dc4cbe102569927ea1cbb3695ea79416", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3778, "upload_time": "2018-05-10T14:38:27", "url": "https://files.pythonhosted.org/packages/e1/44/333bd21018ecfeb5c3e767610a888a8cbfff74d2f015b5e684bb220f62c9/legos.memes-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "677893650d66b72d9223e31891574b54", "sha256": "0f6c966d6097598257057860e7ea8bf1e57bef55abf15144b2c68dba9459edc0" }, "downloads": -1, "filename": "legos.memes-0.2.2.tar.gz", "has_sig": false, "md5_digest": "677893650d66b72d9223e31891574b54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4067, "upload_time": "2018-05-10T18:54:20", "url": "https://files.pythonhosted.org/packages/a0/e2/8509f64a8bb70b229ef66d22fc585b0b6a82f35ebebcc5bb238a5a14bbbc/legos.memes-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "2f34ad1c19d38371947006518aa37572", "sha256": "1d1f95327f692562d7196cf9b00069579cacfaa202030868c1a4f24407940635" }, "downloads": -1, "filename": "legos.memes-0.2.3.tar.gz", "has_sig": false, "md5_digest": "2f34ad1c19d38371947006518aa37572", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4079, "upload_time": "2018-05-10T22:09:47", "url": "https://files.pythonhosted.org/packages/aa/78/660b2ff81a30b1b08ce621a8fbc3f1df5835d85b1bfb24029d91a8efb3ba/legos.memes-0.2.3.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "9d6ac161d9207970598c6b4bf3962bc3", "sha256": "d74263f55e6256856d1ee40dcf907ecdeef563002aa8913693b94a10d01e6d3f" }, "downloads": -1, "filename": "legos.memes-0.3.0.tar.gz", "has_sig": false, "md5_digest": "9d6ac161d9207970598c6b4bf3962bc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5495, "upload_time": "2018-12-12T20:41:36", "url": "https://files.pythonhosted.org/packages/e5/f2/efd0ccf649df57fac47d2dd210473c336936c3db662f7356325eccca0793/legos.memes-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "29181d8044ea93af92215585624b1ec0", "sha256": "878a4266da288ee8da60359bc5e9aa57212c8aa3052f6abb47d0cb410ce0f4df" }, "downloads": -1, "filename": "legos.memes-0.3.1.tar.gz", "has_sig": false, "md5_digest": "29181d8044ea93af92215585624b1ec0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5525, "upload_time": "2018-12-13T17:24:46", "url": "https://files.pythonhosted.org/packages/43/91/2d6d4839c46de355d7e13ea2525f1eb1db69773f9512a14e67488a87425e/legos.memes-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "3643bfd434ca9367bc11b517706b3b6c", "sha256": "cd745c338e6e16c0b53fcec2c4ebef400e9a7f4ca6e9cb97958c7b50a8bab808" }, "downloads": -1, "filename": "legos.memes-0.3.2.tar.gz", "has_sig": false, "md5_digest": "3643bfd434ca9367bc11b517706b3b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2019-04-29T17:03:53", "url": "https://files.pythonhosted.org/packages/b0/9b/6789bf0a773cd2ad193bbe4ab72897222838b650b15be14a00a54ae1a919/legos.memes-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3643bfd434ca9367bc11b517706b3b6c", "sha256": "cd745c338e6e16c0b53fcec2c4ebef400e9a7f4ca6e9cb97958c7b50a8bab808" }, "downloads": -1, "filename": "legos.memes-0.3.2.tar.gz", "has_sig": false, "md5_digest": "3643bfd434ca9367bc11b517706b3b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2019-04-29T17:03:53", "url": "https://files.pythonhosted.org/packages/b0/9b/6789bf0a773cd2ad193bbe4ab72897222838b650b15be14a00a54ae1a919/legos.memes-0.3.2.tar.gz" } ] }