両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
python:fabric [2023/04/01 13:58] – [Linux] ともやん | python:fabric [2023/05/07 20:17] (現在) – [Fabric - シンプルな Pythonic リモート実行とデプロイメント] ともやん |
---|
is licensed under | is licensed under |
<a href="https://creativecommons.org/licenses/by/2.0/?ref=ccsearch&atype=html" style="margin-right: 5px;">CC BY 2.0</a> | <a href="https://creativecommons.org/licenses/by/2.0/?ref=ccsearch&atype=html" style="margin-right: 5px;">CC BY 2.0</a> |
<a href="https://creativecommons.org/licenses/by/2.0/?ref=ccsearch&atype=html" target="_blank" rel="noopener noreferrer" style="display: inline-block;white-space: none;margin-top: 2px;margin-left: 3px;height: 22px !important;"><img style="height: inherit;margin-right: 3px;display: inline-block;" src="https://search.creativecommons.org/static/img/cc_icon.svg?image_id=fa43397b-0df5-4945-8ef6-d23fbdd0a832" /><img style="height: inherit;margin-right: 3px;display: inline-block;" src="https://search.creativecommons.org/static/img/cc-by_icon.svg" /> | |
</a></span> | </a></span> |
</html>\\ | </html>\\ |
ファブリック(fabric) はファブリーズ(febreze) ではないイメージです🤤\\ | ファブリック(fabric) とファブリーズ(febreze) は関係ないです🤤\\ |
爽やかなお兄さんがファブ(fab)っていますけど...😅💦💦💦\\ | 爽やかなお兄さんがファブ(fab)っていますけど...🤔\\ |
| |
本家: [[https://www.fabfile.org/|Welcome to Fabric! — Fabric documentation]]\\ | 本家: [[https://www.fabfile.org|Welcome to Fabric! — Fabric documentation - fabfile.org]] [[gtr>https://www.fabfile.org|翻訳]]\\ |
ソースコード: [[git>fabric/fabric|fabric/fabric: Simple, Pythonic remote execution and deployment.]]\\ | ソースコード: [[git>fabric/fabric|fabric/fabric: Simple, Pythonic remote execution and deployment.]]\\ |
| 関連: [[https://www.pyinvoke.org|Welcome to Invoke! — Invoke documentation - pyinvoke.org]] [[gtr>https://www.pyinvoke.org|翻訳]]\\ |
| [[https://www.paramiko.org/|Welcome to Paramiko! — Paramiko documentation]] [[gtr>https://www.paramiko.org/|翻訳]]\\ |
| ドキュメント: [[https://docs.pyinvoke.org|Welcome to Invoke’s documentation! — Invoke documentation]] [[gtr>https://docs.pyinvoke.org|翻訳]]\\ |
| ソースコード: [[git>pyinvoke/invoke|pyinvoke/invoke: Pythonic task management & command execution.]]\\ |
| [[git>paramiko/paramiko|GitHub - paramiko/paramiko: The leading native Python SSHv2 protocol library.]]\\ |
| |
===== Linux ===== | ===== Linux ===== |
Installing collected packages: invoke, bcrypt, pynacl, cryptography, paramiko, fabric | Installing collected packages: invoke, bcrypt, pynacl, cryptography, paramiko, 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-4.0.1 cryptography-40.0.1 fabric-3.0.0 invoke-2.0.0 paramiko-3.1.0 pynacl-1.5.0 |
| </pre></html></WRAP> |
| </WRAP> |
| |
| <WRAP color_term> |
| <WRAP color_connamd><html><pre> |
| <b class=GRN>$</b> <b class=HIY>pip</b> show {fabric,invoke,paramiko} |
| </pre></html></WRAP> |
| <WRAP color_result_long><html><pre> |
| Name: fabric |
| Version: 3.0.0 |
| Summary: High level SSH command execution |
| Home-page: https://fabfile.org |
| Author: Jeff Forcier |
| Author-email: jeff@bitprophet.org |
| License: BSD |
| Location: /home/tomoyan/pyJupyterLab/lib64/python3.11/site-packages |
| Requires: invoke, paramiko |
| Required-by: |
| --- |
| Name: invoke |
| Version: 2.0.0 |
| Summary: Pythonic task execution |
| Home-page: https://pyinvoke.org |
| Author: Jeff Forcier |
| Author-email: jeff@bitprophet.org |
| License: BSD |
| Location: /home/tomoyan/pyJupyterLab/lib64/python3.11/site-packages |
| Requires: |
| Required-by: fabric |
| --- |
| Name: paramiko |
| Version: 3.1.0 |
| Summary: SSH2 protocol library |
| Home-page: https://paramiko.org |
| Author: Jeff Forcier |
| Author-email: jeff@bitprophet.org |
| License: LGPL |
| Location: /home/tomoyan/pyJupyterLab/lib64/python3.11/site-packages |
| Requires: bcrypt, cryptography, pynacl |
| Required-by: fabric |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
===== Windows ===== | ===== Windows ===== |
<code> | <WRAP color_term> |
| <WRAP color_command><code> |
> pip install fabric | > pip install fabric |
</code> | </code></WRAP> |
<WRAP prewrap 100% #result_long> | <WRAP color_result><code> |
<code> | |
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) |
Installing collected packages: pycparser, six, cffi, pynacl, cryptography, bcrypt, pathlib2, paramiko, invoke, fabric | Installing collected packages: pycparser, six, cffi, pynacl, cryptography, bcrypt, pathlib2, paramiko, invoke, fabric |
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> | </code></WRAP> |
</WRAP> | </WRAP> |
| |
[[https://www.pyinvoke.org/faq.html|Frequently asked questions — Invoke documentation]] より\\ | [[https://www.pyinvoke.org/faq.html|Frequently asked questions — Invoke documentation]] より\\ |
</note> | </note> |
| |
| ===== タスク定義 ===== |
| [[https://docs.fabfile.org/en/1.12.1/usage/tasks.html|Defining tasks — Fabric documentation]] ([[gtr>https://docs.fabfile.org/en/1.12.1/usage/tasks.html|翻訳]])\\ |
| |
===== 参考文献 ===== | ===== 参考文献 ===== |
[[https://fabric-ja.readthedocs.io/ja/latest/index.html|Fabricのドキュメントへようこそ ! — Fabric ドキュメント]] (1.10.1 日本語訳)\\ | [[https://fabric-ja.readthedocs.io/ja/latest/index.html|Fabricのドキュメントへようこそ ! — Fabric ドキュメント]] (1.10.1 日本語訳 古い)\\ |
[[qita>Esfahan/items/1e4bdf14b4a22263a1cf|fabric2のインストール手順と簡単な使い方 - Qiita]]\\ | [[https://fabric-ja.readthedocs.io/ja/latest/usage/interactivity.html|リモートプログラムとのやりとり — Fabric ドキュメント]]\\ |
| |
| ==== 付録 ==== |
| [[tw>tomoyan596sp/status/1642416698392449024|JupyterLab の Notebook で自動インストールを始めた🤤Python の Invoke Responder で、入力に自動応答できるけど英語文献しか出てこないようだ🤔Automatically responding to program output — Invoke documentation]]\\ |
| |