8000 GitHub - Ombucha/pirate.py: A basic API wrapper for the Pirate API.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ombucha/pirate.py

Repository files navigation

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

Links t' Treasure Maps

Fair winds and happy plunderin', matey! 🏴‍☠️

About

A basic API wrapper for the Pirate API.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

0