https://github.com/owen7000/pypiglatin
PyPigLatin is a python module which can convert words or strings of words from English, into Pig Latin
https://github.com/owen7000/pypiglatin
piglatin pip python3
Last synced: 19 days ago
JSON representation
PyPigLatin is a python module which can convert words or strings of words from English, into Pig Latin
- Host: GitHub
- URL: https://github.com/owen7000/pypiglatin
- Owner: Owen7000
- Created: 2023-03-25T08:56:27.000Z (about 2 years ago)
- Default Branch: root
- Last Pushed: 2024-03-13T12:58:26.000Z (about 1 year ago)
- Last Synced: 2024-08-10T23:19:27.034Z (9 months ago)
- Topics: piglatin, pip, python3
- Language: Python
- Homepage: https://pypiglatin.readthedocs.io/en/latest/
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README




[](https://pepy.tech/project/pypiglatin)# PyPigLatin
PyPigLatin is a module which can convert words or strings of words from English, into Pig Latin
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install PyPigLatin.
```bash
pip install pypiglatin
```## Usage
```python
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"print(p.translate_string(larger_string))
# This would print 'igpay atinlay isway ardhay otay eakspay'
```View the docs [Here](https://pypiglatin.readthedocs.io/en/latest/)
## License
[GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.en.html)