Skip to main content

Documentation Status PyPI version codecov Build Status Code style: black

spooner

Generates spoonerisms based on sounds in words. Created just for fun and learning.

STANDARD DISCLAIMER: Spoonerisms made by this program are not guaranteed to be funny, but they are technically spoonerisms.

Installation

pip install spooner

Usage

Use it like this:

>>> import spooner as sp
>>> sp.phonemes("trail")
['T', 'R', 'EY1', 'L']
>>> sp.spoon("trail snacks")
{'trail': ['snail'], 'snacks': ['tracks', 'trax']}
>>> sp.spoonsentence("let's eat trail snacks")
["let's treat ail snacks", "let's treat ale snacks", "let's eat snail tracks", "let's eat snail trax"]

Metadata

Release files for spooner 0.5.11

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

Source distribution (sdist)

Source distribution for spooner 0.5.11
File Size Uploaded
spooner-0.5.11.tar.gz 43.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spooner 0.5.11
File Interpreter ABI Platform
spooner-0.5.11-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 51.9 kB

Release files / spooner-0.5.11.tar.gz

Download URL spooner-0.5.11.tar.gz
Size 43.8 kB
Tags Source
SHA-256 checksum
How to use checksums
702f4730bc21b0aa78d779185c762773572d58995d9fdf3dc8d7eafb4f5f91cf
BLAKE2b-256 checksum
How to use checksums
78484266ebb18c20405997ba2dd714664cc55b38dbc3eb3c4400c3d24628ddc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.21.0

Release files / spooner-0.5.11-py2.py3-none-any.whl

Download URL spooner-0.5.11-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
653d8c3b64fff7fb1a462a14f49399ce25272cf006a64f16fa4a02bda40b82ab
BLAKE2b-256 checksum
How to use checksums
515c999dcb7df20d1bbfc7f9c2668f58dd452214d1af0f25c4b773220863c63c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.21.0

Release history Release notifications | RSS feed

This release

0.5.11 This release

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

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