Skip to main content

Translate text to Pirate Speak.

Project description

https://raw.githubusercontent.com/Ombucha/pirate.py/main/banner.png PyPI version PyPI downloads Lines of code Repository size

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!"

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

pirate_py-1.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

pirate_py-1.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for pirate_py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9880232ad3bfc7505229870b793e56240cb7d4fbbc6fc295e11469d85e07e2eb
MD5 16c46a81c45559fdbb4c72930235adb0
BLAKE2b-256 2a99e4b2078ddd8fee05ab950385d9c2d9f307b22ccfeba074451e85c619d7e5

See more details on using hashes here.

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

Hashes for pirate_py-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 893edb80c03fe1be77c1d5973e933936c0a7028b24644fe311638025d23cffe8
MD5 5ce2ead2f4b6859fed290306b10ebf72
BLAKE2b-256 979bed9fac59ddb41a1d7afaebf8e8a380e7a1d452dfb72609f7b2ff7fc06caa

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