Skip to main content

spooner

Project description

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

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

spooner-0.5.11.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spooner-0.5.11-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spooner-0.5.11.tar.gz.

File metadata

  • Download URL: spooner-0.5.11.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for spooner-0.5.11.tar.gz
Algorithm Hash digest
SHA256 702f4730bc21b0aa78d779185c762773572d58995d9fdf3dc8d7eafb4f5f91cf
MD5 97110e0a386a3b096e1c018b4bcc40a4
BLAKE2b-256 78484266ebb18c20405997ba2dd714664cc55b38dbc3eb3c4400c3d24628ddc1

See more details on using hashes here.

File details

Details for the file spooner-0.5.11-py2.py3-none-any.whl.

File metadata

  • Download URL: spooner-0.5.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for spooner-0.5.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 653d8c3b64fff7fb1a462a14f49399ce25272cf006a64f16fa4a02bda40b82ab
MD5 ba1e5a8ef942c55d915e9d51bbe4c024
BLAKE2b-256 515c999dcb7df20d1bbfc7f9c2668f58dd452214d1af0f25c4b773220863c63c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page