semvec/pypi-packages huggingface dataset:
foliantcontrib.bindsympli 1.0.14
Sympli integration preprocessor for Foliant.
License: MIT

# BindSympli

BindSympli is a tool to download design layout images from [Sympli](https://sympli.io/) CDN using certain Sympli account, to resize these images, and to bind them with the documentation project.

## Installation

Before using BindSympli, you need to install [Node.js](https://nodejs.org/en/), [Puppeteer](https://github.com/GoogleChrome/puppeteer), [wget](https://www.gnu.org/software/wget/), and [ImageMagick](https://imagemagick.org/).

BindSympli preprocessor code is written in Python, but it uses the external script written in JavaScript. This script is provided in BindSympli package:

```bash
$ pip install foliantcontrib.bindsympli
```

## Config

To enable the preprocessor, add `bindsympli` to `preprocessors` section in the project config:

```yaml
preprocessors:
    - bindsympli
```

The preprocessor has a number of options with the following default values:

```yaml
preprocessors:
    - bindsympli:
        get_sympli_img_urls_path: get_sympli_img_urls.js
        wget_path: wget
        convert_path: convert
        cache_dir: !path .bindsymplicache
        sympli_login: ''
        sympli_password: ''
        image_width: 800
        max_attempts: 5
```

`get_sympli_img_urls_path`
:   Path to the script `get_sympli_img_urls.js` or alternative command that launches it (e.g. `node some_another_script.js`). By default, it is assumed that you have this command and all other commands in `PATH`.

`wget_path`
:   Path to `wget` binary.

`convert_path`
:   Path to `convert` binary, a part of ImageMagick.

`cache_dir`
:   Directory to store downloaded and resized images.

`sympli_login`
:   Your username in Sympli account.

`sympli_password`
:   Your password in Sympli account.

`image_width`
:   Width of resulting images in pixels (original images are too large).

`max_attempts`
:   Maximum number of attempts to run the script `get_sympli_img_urls.js` on fails.

## Usage

To insert a design layout image from Sympli into your documentation, use `<<sympli>...</sympli>` tags in Markdown source:

```markdown
Here’s an image from Sympli:

<<sympli caption="An optional caption" width="400" url="https://app.sympli.io/app#!/designs/0123456789abcdef01234567/specs/assets"></sympli>
```

You have to specify the URL of Sympli design layout page in `url` attribute.

You may specify an optional caption in the `caption` attribute, and an optional custom image width in the `width` attribute. The `width` attribute overrides the `image_width` config option for a certain image.

BindSympli preprocessor will replace such blocks with local image references.
wonderguy 1.4.3
wonderbits by mfeducation.
License: MIT
Requires Python: >=3.0.0


### 豌豆拼
> 重写了豌豆拼python硬件交互逻辑


```python
from wonderguy import Display, wb_tool, Control, Led
import random
# wb_tool.show_console()

d = Display()
c = Control()
l = Led()

for i in range(20):
    d.print(1,1,i)
    v = c.get_sw4()
    l.set_rgb(random.randint(0,255),random.randint(0,255),random.randint(0,255))
    print(v)
```
messh 1.2.0
A useful SSH configuration manager.
License: MIT
Requires Python: >=3.6.0


# messh.py

A useful SSH configuration manager.

## Install

```bash
sudo pip install messh
```

## How to use

Get help about messh

```bash
messh --help
```

Display all ssh-config in messh

```
messh list
```

Create ssh connection and auto save it in config list, use `--only-create` only update config without creating ssh connection.

```
messh connect root@host --port 7878 --name "Myself VPS"
```

Use config by index to create ssh connection

```
messh connect 0
```

Execute command by ssh connection

```
messh execute root@host "ls -l" --port 8080
# or use index
messh execute 0 "ls -l"
```

Delete config by index(integer)

```
messh delete 0
```

## Security

All config would be write to `~/messh.conf` by JSON. **Protect it!**