weditor


Nameweditor JSON
Version 0.7.2 PyPI version JSON
download
home_pagehttps://github.com/openatx/weditor
Summarytool for writing atx script
upload_time2023-11-03 06:24:08
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": "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/a1/c6/ec92e8d4a95f4e901e3b6764e1b716ac85dd9892d36d5f40fef6063cdbd6/weditor-0.7.2.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)",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "tool for writing atx script",
    "version": "0.7.2",
    "project_urls": {
        "Homepage": "https://github.com/openatx/weditor"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1c6ec92e8d4a95f4e901e3b6764e1b716ac85dd9892d36d5f40fef6063cdbd6",
                "md5": "f0b2934274e742c67e300689ab6155a8",
                "sha256": "f5419f0184d5b0d09b9a37ed32dab7529e79b26ed9e1c5c1c72dd901d7ebd234"
            },
            "downloads": -1,
            "filename": "weditor-0.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f0b2934274e742c67e300689ab6155a8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2205956,
            "upload_time": "2023-11-03T06:24:08",
            "upload_time_iso_8601": "2023-11-03T06:24:08.229507Z",
            "url": "https://files.pythonhosted.org/packages/a1/c6/ec92e8d4a95f4e901e3b6764e1b716ac85dd9892d36d5f40fef6063cdbd6/weditor-0.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-03 06:24:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openatx",
    "github_project": "weditor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "weditor"
}
        
Elapsed time: 0.13953s