Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ombucha/pirate.py

Repository files navigation

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

Fair winds and happy plunderin', matey!

About

A basic API wrapper for the Pirate API.

Topics

Resources

Readme

License

MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Stars

Watchers

Forks

Contributors

Languages