Metadata-Version: 2.1
Name: weditor
Version: 0.5.2
Summary: tool for writing atx script
Home-page: https://github.com/openatx/weditor
Author: codeskyblue
Author-email: codeskyblue@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Requires-Python: >=3.6
Requires-Dist: tornado (>=4.3)
Requires-Dist: six
Requires-Dist: pillow
Requires-Dist: logzero
Requires-Dist: cached-property
Requires-Dist: uiautomator2 (>=2.10.1)
Requires-Dist: facebook-wda (>=1.0.5)

# 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/openatx/weditor.svg?style=social&label=Star&style=flat-square)](https://github.com/openatx/weditor)
[![image](https://travis-ci.org/openatx/weditor.svg?branch=master)](https://travis-ci.org/openatx/weditor)

This project is subproject for smart phone test framework [openatx](https://github.com/openatx)
for easily use web browser to edit atx scripts.
This project is hosted in <https://github.com/openatx/weditor>

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

## Installation
Tested with `python 3.6, 3.7`

```
pip3 install --upgrade weditor
```

For developers

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

## Usage

Create Shortcut in Desktop

```
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)



