Translate text to Pirate Speak.
Project description
Arrr! What Ye Be Needin’
Before ye set sail, make sure yer ship has these aboard:
Python 3.8 or higher (no rusty old versions, matey!)
The mighty requests library
How t’ Hoist the Sails (Installin’)
To plunder the latest stable release from PyPI, run this in yer terminal:
# Fer Unix / macOS buccaneers
python3 -m pip install "pirate.py"
# Fer Windows deckhands
py -m pip install "pirate.py"
If ye want the freshest code from the captain’s quarters (development version):
git clone https://github.com/Ombucha/pirate.py
cd pirate.py
pip install -e .
Quick Start Fer Landlubbers
Here be how ye use this treasure:
import pirate
# Hurl a pirate insult at yer foes!
print(pirate.insult()) # "We'll keel-haul ye, ye fish-kissin', scallywagging monkey! ... Ahoy!"
# Turn yer plain English into Pirate Speak!
print(pirate.translate("Hand over the treasure, or you'll be walking the plank!")) # "Hand o'er the treasure, or ye'll be walkin' the plank!"
Links t’ Treasure Maps
Pirate Monkeyness — The mystical source o’ pirate wisdom!
Documentation — The ship’s logs, fer those who read.
Fair winds and happy plunderin’, matey! 🏴☠️
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pirate_py-1.1.0.tar.gz.
File metadata
- Download URL: pirate_py-1.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9880232ad3bfc7505229870b793e56240cb7d4fbbc6fc295e11469d85e07e2eb
|
|
| MD5 |
16c46a81c45559fdbb4c72930235adb0
|
|
| BLAKE2b-256 |
2a99e4b2078ddd8fee05ab950385d9c2d9f307b22ccfeba074451e85c619d7e5
|
File details
Details for the file pirate_py-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pirate_py-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893edb80c03fe1be77c1d5973e933936c0a7028b24644fe311638025d23cffe8
|
|
| MD5 |
5ce2ead2f4b6859fed290306b10ebf72
|
|
| BLAKE2b-256 |
979bed9fac59ddb41a1d7afaebf8e8a380e7a1d452dfb72609f7b2ff7fc06caa
|