差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| python:fabric [2023/04/01 13:12] – [Fabric 1.x から 2.x へ再実装された経緯] ともやん | python:fabric [2023/05/07 20:17] (現在) – [Fabric - シンプルな Pythonic リモート実行とデプロイメント] ともやん | ||
|---|---|---|---|
| 行 6: | 行 6: | ||
| is licensed under | is licensed under | ||
| <a href=" | <a href=" | ||
| - | <a href=" | ||
| </ | </ | ||
| </ | </ | ||
| - | ファブリック(fabric) | + | ファブリック(fabric) |
| - | 爽やかなお兄さんがファブ(fab)っていますけど...😅💦💦💦\\ | + | 爽やかなお兄さんがファブ(fab)っていますけど...🤔\\ |
| - | 本家: [[https:// | + | 本家: [[https:// |
| ソースコード: | ソースコード: | ||
| + | 関連: [[https:// | ||
| + | [[https:// | ||
| + | ドキュメント: | ||
| + | ソースコード: | ||
| + | [[git> | ||
| ===== Linux ===== | ===== Linux ===== | ||
| - | < | + | <WRAP color_term> |
| - | <WRAP color_connamd>< | + | <WRAP color_connamd>< |
| - | $ pip install fabric | + | <b class=GRN> |
| - | </code></ | + | </pre></ |
| - | <WRAP color_result>< | + | <WRAP color_result>< |
| Collecting fabric | Collecting fabric | ||
| - | Downloading fabric-2.6.0-py2.py3-none-any.whl (53 kB) | + | Downloading fabric-3.0.0-py3-none-any.whl (53 kB) |
| - | |████████████████████████████████| | + | <b class=PipBAR> |
| - | Collecting pathlib2 | + | Collecting invoke>=2.0 |
| - | Downloading pathlib2-2.3.6-py2.py3-none-any.whl (17 kB) | + | Downloading invoke-2.0.0-py3-none-any.whl (162 kB) |
| - | Collecting invoke<2.0,>=1.3 | + | <b class=PipBAR> |
| - | Downloading invoke-1.6.0-py3-none-any.whl (212 kB) | + | |
| - | |████████████████████████████████| 212 kB 2.0 MB/s | + | |
| Collecting paramiko> | Collecting paramiko> | ||
| - | Downloading paramiko-2.8.0-py2.py3-none-any.whl (206 kB) | + | Downloading paramiko-3.1.0-py3-none-any.whl (211 kB) |
| - | |████████████████████████████████| 206 kB 5.2 MB/s | + | <b class=PipBAR> |
| - | Collecting | + | Collecting |
| - | Downloading | + | Downloading |
| - | |████████████████████████████████| 3.6 MB 2.9 MB/s | + | <b class=PipBAR> |
| - | Collecting | + | Collecting |
| - | Downloading | + | Downloading |
| - | |████████████████████████████████| 63 kB 1.2 MB/s | + | <b class=PipBAR> |
| - | Collecting pynacl> | + | Collecting pynacl> |
| - | Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) | + | Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) |
| - | |████████████████████████████████| 961 kB 2.4 MB/s | + | <b class=PipBAR> |
| - | Requirement already satisfied: six in ./pyJupyterLab/ | + | Requirement already satisfied: cffi>=1.12 in ./ |
| - | Requirement already satisfied: cffi>=1.1 in ./ | + | Requirement already satisfied: pycparser in ./ |
| - | Requirement already satisfied: pycparser in ./ | + | Installing collected packages: |
| - | Installing collected packages: pynacl, cryptography, bcrypt, pathlib2, paramiko, invoke, fabric | + | Successfully installed bcrypt-4.0.1 cryptography-40.0.1 fabric-3.0.0 invoke-2.0.0 paramiko-3.1.0 pynacl-1.5.0 |
| - | Successfully installed bcrypt-3.2.0 cryptography-36.0.0 fabric-2.6.0 invoke-1.6.0 paramiko-2.8.0 pathlib2-2.3.6 pynacl-1.4.0 | + | </ |
| - | </code></ | + | </ |
| + | |||
| + | <WRAP color_term> | ||
| + | <WRAP color_connamd>< | ||
| + | <b class=GRN> | ||
| + | </ | ||
| + | <WRAP color_result_long>< | ||
| + | Name: fabric | ||
| + | Version: 3.0.0 | ||
| + | Summary: High level SSH command execution | ||
| + | Home-page: https:// | ||
| + | Author: Jeff Forcier | ||
| + | Author-email: | ||
| + | License: BSD | ||
| + | Location: / | ||
| + | Requires: invoke, paramiko | ||
| + | Required-by: | ||
| + | --- | ||
| + | Name: invoke | ||
| + | Version: | ||
| + | Summary: Pythonic task execution | ||
| + | Home-page: https:// | ||
| + | Author: Jeff Forcier | ||
| + | Author-email: | ||
| + | License: BSD | ||
| + | Location: / | ||
| + | Requires: | ||
| + | Required-by: | ||
| + | --- | ||
| + | Name: paramiko | ||
| + | Version: 3.1.0 | ||
| + | Summary: SSH2 protocol library | ||
| + | Home-page: https:// | ||
| + | Author: Jeff Forcier | ||
| + | Author-email: | ||
| + | License: LGPL | ||
| + | Location: / | ||
| + | Requires: bcrypt, cryptography, | ||
| + | Required-by: | ||
| + | </ | ||
| </ | </ | ||
| ===== Windows ===== | ===== Windows ===== | ||
| - | < | + | <WRAP color_term> |
| + | <WRAP color_command> | ||
| > pip install fabric | > pip install fabric | ||
| - | </ | + | </ |
| - | < | + | <WRAP color_result> |
| - | < | + | |
| Collecting fabric | Collecting fabric | ||
| Downloading fabric-2.6.0-py2.py3-none-any.whl (53 kB) | Downloading fabric-2.6.0-py2.py3-none-any.whl (53 kB) | ||
| 行 83: | 行 124: | ||
| Installing collected packages: pycparser, six, cffi, pynacl, cryptography, | Installing collected packages: pycparser, six, cffi, pynacl, cryptography, | ||
| Successfully installed bcrypt-3.2.0 cffi-1.14.5 cryptography-3.4.7 fabric-2.6.0 invoke-1.5.0 paramiko-2.7.2 pathlib2-2.3.5 pycparser-2.20 pynacl-1.4.0 six-1.16.0 | Successfully installed bcrypt-3.2.0 cffi-1.14.5 cryptography-3.4.7 fabric-2.6.0 invoke-1.5.0 paramiko-2.7.2 pathlib2-2.3.5 pycparser-2.20 pynacl-1.4.0 six-1.16.0 | ||
| - | </ | + | </code></ |
| </ | </ | ||
| 行 153: | 行 194: | ||
| [[https:// | [[https:// | ||
| </ | </ | ||
| + | |||
| + | ===== タスク定義 ===== | ||
| + | [[https:// | ||
| ===== 参考文献 ===== | ===== 参考文献 ===== | ||
| - | [[https:// | + | [[https:// |
| - | [[qita>Esfahan/items/1e4bdf14b4a22263a1cf|fabric2のインストール手順と簡単な使い方 - Qiita]]\\ | + | [[https:// |
| + | |||
| + | ==== 付録 ==== | ||
| + | [[tw>tomoyan596sp/status/1642416698392449024|JupyterLab | ||