{ "info": { "author": "Eugene Eeo", "author_email": "packwolf58@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "======\nCapris\n======\n\n.. image:: https://landscape.io/github/eugene-eeo/capris/master/landscape.png\n :target: https://landscape.io/github/eugene-eeo/capris/master\n :alt: Code Health\n\nCapris is a MIT-licensed Python library built for writing\ncomposable apps that leverage the command line.\n\nA simple example of writing your own git wrapper, complete\nwith other command-line utilities that you love and use on\na daily basis:\n\n.. code-block:: python\n\n >>> from capris import Command\n >>> git, grep = Command('git'), Command('grep')\n\n >>> pipe = git.log(n=10, pretty=\"oneline\") | grep(r'[a-f0-9]\\{40\\}', o=None)\n >>> str(pipe)\n \"git log -n 10 --pretty=oneline | grep -o [a-f0-9]\\{40\\}\"\n\n >>> response = pipe.run()\n >>> response.status_code\n 0\n >>> print response.std_out\n ...\n\n``capris`` allows you to write code or tests that just calls\ncommands and helps you focus on writing the `commands that you\nneed`, not the code required to handle calling and getting\nresponses from the commands. ``capris`` does all of the mucking\naround with strings and escaping for you.\n\n\n--------\nFeatures\n--------\n\n- Built in support for pipes\n- DSL for command generation\n- Elegant responses and environment variables\n- High-level unit tests for all classes\n- Safe- ``capris`` doesn't touch the shell\n- Smart option generation\n- Support for nested subcommands\n- Thread safety\n- Transactions and redirection\n- Works with both Python 2 and 3\n\n\n------------\nInstallation\n------------\n\nTo install Capris, simply:\n\n.. code-block:: bash\n\n $ pip install capris", "description_content_type": null, "docs_url": "https://pythonhosted.org/capris/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eugene-eeo/capris", "keywords": "capris,command,wrapper,dsl", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "capris", "package_url": "https://pypi.org/project/capris/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/capris/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/eugene-eeo/capris" }, "release_url": "https://pypi.org/project/capris/0.0.79/", "requires_dist": null, "requires_python": null, "summary": "Wrapper for doing beautiful commands", "version": "0.0.79" }, "last_serial": 1148117, "releases": { "0.0.47": [ { "comment_text": "", "digests": { "md5": "b0ffa6d274c48863b866b53181892725", "sha256": "1d4f2028af312861d5a2c0da3774672f5a293961d9bf724541b0a4f4ed433cb3" }, "downloads": -1, "filename": "capris-0.0.47.tar.gz", "has_sig": false, "md5_digest": "b0ffa6d274c48863b866b53181892725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6887, "upload_time": "2014-06-28T14:19:46", "url": "https://files.pythonhosted.org/packages/74/a1/fc7dff1bc252f6e231a26648338b38330803b5864301607545d1cfdab937/capris-0.0.47.tar.gz" } ], "0.0.48": [ { "comment_text": "", "digests": { "md5": "63b155a578eebba2a2e63d4c99290f69", "sha256": "acfef1f43f5526d8d7ac431b0490d05a12ca20b3b11de066695ad9a04bf5ce78" }, "downloads": -1, "filename": "capris-0.0.48.tar.gz", "has_sig": false, "md5_digest": "63b155a578eebba2a2e63d4c99290f69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6844, "upload_time": "2014-06-28T15:55:06", "url": "https://files.pythonhosted.org/packages/13/ad/cb452ca449b8413687e76c32546ff5e2ada08ca316be15c1eeb85aa46515/capris-0.0.48.tar.gz" } ], "0.0.49": [ { "comment_text": "", "digests": { "md5": "d3ea5f238563084946491b5d26eb6176", "sha256": "e365280dc50378c83b257a01c2bf8c4eedafde7daecd4074536792ec78276690" }, "downloads": -1, "filename": "capris-0.0.49.tar.gz", "has_sig": false, "md5_digest": "d3ea5f238563084946491b5d26eb6176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6869, "upload_time": "2014-06-28T15:56:56", "url": "https://files.pythonhosted.org/packages/4a/86/acfa088358914423d4fae53141f382ef1d7b734bdfc0280bbfbe76ee669d/capris-0.0.49.tar.gz" } ], "0.0.79": [ { "comment_text": "", "digests": { "md5": "a3e0fe581ce4868c73159c5734a40850", "sha256": "a895528f3db1aadd8139784b5cda88eb1c404f6de826bb5e6e116081b52405b0" }, "downloads": -1, "filename": "capris-0.0.79.tar.gz", "has_sig": false, "md5_digest": "a3e0fe581ce4868c73159c5734a40850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7506, "upload_time": "2014-07-04T14:38:36", "url": "https://files.pythonhosted.org/packages/29/e7/387d292414bede2fbf34cc4f05cc997dbed0b7540fddcdeae2be07811c70/capris-0.0.79.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3e0fe581ce4868c73159c5734a40850", "sha256": "a895528f3db1aadd8139784b5cda88eb1c404f6de826bb5e6e116081b52405b0" }, "downloads": -1, "filename": "capris-0.0.79.tar.gz", "has_sig": false, "md5_digest": "a3e0fe581ce4868c73159c5734a40850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7506, "upload_time": "2014-07-04T14:38:36", "url": "https://files.pythonhosted.org/packages/29/e7/387d292414bede2fbf34cc4f05cc997dbed0b7540fddcdeae2be07811c70/capris-0.0.79.tar.gz" } ] }