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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sopel_flipper-1.1.0.post0.tar.gz
.
File metadata
- Download URL: sopel_flipper-1.1.0.post0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 228ebb87e3c46f579f359b8f4a3fe57e35ec93a8248d3b2654b7a41836825b82 |
|
MD5 | fac32a557dd1b6fe850d43937fdc1e6b |
|
BLAKE2b-256 | 29ab836fbaced0064bc915d0348b83b8a503dbdffa8cfbc8e450fa0468e5dab8 |
File details
Details for the file sopel_flipper-1.1.0.post0-py3-none-any.whl
.
File metadata
- Download URL: sopel_flipper-1.1.0.post0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0833260cff27b460e2b2d855bad8709545847dd2809a076b6814d69fcc6657 |
|
MD5 | 3ac10bafd4c9a22fc62676391ace78fe |
|
BLAKE2b-256 | c016d3e1147c6c82f06a910b909723b298cf2be044cd931f58512cd5e860f193 |