fabricator

Multi user configuration and default fabric targets
Download

fabricator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • SevenQuark
  • Publisher web site:
  • https://github.com/SevenQuark/

fabricator Tags


fabricator Description

fabricator is a Python module that provides to your Python project default fabric targets and multi user configuration.Installation1. pip install fabricator2. Add to tou fabfile.py: from fabricator.config import fill_fabric_env from config import settings # You config file fill_fabric_env(settings) from fabricator.targets import *Config format examplessetting.py:developer1 = dict( project='.',)developer2 = dict( ssh_host='10.10.10.2', ssh_user='vagrant', ssh_key='vagrant', project='/home/vagrant/project',)staging = dict( ssh_host='10.10.10.2', ssh_user='user', ssh_key='pass', project='/home/user/project',)production = dict( ssh_host='10.10.10.2', ssh_user='user', ssh_key='pass', project='/home/user/project',)Config name resolve by hostname.UsingDefault targets:- sh- vsh- pull- push- update- requirements- init- testsProduct's homepage


fabricator Related Software