mtat-weditor


Namemtat-weditor JSON
Version 0.0.7 PyPI version JSON
download
home_pagehttps://github.com/openatx/weditor
Summarytool for writing atx script
upload_time2023-10-17 07:34:12
maintainer
docs_urlNone
authorcodeskyblue
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WEditor
[![image](https://img.shields.io/pypi/v/weditor.svg?style=flat-square)](https://pypi.python.org/pypi/weditor)
[![image](https://img.shields.io/github/stars/alibaba/web-editor.svg?style=social&label=Star&style=flat-square)](https://github.com/alibaba/web-editor)
[![image](https://travis-ci.org/alibaba/web-editor.svg?branch=master)](https://travis-ci.org/alibaba/web-editor)

[中文文档](README_ZH.md)

This project is subproject for smart phone test framework [openatx](https://github.com/openatx)
for easily use web browser to edit UI scripts.

Screenshot

![screenshot](./screenshot.jpg)

## Installation
Dependencies

- Python3.6+
  - [uiautomator2](https://github.com/openatx/uiautomator2)
  - [facebook-wda](https://github.com/openatx/facebook-wda)


> Only tested in `Google Chrome`, _IE_ seems not working well.

```
pip3 install -U weditor
```

For developers

```bash
git clone https://github.com/openatx/weditor
pip3 install -e weditor
```

## Usage
Create Shortcut in Desktop (Only windows)

```
weditor --shortcut
```

By click shortcut or run in command line

```
weditor
```

This command will start a local server with port 17310,
and then open a browser tab for you to editor you code.

Port 17310 is to memorize the created day -- 2017/03/10

To see more usage run `weditor -h`

## Hotkeys(Both Mac and Win)
- Right click screen: `Dump Hierarchy`

### Hotkeys(only Mac)
- Command+Enter: Run the whole code
- Command+Shift+Enter: Run selected code or current line if not selected

### Hotkeys(only Win)
- Ctrl+Enter: Run the whole code
- Ctrl+Shift+Enter: Run selected code or current line if not selected

## For Developers
See [DEVELOP.md](DEVELOP.md)

## LICENSE
[MIT](LICENSE)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/openatx/weditor",
    "name": "mtat-weditor",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "codeskyblue",
    "author_email": "codeskyblue@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/9e/4411ca1b0f5373987177a7cfda9e5f4a1cca07fcfea451b85ec5d2bcd1e1/mtat-weditor-0.0.7.tar.gz",
    "platform": null,
    "description": "# WEditor\n[![image](https://img.shields.io/pypi/v/weditor.svg?style=flat-square)](https://pypi.python.org/pypi/weditor)\n[![image](https://img.shields.io/github/stars/alibaba/web-editor.svg?style=social&label=Star&style=flat-square)](https://github.com/alibaba/web-editor)\n[![image](https://travis-ci.org/alibaba/web-editor.svg?branch=master)](https://travis-ci.org/alibaba/web-editor)\n\n[\u4e2d\u6587\u6587\u6863](README_ZH.md)\n\nThis project is subproject for smart phone test framework [openatx](https://github.com/openatx)\nfor easily use web browser to edit UI scripts.\n\nScreenshot\n\n![screenshot](./screenshot.jpg)\n\n## Installation\nDependencies\n\n- Python3.6+\n  - [uiautomator2](https://github.com/openatx/uiautomator2)\n  - [facebook-wda](https://github.com/openatx/facebook-wda)\n\n\n> Only tested in `Google Chrome`, _IE_ seems not working well.\n\n```\npip3 install -U weditor\n```\n\nFor developers\n\n```bash\ngit clone https://github.com/openatx/weditor\npip3 install -e weditor\n```\n\n## Usage\nCreate Shortcut in Desktop (Only windows)\n\n```\nweditor --shortcut\n```\n\nBy click shortcut or run in command line\n\n```\nweditor\n```\n\nThis command will start a local server with port 17310,\nand then open a browser tab for you to editor you code.\n\nPort 17310 is to memorize the created day -- 2017/03/10\n\nTo see more usage run `weditor -h`\n\n## Hotkeys(Both Mac and Win)\n- Right click screen: `Dump Hierarchy`\n\n### Hotkeys(only Mac)\n- Command+Enter: Run the whole code\n- Command+Shift+Enter: Run selected code or current line if not selected\n\n### Hotkeys(only Win)\n- Ctrl+Enter: Run the whole code\n- Ctrl+Shift+Enter: Run selected code or current line if not selected\n\n## For Developers\nSee [DEVELOP.md](DEVELOP.md)\n\n## LICENSE\n[MIT](LICENSE)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "tool for writing atx script",
    "version": "0.0.7",
    "project_urls": {
        "Homepage": "https://github.com/openatx/weditor"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "179e4411ca1b0f5373987177a7cfda9e5f4a1cca07fcfea451b85ec5d2bcd1e1",
                "md5": "82687a28f55e666a5c8ada8667d81592",
                "sha256": "43bb32cd92aabfe5996c096c2546d85050423359979f9d11e74b2a71bcf1a519"
            },
            "downloads": -1,
            "filename": "mtat-weditor-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "82687a28f55e666a5c8ada8667d81592",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2208422,
            "upload_time": "2023-10-17T07:34:12",
            "upload_time_iso_8601": "2023-10-17T07:34:12.347551Z",
            "url": "https://files.pythonhosted.org/packages/17/9e/4411ca1b0f5373987177a7cfda9e5f4a1cca07fcfea451b85ec5d2bcd1e1/mtat-weditor-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-17 07:34:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openatx",
    "github_project": "weditor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "mtat-weditor"
}
        
Elapsed time: 0.13214s