{ "info": { "author": "Jeremy Fleischman", "author_email": "jeremyfleischman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# shtuff [![Build Status](https://travis-ci.org/jfly/shtuff.svg?branch=master)](https://travis-ci.org/jfly/shtuff) [![PyPI version](https://badge.fury.io/py/pypi.svg)](https://badge.fury.io/py/pypi)\n\nShell stuff will stuff commands into a shell \u00e0 la `tmux send-keys` or `screen\nstuff`.\n\n## Installation\n\nIf your environment is configured to use Python 3 by default:\n```\n$ pip install shtuff\n```\n\nOtherwise:\n```\n$ pip3 install shtuff\n```\n\nPlease note: `shtuff` only works on Python 3.7+!\n\n## Examples\nIn shell A, run:\n```\n$ shtuff as shell-a\n```\n\nIn shell B, run:\n```\n$ shtuff into shell-a \"git status\"\n```\n\nObserve how shell A ran `git status`.\n\nAn example use case for `shtuff new` might be a setup script to open a couple\nshells automatically. Consider this script:\n\n```sh\n#!/usr/bin/env bash\ntermite -e \"shtuff new vim\" &\ntermite -e \"shtuff new 'tail -f /var/log/somelog.log'\" &\n```\n\nThis script will open two terminals, one running vim, and one\nrunning tail.\n\n## Development\n\nInstall your local copy:\n\n```bash\n$ pip3 install -e .\n```\n\nUnless you know what you are doing, we highly recommend running tests inside a virtual environment.\nHere is how you can create and activate a virtual environment:\n\n```bash\n$ python3 -m venv .venv\n$ source .venv/bin/activate\n```\n\nYou can leave the virtual environment via `deactivate`:\n\n```bash\n$ deactivate\n```\n\nRun tests:\n\n```bash\n$ make test\n```\n\n## Releasing\n\nWe release using Makefile, choose the relevant target:\n\n```bash\n$ make release-major\n$ make release-minor\n$ make release-patch\n```\n\nand wait for Travis to deploy to [PyPi](https://pypi.org/project/shtuff/)!", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jfly/shtuff", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "shtuff", "package_url": "https://pypi.org/project/shtuff/", "platform": "", "project_url": "https://pypi.org/project/shtuff/", "project_urls": { "Homepage": "https://github.com/jfly/shtuff" }, "release_url": "https://pypi.org/project/shtuff/0.3.1/", "requires_dist": null, "requires_python": ">=3.7", "summary": "It's like screen's stuff command, without screen", "version": "0.3.1" }, "last_serial": 5929303, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "4c8ded189aa78a09213e4775d7ed4510", "sha256": "f7d4f25aa4cebbdbf129a2541454ebf9dc870dba3ec03ac6b90b06bae8e6c070" }, "downloads": -1, "filename": "shtuff-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4c8ded189aa78a09213e4775d7ed4510", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 8746, "upload_time": "2019-10-04T15:05:28", "url": "https://files.pythonhosted.org/packages/fa/dc/b2b6d08a0be7367490f34b0325d684bf99490ba0090818bf7bd8f8e732dd/shtuff-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c8ded189aa78a09213e4775d7ed4510", "sha256": "f7d4f25aa4cebbdbf129a2541454ebf9dc870dba3ec03ac6b90b06bae8e6c070" }, "downloads": -1, "filename": "shtuff-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4c8ded189aa78a09213e4775d7ed4510", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 8746, "upload_time": "2019-10-04T15:05:28", "url": "https://files.pythonhosted.org/packages/fa/dc/b2b6d08a0be7367490f34b0325d684bf99490ba0090818bf7bd8f8e732dd/shtuff-0.3.1.tar.gz" } ] }