PKG-INFO 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Metadata-Version: 1.1
  2. Name: Command
  3. Version: 0.1.0
  4. Summary: Command runner with debug capabilities
  5. Home-page: http://github.com/helgi/python-command
  6. Author: Helgi Þorbjörnsson
  7. Author-email: helgi@php.net
  8. License: MIT License
  9. Description: Command
  10. =======
  11. .. image:: https://travis-ci.org/helgi/python-command.png
  12. :target: https://travis-ci.org/helgi/python-command
  13. Wrapper around subprocess.popen with on the fly debug / logging
  14. capabilities and timeout handling.
  15. Uses tempfiles for stdout/stderr to get past the 64kb subprocess.PIPE
  16. bug/limitation in python.
  17. Normal command run
  18. .. code:: python
  19. import command
  20. response = command.run(['ls'])
  21. print response.output
  22. print response.exit
  23. Print the output as it happens
  24. .. code:: python
  25. import command
  26. def debug(text):
  27. print text
  28. response = command.run(['ls'], debug=debug)
  29. print response.output
  30. print response.exit
  31. License
  32. =======
  33. MIT - See LICENSE
  34. Keywords: subprocess,command
  35. Platform: any
  36. Classifier: Development Status :: 3 - Alpha
  37. Classifier: Intended Audience :: Developers
  38. Classifier: Topic :: Utilities
  39. Classifier: License :: OSI Approved :: MIT License
  40. Classifier: Programming Language :: Python
  41. Classifier: Programming Language :: Python :: 2.6
  42. Classifier: Programming Language :: Python :: 2.7
  43. Classifier: Programming Language :: Python :: 3.2
  44. Classifier: Programming Language :: Python :: 3.3