{ "info": { "author": "Jachin Rupe", "author_email": "jachin@jachin.rupe.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: MacOS X", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "brocket\n=======\n\nA command line tool for building `Amazon Associates`_ links with as few actions as possible.\n\nIf you have a link in the clipboard, run this script, then the link on the clipboard becomes an `Amazon Associates`_ link.\n\nOS X Only\n---------\n\nThis is only for Mac OS X 10.8 or higher but it could easily be enhanced to support other operating systems.\n\nSetup\n-----\n\nAfter you ``pip install brocket`` just run ``brocket``. It will prompt you for your tracking-id. Enter it.\n\nOptional: Make sure it's correct by running ``brocket --show-tracking-id``.\n\nHow to Make Links\n-----------------\n\nOnce it's setup, the easiest thing to do is\n\n 1. Browse to an Amazon URL you want an affiliate link for.\n 2. Copy the URL\n 3. Run the ``brocket`` command. This will tag the URL with your tracking-id and put the new URL on the clipboard.\n 4. Paste the URL where ever you want it to go.\n\nUpping Your Game\n----------------\n\nI 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.\n\nThere are probably lots of ways to skin this cat but here's what I did.\n\nMake an AppleScript called ``Brocket`` and save it in ``~/Library/Scripts``. It just needs to be 1 line::\n\n do shell script \"/usr/local/bin/brocket\"\n\nThen, if you haven't already install the wonderful `FastScripts`_. Your ``Brocket`` script should show up in the menu.\n\nFinally assign ``Brocket`` a keyboard shortcut and you can skip switching to the Terminal to run the Brocket command.\n\nBrocket Deer\n------------\n\nThis 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.\n\n.. _Amazon Associates: https://affiliate-program.amazon.com\n.. _Brocket Deer: https://en.wikipedia.org/wiki/Brocket_deer\n.. _FastScripts: https://red-sweater.com/fastscripts/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jachin/brocket", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "brocket", "package_url": "https://pypi.org/project/brocket/", "platform": "", "project_url": "https://pypi.org/project/brocket/", "project_urls": { "Homepage": "http://github.com/jachin/brocket" }, "release_url": "https://pypi.org/project/brocket/1.2/", "requires_dist": [ "urlobject", "pyperclip" ], "requires_python": "", "summary": "Build Amazon Associates Links in the clipboard super fast.", "version": "1.2" }, "last_serial": 3990602, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9fa2f3365ea72ae9cd9a25a60f5caff1", "sha256": "68623ea330a2dd7ca220476eb2c2a3dafca2affef48cbce3f0d133d2678e3fe9" }, "downloads": -1, "filename": "brocket-1.0-py2.7.egg", "has_sig": false, "md5_digest": "9fa2f3365ea72ae9cd9a25a60f5caff1", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4638, "upload_time": "2016-02-10T07:59:34", "url": "https://files.pythonhosted.org/packages/74/02/131d205070ec997fa2a0e06cf683655129b2549cc76be8f3eab3ae6e8106/brocket-1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "aa91e265661a4644c873bfdf013a433e", "sha256": "ad2c534b88871c2d3582ede6269e35c818da43f57b29da1b0e3880cd74644b20" }, "downloads": -1, "filename": "brocket-1.0-py3.5.egg", "has_sig": false, "md5_digest": "aa91e265661a4644c873bfdf013a433e", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 4701, "upload_time": "2016-02-10T07:59:39", "url": "https://files.pythonhosted.org/packages/f2/3b/ade73dfe396f8742293bbaaf527d804e634a668b65272b45e6f8142eba7c/brocket-1.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "b2de1e9c2cdbee35b8c7e9051f67434d", "sha256": "b0f3cc051153da14a9950afbe91ed64796c711166ae32bccbbee463f2cb7ac28" }, "downloads": -1, "filename": "brocket-1.0.tar.gz", "has_sig": false, "md5_digest": "b2de1e9c2cdbee35b8c7e9051f67434d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3295, "upload_time": "2016-02-10T07:59:44", "url": "https://files.pythonhosted.org/packages/f3/1d/bf9a4f05f76e14013f3d92c1967b450c59397792e0378005734889254ee3/brocket-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "eee87a7ac95d3185715f32fa52364715", "sha256": "4e5b647ac51bed66d5fc8d6609c077507ed715271bb6126a5fc6d6d9ab8aea3c" }, "downloads": -1, "filename": "brocket-1.1.tar.gz", "has_sig": false, "md5_digest": "eee87a7ac95d3185715f32fa52364715", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4168, "upload_time": "2016-02-10T08:59:17", "url": "https://files.pythonhosted.org/packages/9c/41/d51ff4fa9108ad3a2f189ef2beb6c446c4545d4e99728ea7f72d3483f9cc/brocket-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "3b1ad9018cc3f605e051d68f5c826f97", "sha256": "e97ffe0759fae349ed94c2557d25f4f04e76b45ecfbecf60905d7b5fb8e0ea8b" }, "downloads": -1, "filename": "brocket-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3b1ad9018cc3f605e051d68f5c826f97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4113, "upload_time": "2018-06-22T21:09:07", "url": "https://files.pythonhosted.org/packages/b8/dd/b028d594409d6d91af0ed4441bc62c4a23fa94ed7e816dd0a607c89c2d74/brocket-1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4c756bfbcc64bfebd7c9a18c1ba5ecc", "sha256": "270f427480a835fdecb3cb87c5923c807f8d6c339c086eb3588297b4c2d698c2" }, "downloads": -1, "filename": "brocket-1.2.tar.gz", "has_sig": false, "md5_digest": "b4c756bfbcc64bfebd7c9a18c1ba5ecc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4349, "upload_time": "2018-06-22T21:09:08", "url": "https://files.pythonhosted.org/packages/4c/8a/e9843df10298ca4bb49a7599c51f110a10edcf91abe1d443c309e373a829/brocket-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b1ad9018cc3f605e051d68f5c826f97", "sha256": "e97ffe0759fae349ed94c2557d25f4f04e76b45ecfbecf60905d7b5fb8e0ea8b" }, "downloads": -1, "filename": "brocket-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3b1ad9018cc3f605e051d68f5c826f97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4113, "upload_time": "2018-06-22T21:09:07", "url": "https://files.pythonhosted.org/packages/b8/dd/b028d594409d6d91af0ed4441bc62c4a23fa94ed7e816dd0a607c89c2d74/brocket-1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4c756bfbcc64bfebd7c9a18c1ba5ecc", "sha256": "270f427480a835fdecb3cb87c5923c807f8d6c339c086eb3588297b4c2d698c2" }, "downloads": -1, "filename": "brocket-1.2.tar.gz", "has_sig": false, "md5_digest": "b4c756bfbcc64bfebd7c9a18c1ba5ecc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4349, "upload_time": "2018-06-22T21:09:08", "url": "https://files.pythonhosted.org/packages/4c/8a/e9843df10298ca4bb49a7599c51f110a10edcf91abe1d443c309e373a829/brocket-1.2.tar.gz" } ] }