# Python Pig Latin
Translate text into Pig Latin using Python
## How it works
This script converts English text in Pig Latin following these steps:
Strips non-alpha or single space characters from input text
Converts input text to all lower case
For words that start with consonants, moves all consonants before the first vowel to the end of the word (“the” becomes “ethay” not “hetay”)
For words that start with vowels, nothing is changed, only the suffix is added
Adds suffix “ay” to the end of words
## Instructions
Install with Pip/PyPi in the command line interface:
` pip install pig-latin `
In your Python code, import the library:
` import piglatin `
Call the translator in your code:
` piglatin.translate('Your text goes here!') `
Your text will be translated into Pig Latin and returned as a string.
Metadata
Release files for pig-latin 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pig-latin-0.1.4.tar.gz | 1.4 kB | Without provenance | Details for pig-latin-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pig_latin-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for pig_latin-0.1.4-py3-none-any.whl |
Total release size: 4.0 kB
Release files / pig-latin-0.1.4.tar.gz
| Download URL | pig-latin-0.1.4.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
515b31847224e50fb922dd7988c4249cde9ed23fb966a891c34ec4dbcb084f6a
|
|
BLAKE2b-256 checksum How to use checksums |
72613d25f7d1d9617a53febbae6a64925f5f9f5253ca6571987006bc5f8c1222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pig_latin-0.1.4-py3-none-any.whl
| Download URL | pig_latin-0.1.4-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78824d802ca3290e661eb76ee873fc59c47a16641eac1d223301d11fe398fe7f
|
|
BLAKE2b-256 checksum How to use checksums |
6310dd4a26dfdf83ec61e9b9ca57faa3f49e944b75a804af979aa6a0d2253698
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pig-latin 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.