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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file zf-memician-0.1.0.tar.gz.

File metadata

  • Download URL: zf-memician-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for zf-memician-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c0e86fce00ec4ad4cc347b53f4bcce25d6b3d8759d90941a2600f668aa481a9
MD5 a5aa97f02431446750d684490cf1d6ce
BLAKE2b-256 ccde8d7aa074e02effd257239b13256684368742ee8ce31b966254b0b5ec87cc

See more details on using hashes here.

File details

Details for the file zf_memician-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zf_memician-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for zf_memician-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13ac40e33e2e07722cf43a78df5e645a42fe844fb2faa71d13444e62bfad417d
MD5 a72a56941ea9c90cf3dce7450a00610e
BLAKE2b-256 e831c91ba330bf18c3884374d34a861531358b583bbe1c4dc30e12958184595a

See more details on using hashes here.

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