Skip to main content

A Sopel plugin to flip (and mirror) text

Project description

sopel-flipper

A Sopel plugin to flip (and mirror) text

Installing

Releases are hosted on PyPI, so after installing Sopel, all you need is pip:

$ pip install sopel-flipper

Using

Flip, roll, or mirror text with a CTCP ACTION (/me command) and Sopel will output the transformation along with a suitable kaomoji.

* dgw flips the joint
<Sopel> (╯°□°)╯︵ ʇuᴉoɾ ǝɥʇ
* dgw rolls NoobGuy
<Sopel> (╮°-°)╯︵ ʎn⅁qooN NoobGuy ʎn⅁qooN NoobGuy ʎn⅁qooN (@_@;)
* dgw mirrors the quick brown fox
<Sopel> ╰( ⁰ ਊ ⁰ )━💨🪞 xoʇ nwoɿd ʞɔiup ɘ⑁Ɉ

Alternatively, use the .flip, .roll, or .mirror commands.

<dgw> .flip the joint
<Sopel> (╯°□°)╯︵ ʇuᴉoɾ ǝɥʇ
<dgw> .roll NoobGuy
<Sopel> (╮°-°)╯︵ ʎn⅁qooN NoobGuy ʎn⅁qooN NoobGuy ʎn⅁qooN (@_@;)
<dgw> .mirror the quick brown fox
<Sopel> ╰( ⁰ ਊ ⁰ )━💨🪞 xoʇ nwoɿd ʞɔiup ɘ⑁Ɉ

Easter egg: Try .flip a table!

Changelog

1.1.0

Added:

  • Horizontal .mirror command feature (#10)

1.0.0

Reworked for the Python-3-only world.

Added:

  • Regular prefix-based commands for .flip and .roll (#9)

Changed:

  • Rolling always uses the "down a hill" format that was previously an Easter egg, to differentiate it more from flipping (#8)

Meta:

  • Package metadata modernized using pyproject.toml (#8)
  • Refactored a big chunk of the plugin code (#8)
  • Python older than 3.8 is no longer officially supported (#8)
    • Sopel 7.1 bots are still supported, if running on Python >=3.8
  • Releases are now automated (#8)

0.1.0

Initial release.

Changed:

  • Converted from single file to entry-point package
  • Properly specified dependencies
  • Upgraded to Sopel 7.1+ coding standards

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

sopel_flipper-1.1.0.post0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

sopel_flipper-1.1.0.post0-py3-none-any.whl (5.9 kB 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