Skip to main content

PyPI Build Status Quality Gate

mmemoji

Custom Emoji manager command-line for Mattermost 😎

Features:

  • Create custom Emojis
  • Delete custom Emojis
  • List custom Emojis
  • Search custom Emojis
  • Export custom Emojis

Installation

pip install mmemoji
mmemoji --help

(Requires Python >=3.10)

Usage example

Let's take the Party Parrot Emojis as an example.

  • First, clone the Git repository or retrieve an archive of it:
git clone https://github.com/jmhobbs/cultofthepartyparrot.com.git
cd cultofthepartyparrot.com
  • Then you'll need your Mattermost credentials. You can either pass them to mmemoji with the arguments --url/--login-id/--password or via environment variables, for example:
export MM_URL='http://127.0.0.1:8065'
export MM_LOGIN_ID='user-1@sample.mattermost.com'
export MM_PASSWORD='user-1'
  • Finally, run mmemoji to import all the parrots:
mmemoji create --no-clobber {parrots,guests}/hd/*.gif {parrots,guests}/*.gif

Note

  • Here we rely on shell globbing to select all emojis from the directories.
  • Specifying the hd directories first with --no-clobber ensures these emojis are created first and not overwritten by their lower quality counterpart.
  • If you ever want to remove them all, simply run the following:
mmemoji delete --force {parrots,guests}/hd/*.gif {parrots,guests}/*.gif

Note

  • The emoji names are extracted from the filenames the same way they have been during creation.
  • --force is used to ignore the absent low quality duplicates.

Development

  • You can clone this repository and install the project with uv:
uv sync
  • You'll find a script to create a local Docker test instance under tests/:
./tests/scripts/setup-mattermost.py
  • You can run the test suite with:
pytest
  • And last thing, you can install the pre-commit hooks to help with the formatting of your code.
pre-commit install

Metadata

Release files for mmemoji 0.7.0

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

Source distribution (sdist)

Source distribution for mmemoji 0.7.0
File Size Uploaded Provenance Actions
mmemoji-0.7.0.tar.gz 127.9 kB Without provenance Details for mmemoji-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mmemoji 0.7.0
File Interpreter ABI Platform Actions
mmemoji-0.7.0-py3-none-any.whl Python 3 none any Details for mmemoji-0.7.0-py3-none-any.whl

Total release size: 152.9 kB

Release files / mmemoji-0.7.0.tar.gz

Download URL mmemoji-0.7.0.tar.gz
Size 127.9 kB
Tags Source
SHA-256 checksum
How to use checksums
407270433eb7ce8cac9924256e51fac6217f7238aa4730198e93771e7c42bf4f
BLAKE2b-256 checksum
How to use checksums
6451fd2951b782fc9017e1f6358514e97c1c4a510c37b2a0aa06112ea46c4554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mmemoji-0.7.0-py3-none-any.whl

Download URL mmemoji-0.7.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba525c0a06db77b6f60bff3b70eae15ffe98c0cdc2bc3008561dbb8ac0256f21
BLAKE2b-256 checksum
How to use checksums
0e233fd82800bf2b0b4d11b05bb0dc5475272cb8fb46a9e02168c7452a2bd646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mmemoji 0.7.0

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