<h1><a href="https://pyinfra.readthedocs.io"><img src="docs/static/logo_full.png" height="48px" /></a></h1>
[![PyPI version](https://badge.fury.io/py/pyinfra.svg)](https://pypi.python.org/pypi/pyinfra) [![Travis.CI status](https://travis-ci.org/Fizzadar/pyinfra.svg?branch=develop)](https://travis-ci.org/Fizzadar/pyinfra)
pyinfra is designed to automate/provision/manage/deploy servers at scale.
It can be used for ad-hoc command execution, service deployment, configuration management; you could say that pyinfra is like a combination of Ansible + Fabric. It is asynchronous, highly performant and can target thousands of hosts in parallel. It is entirely configured in Python, allowing for near-infinite extendability out of the box.
+ [Getting started](https://pyinfra.readthedocs.org/page/getting_started.html)
+ [Documentation](https://pyinfra.readthedocs.org)
+ [Example deploy](example)
+ [API Example](https://pyinfra.readthedocs.org/page/api/example.html)
+ [How the deploy works](https://pyinfra.readthedocs.org/page/deploy_process.html)
When you run pyinfra you'll see something like:
![](docs/example_deploy.png)
## Design Features
pyinfra was designed to deploy things in a consistent, debuggable and maintainable manner. Notable design decisions:
+ properly agentless - even Python isn't required on the remote side (just a shell!)
+ always print raw stderr on operation failure for _instant_ debugging
+ `-v` means print out remote stdout & stderr in realtime
+ outputs shell commands and files to upload
+ two-step deploy that enables dry-runs
+ fail fast where possible (eg touching a directory)
+ uses pure, 100% Python for the inventory and deploy scripts
* with operations/hooks to safely use Python mid-deploy
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共99个文件
py:90个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:pyinfra-0.9.7.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
pyinfra-0.9.7.tar.gz (99个子文件)
pyinfra-0.9.7
PKG-INFO 725B
pyinfra_cli
main.py 14KB
virtualenv.py 2KB
prints.py 8KB
inventory
ansible.py 2KB
__init__.py 6KB
legacy.py 7KB
util.py 5KB
__main__.py 1KB
__init__.py 283B
log.py 2KB
config.py 2KB
exceptions.py 2KB
tests
test_facts.py 2KB
util.py 6KB
__init__.py 141B
test_api.py 17KB
paramiko_util.py 2KB
test_modules.py 4KB
test_cli.py 8KB
setup.cfg 251B
setup.py 2KB
pyinfra.egg-info
PKG-INFO 725B
requires.txt 441B
SOURCES.txt 2KB
entry_points.txt 66B
top_level.txt 20B
dependency_links.txt 1B
README.md 2KB
pyinfra
hook.py 994B
local.py 4KB
api
connect.py 1KB
operations.py 12KB
deploy.py 3KB
connectors
local.py 4KB
docker.py 3KB
ssh.py 11KB
__init__.py 437B
sshuserclient
client.py 4KB
__init__.py 30B
config.py 3KB
vagrant.py 4KB
util.py 14KB
facts.py 7KB
operation.py 11KB
state.py 13KB
__init__.py 440B
config.py 2KB
host.py 3KB
exceptions.py 874B
inventory.py 10KB
__init__.py 426B
progress.py 4KB
facts
pip.py 608B
server.py 9KB
git.py 687B
yum.py 1KB
mysql.py 5KB
init.py 4KB
npm.py 799B
apt.py 2KB
vzctl.py 682B
pkg.py 506B
postgresql.py 4KB
__init__.py 413B
hardware.py 1KB
gem.py 516B
util
databases.py 759B
packaging.py 497B
__init__.py 0B
files.py 2KB
iptables.py 3KB
devices.py 4KB
lxd.py 376B
files.py 3KB
pseudo_modules.py 2KB
version.py 81B
modules
pip.py 3KB
server.py 13KB
python.py 2KB
puppet.py 379B
git.py 5KB
yum.py 5KB
ssh.py 4KB
mysql.py 10KB
init.py 11KB
npm.py 1KB
apt.py 8KB
vzctl.py 3KB
pkg.py 1KB
postgresql.py 8KB
__init__.py 414B
gem.py 822B
util
packaging.py 4KB
__init__.py 0B
files.py 1KB
iptables.py 8KB
lxd.py 1KB
files.py 20KB
共 99 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功