semvec/pypi-packages huggingface dataset:
calligraphy 0.7.0
A static blog generator.
Requires Python: >=3.0.*

# Calligraphy CMS
A static blog generator

## Install
```bash
$ pip3 install calligraphy -U
```

## Development
```shell
$ python3 -m venv .
$ . bin/activate
$ pip3 install --editable .
$ calligraphy
```

## Methods

### Verify

Validate all themes and blog posts.

```shell
$ calligraphy verify
```

---

### Export to html
Builds the landing and each blog post into a static `html` directory

Export to html (default)

```shell
$ calligraphy export
```

---

### Static
Run a static version of website

```shell
$ calligraphy static
$ calligraphy static --port=8088
```

## Todo
- [ ] Markdown parser
- [ ] Theme documentation
- [ ] 404 template
- [ ] Tags
aliyunswarm 0.0.20
aliyun swarm api
Requires Python: >=3.6

## 集群接入点地址：
```
参考：
https://help.aliyun.com/document_detail/26063.html?spm=a2c4g.11186623.6.768.81bb2d05Wmhak0
```

### Test
```
from aliyunswarm import *

if __name__ == "__main__":
    swarm_api = SwarmApi("https://host:port/",
                        "/path/ca.pem",
                        "/path/cert.pem",
                        "/path/key.pem")

    ################################################
    # applications api
    ################################################
    # 查询全部应用
    swarm_api.query_applications()
    # 查询应用
    swarm_api.query_applications('swarmtest')
    # 创建应用
    template = open('./compose/compose_ngx.yaml', 'r').read()
    swarm_api.create_application(template, 'swarmtest', 'swarm test')
    # 停止应用
    swarm_api.stop_application('swarmtest')
    # 启动应用
    swarm_api.start_application('swarmtest')
    # 终止应用
    swarm_api.kill_application('swarmtest')
    # 删除应用
    swarm_api.delete_application('swarmtest')
    # 重新部署应用
    swarm_api.redeploy_application('swarmtest')
    # 更新应用
    template = open('./compose/compose_ngx.yaml', 'r').read()
    swarm_api.update_application(template, 'swarmtest', 'swarmtest 2', version='2.0')

    ################################################
    # services api
    ################################################
    # 查询服务
    swarm_api.query_services('api')
    # 查询指定应用的服务
    swarm_api.query_service('swarmtest', 'api')
    # 启动指定应用的服务
    swarm_api.start_service('swarmtest', 'api')
    # 停止指定应用的服务
    swarm_api.stop_service('swarmtest', 'api')
    # 中止指定应用的服务
    swarm_api.kill_service('swarmtest', 'api')
```