Skip to main content

A module that can convert words or strings of words from English to Pig Latin.

Project description

PyPI - Downloads PyPI PyPI - License

PyPigLatin

PyPigLatin is a module which can convert words or strings of words from English, into Pig Latin

Installation

Use the package manager pip to install PyPigLatin.

pip install pypiglatin

Usage

import pypiglatin as p

# Example showing translation of a single word
single_word = "Hello"

print(p.translate_word(single_word)
# This would print 'ellohay'


# To trnalsate a larger string, use the translate_string function
larger_string = "Pig Latin is hard to speak"

p.translate_string(larger_string)
# This would print 'igpay atinlay isway ardhay otay eakspay'

License

GPL-3.0

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

pypiglatin-0.1.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

pypiglatin-0.1.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file pypiglatin-0.1.2.tar.gz.

File metadata

  • Download URL: pypiglatin-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pypiglatin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 778c7664e410d5308287a249dd7c227f94279e04cf0c4232ab3e2acb01fc02fb
MD5 439fd4ee0e2f3ec19768b2497a201adc
BLAKE2b-256 4f8ecf966ca9050e051a7c5d846ad90b0eb05ae734d80ec32eb79e25f391af50

See more details on using hashes here.

File details

Details for the file pypiglatin-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pypiglatin-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pypiglatin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9064231fdbbbbf013f495534f5e18ffe3bd09d6d05d9aae8e52ca8c1c3987481
MD5 7b895bb9721507cc6dc30c402b2f42ca
BLAKE2b-256 de19a2c007afaf49b02e134fc65c959df035bd0870807dd9361cb18e638ce081

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