{ "info": { "author": "Adam Coddington", "author_email": "me@adamcoddington.net", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "Benzo\n=====\n\nHand-craft your artisinal REST requests more easily.\n\nDo you find yourself hand-crafting REST requests by opening up a python,\nruby, or javascript repl, or hand-building a curl request? Do you find\nthe process of remembering each service's required headers, request format\nand authentication rules terribly tedious? This library is for you.\n\nBenzo makes the process of building and iterating on common request types\neasy by providing a few features:\n\n* Templatized requests: Both generic (json, yaml, or form-encoded) and\n service-specific templatized requests make it really easy for you to\n define the content you'd like to send.\n* Simple and intuitive creating of requests. Your request's contents\n and properties (like URL, request method, and headers) are displayed\n in your default editor, and you can add, alter, or remove paramters\n as you wish.\n* Separation of the API payload from the editor format. Although the API\n you're interacting with might demand form-encoded, JSON, or yaml values,\n you can edit your request using a variety of formats, and benzo will\n convert it to the proper format when dispatching your request.\n* Saveable sessions. Do you ever build a request perfectly the first\n time? Me neither. Iterate quickly and easily on your request by\n using benzo's sessions. If first you do not succeed, just re-run\n benzo in the same session, and the editor will be opened just as you\n last left it.\n\nInstallation\n------------\n\nInstall using ``pip``:\n\n::\n\n pip install benzo\n\nUsage\n-----\n\nYou can just run ``benzo``, but the real power comes when using either\nsessions or one of the built-in templates.\n\nSessions\n~~~~~~~~\n\nYou can save a session for your request by using the\n``--session=`` command-line argument. When using a session,\nfuture requests using the same session file will continue with not only\nthe same actual session (including any cookies the server you connected\nto previously sent down), but the editor when opened will show you exactly\nthe request you made previously. This makes it very easy to iterate on\na particularly tricky request.\n\nTemplates\n~~~~~~~~~\n\nYou can use a request template by using the ``--template=