pirate.py¶
Installation¶
Python 3.8 or higher is required.
To install the stable version, do the following:
# Unix / macOS
python3 -m pip install "pirate.py"
# Windows
py -m pip install "pirate.py"
To install the development version, do the following:
$ git clone https://github.com/Ombucha/pirate.py
Make sure you have the latest version of Python installed, or if you prefer, a Python version of 3.8 or greater.
If you have have any other issues feel free to search for duplicates and then create a new issue on GitHub with as much detail as possible. Include the output in your terminal, your OS details and Python version.
Functions¶
- pirate.insult() str¶
Generates a pirate insult.
- pirate.translate(text: str) str¶
Translates text to Pirate Speak.
- Parameters:
text (
str) – The text to translate.