playpty


Nameplaypty JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryPlay script in pty
upload_time2024-07-26 07:07:55
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Shiming Zhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords playpty
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # playpty

This is a tool that reads from a file and simulates user input on tty

This is only tested in [democtl](https://github.com/wzshiming/democtl)

[Release page](https://pypi.org/project/playpty/)

## Install

```bash
python3 -m pip install playpty
```

## Usage

```bash
python3 -m playpty /path/to/file.demo
```

### Built-in command

These are the commands that will not be displayed with running

- `@pause` wait press entry
- `@sleep [float]` like sleep in shell
- `@typing-interval [float]` change the typing interval(default 0.1)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "playpty",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "playpty",
    "author": null,
    "author_email": "wzshiming <wzshiming@foxmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# playpty\n\nThis is a tool that reads from a file and simulates user input on tty\n\nThis is only tested in [democtl](https://github.com/wzshiming/democtl)\n\n[Release page](https://pypi.org/project/playpty/)\n\n## Install\n\n```bash\npython3 -m pip install playpty\n```\n\n## Usage\n\n```bash\npython3 -m playpty /path/to/file.demo\n```\n\n### Built-in command\n\nThese are the commands that will not be displayed with running\n\n- `@pause` wait press entry\n- `@sleep [float]` like sleep in shell\n- `@typing-interval [float]` change the typing interval(default 0.1)\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Shiming Zhang  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Play script in pty",
    "version": "0.4.1",
    "project_urls": {
        "Homepage": "https://github.com/wzshiming/playpty",
        "Source": "https://github.com/wzshiming/playpty"
    },
    "split_keywords": [
        "playpty"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb77a8b0e48c7268e2691c7e68e48ac5f648be3d9024e1a82817ee20472e8862",
                "md5": "b34fa0999be3721ff46d81c9f50b6ddf",
                "sha256": "0de51b725e787772e8ef8f6ef06ce5339181236383e4026f001c104678a2c220"
            },
            "downloads": -1,
            "filename": "playpty-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b34fa0999be3721ff46d81c9f50b6ddf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6005,
            "upload_time": "2024-07-26T07:07:55",
            "upload_time_iso_8601": "2024-07-26T07:07:55.540576Z",
            "url": "https://files.pythonhosted.org/packages/fb/77/a8b0e48c7268e2691c7e68e48ac5f648be3d9024e1a82817ee20472e8862/playpty-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-26 07:07:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wzshiming",
    "github_project": "playpty",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "playpty"
}
        
Elapsed time: 0.30426s