Pre-release
This release is a pre-release and may not be stable for production use.
🐍atk🐋
🌴(Automation)-(Terminal)-(Kubernetes)
🎣Automate the administration of docker and kubernetes
⚓支持 Python3.8 版本的atk,正在开发中……
Simple to install
</code></pre> </li> </ol> <p>pip install atk</p> <pre><code>
first step实例化
Agility_Docker(),如果您没有安装docker,那么将会报错。from atk import * docker = Agility_Docker()
Check the container查询容器
query()查询镜像
query(self_object_='images')docker.query() docker.query(self_object_='images')
Run the container运行容器
run()docker.run(docker.run(images_name='centos', vessel_name='centos1'))
Query the network card查询网卡
query_network()docker.query_network(formatting=True)
Modify image tag(label)修改镜像标签
tag()docker.tag(old_name='centos', new_name='centos2')
更多使用说明:atk-GitHub-tutorial
当前版本:
version-0.1.3.8b
Metadata
Release files for atk 0.1.3.8b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atk-0.1.3.8b0.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atk-0.1.3.8b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.4 kB
Release files / atk-0.1.3.8b0.tar.gz
| Download URL | atk-0.1.3.8b0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
324d97ff475e9c50f52324112b184cbabf51d851984be019db3e20628ff6db83
|
|
BLAKE2b-256 checksum How to use checksums |
859d1e2f65e1c100667c81d7a65f5e18337ec6a07f70b4fb8163d131857789d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / atk-0.1.3.8b0-py3-none-any.whl
| Download URL | atk-0.1.3.8b0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6319026c01cba5b314359d9c01d61261c70df5f44ff3a7c5cda93451c68f590
|
|
BLAKE2b-256 checksum How to use checksums |
017f8daf06b25cc01d79fc42be33c2fddc4d337e66f7397fc7793aec50cadc08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|