{ "info": { "author": "Nicholas Amorim", "author_email": "nicholas@alienretro.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Twisted", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "txsh is a dynamic wrapper around Twisted ProcessProtocol and\r\nspawnProcess that allows you to call any program as if it were\r\na function and return a deferred with its exit code and output.\r\n\r\n.. code-block:: python\r\n\r\n from twisted.internet import reactor\r\n from txsh import ls\r\n\r\n def my_callback(exc_info):\r\n print 'Exit Code:', exc_info.status\r\n print 'Output:', exc_info.stdout\r\n print 'Errors:', exc_info.stderr\r\n reactor.stop()\r\n\r\n d = ls()\r\n d.addCallback(my_callback)\r\n\r\n reactor.run()", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nicholasamorim/txsh", "keywords": "twisted process shell command", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "txsh", "package_url": "https://pypi.org/project/txsh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/txsh/", "project_urls": { "Homepage": "https://github.com/nicholasamorim/txsh" }, "release_url": "https://pypi.org/project/txsh/0.2.1/", "requires_dist": [ "twisted (>=10.2.0)" ], "requires_python": null, "summary": "Twisted Process interface", "version": "0.2.1" }, "last_serial": 1562045, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "d77e2c808d78db45697cc432c3f587f4", "sha256": "6d8c24e197fec142a59343f8594fad2a2d95e7a7492c3084f258ab1c77b74647" }, "downloads": -1, "filename": "txsh-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d77e2c808d78db45697cc432c3f587f4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11085, "upload_time": "2015-05-20T10:41:04", "url": "https://files.pythonhosted.org/packages/a1/3b/378a120e57dbc47c0f468a48f0d7a937c040b5da029197eb349c415478ff/txsh-0.2.1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d77e2c808d78db45697cc432c3f587f4", "sha256": "6d8c24e197fec142a59343f8594fad2a2d95e7a7492c3084f258ab1c77b74647" }, "downloads": -1, "filename": "txsh-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d77e2c808d78db45697cc432c3f587f4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11085, "upload_time": "2015-05-20T10:41:04", "url": "https://files.pythonhosted.org/packages/a1/3b/378a120e57dbc47c0f468a48f0d7a937c040b5da029197eb349c415478ff/txsh-0.2.1-py2-none-any.whl" } ] }