Skip to main content

Memician

Memician is the state of the art Memelord

$ pip install zf-memician

Design

  • Memician finds relevant memes by executing semantic search over the memes library
  • Memician uses Rewriter to convert the user's prompt into a MemeLibrary search query
  • Memician uses Structurer to convert the user's prompt into inputs for MemeTemplate
graph TD
    User --> |Prompt| M[Memician]

    M --> |Query| L[Library]

    L --> T1[Template 1]
    L --> T2[Template 2]
    L --> T3[Template n]

    M --> |Template, Inputs| G[Generator]
    G --> |Output| Meme

    M1[Memician] --> |Prompt, Template| S1(Structurer)
    S1 --> |Inputs| M1

Notes

  • You can generate a concise description of a meme by using an LLM model
✨ Explain this given meme in 15 words or less: distracted boyfriend meme

Guy ignores his girlfriend, captivated by another woman representing a new interest or trend.

Installation

Sqlite3

Update your /.zshrc file:

export LDFLAGS="$LDFLAGS -L$(brew --prefix sqlite)/lib"
export CPPFLAGS="$CPPFLAGS -I$(brew --prefix sqlite)/include"
export PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions"

Then run:

pyenv install 3.11.9
pyenv global 3.11.9
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

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".

License

All rights reserved.

Metadata

Release files for zf-memician 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zf-memician 0.1.3
File Size Uploaded Provenance Actions
zf-memician-0.1.3.tar.gz 3.5 kB Without provenance Details for zf-memician-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zf-memician 0.1.3
File Interpreter ABI Platform Actions
zf_memician-0.1.3-py3-none-any.whl Python 3 none any Details for zf_memician-0.1.3-py3-none-any.whl

Total release size: 7.2 kB

Release files / zf-memician-0.1.3.tar.gz

Download URL zf-memician-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
958e0ff8731eb6fd78574cc645b669bd6ab5e9d3c5ae601b3ff49dbdc629a1d7
BLAKE2b-256 checksum
How to use checksums
c3669997d85841d95eeeea7de890dfba4879dab2bde1daa06580ce0d7a39ce28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.9

Release files / zf_memician-0.1.3-py3-none-any.whl

Download URL zf_memician-0.1.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6275407474494ff1c5cf7ca59e4b86c85a05b836087d02a4d8096decc385413e
BLAKE2b-256 checksum
How to use checksums
a0e618fb384850db3ad88d92a4356b3e67ed97038e3525b94724823e4f526048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.9

Security for zf-memician 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page