Skip to main content

Memician is a state of the art Memelord

Project description

Memician

Memician is the state of the art Memelord

$ pip install zf-memician

How it works

memician uses the Python Imaging Library PIL to edit existing templates of memes and return them to the user.

memician has a list of defined MemeImage templates that are fed to a MemeFactory. The factory then produces an image with all the arguments, given by the user, pasted onto the image in the correct formats of the specific meme.

In addition to just text-based memes, memician also supports substituting the text-argument with an image. Just supply an image-link in < ... > angle brackets as an argument, and the text will be substituted for the image. ENDLESS POTENTIAL!!!

The available meme templates can be found in the Image Library. The specifications of each meme template can be found in the Meme Library. Where builtin.JSON is the place for default templates. You can define your own templates as well, which is described below.

Usage

memician <path> <template> <*args> <*options>
  • path is where on your computer you want to save the meme.
  • template is the underlying template to use for the meme (not case sensitive).
  • *args are all arguments to be placed onto the template.
    • Multi-word arguments must be surrounded by "" quotation marks
    • Arguments can be images, pasted onto the template. Image-links should be given in '<>' angle brackets.
  • *options are the options that modify behavior of the generation.
    • Options are passed with '{}' curly braces.
    • Currently supported options: "stretch".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zf-memician-0.1.0.tar.gz (4.7 MB view hashes)

Uploaded Source

Built Distribution

zf_memician-0.1.0-py3-none-any.whl (4.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page