Skip to main content

Converts text to Pig Latin

Project description


Converts english text to piglatin.


piglatin can be installed from PyPI using pip.

pip install piglatin


>>> import piglatin
>>> piglatin.translate("hello world!")
'ello-hay orld-way!'

Command Line Usage

piglatin can also be used as a command line tool.

$ python -m piglatin "hello world!"
ello-hay orld-way

Or read and write to files.

$ python -m piglatin -i input.txt -o output.txt

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

piglatin-1.0.6.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

piglatin-1.0.6-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page