Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Build Amazon Associates Links in the clipboard super fast.

Project Description

A command line tool for building Amazon Associates links with as few actions as possible.

If you have a link in the clipboard, run this script, then the link on the clipboard becomes an Amazon Associates link.

OS X Only

This is only for Mac OS X 10.8 or higher but it could easily be enhanced to support other operating systems.

Setup

After you pip install brocket just run brocket. It will prompt you for your tracking-id. Enter it.

Optional: Make sure it’s correct by running brocket --show-tracking-id.

Upping Your Game

I know what you’re thinking “4 steps?!? You mean I have to go to my browser and copy a URL, then run a terminal command, then go back…”. Yeah yeah I hear you.

There are probably lots of ways to skin this cat but here’s what I did.

Make an AppleScript called Brocket and save it in ~/Library/Scripts. It just needs to be 1 line:

do shell script "/usr/local/bin/brocket"

Then, if you haven’t already install the wonderful FastScripts. Your Brocket script should show up in the menu.

Finally assign Brocket a keyboard shortcut and you can skip switching to the Terminal to run the Brocket command.

Brocket Deer

This little utility is named for the Brocket Deer which lives around the Amazon river. It also sounds like Rocket, but with a ‘B’ and I was looking for something with a fast sounding name.

Release history Release notifications

This version
History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
brocket-1.1.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None Feb 10, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page