Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A collection of fabric tasks for package management

Project Description

# fabric-package-management

As the name implies, fabric-package-management is a collection of [Fabric](http://www.fabfile.org/)
tasks for package management. There's nothing too fancy going on here. It's aim is to simply not
have to copy and paste similar convenience functions into many a Fabfile.

[![Build Status](https://travis-ci.org/andrewsomething/fabric-package-management.svg?branch=master)](https://travis-ci.org/andrewsomething/fabric-package-management) [![docs](https://readthedocs.org/projects/fabric-package-management/badge/?version=latest)](http://fabric-package-management.readthedocs.io/en/latest/) [![codecov](https://codecov.io/gh/andrewsomething/fabric-package-management/branch/master/graph/badge.svg)](https://codecov.io/gh/andrewsomething/fabric-package-management) [![PyPI](https://img.shields.io/pypi/v/nine.svg)](https://pypi.python.org/pypi/fabric-package-management)


## Example:

```py
#!/usr/bin/python

from fabric.api import task, prompt, env
from fabric.context_managers import cd
from fabric.operations import reboot

from fabric_package_managment import apt

@task()
def run():
apt.update()
apt.upgrade()
apt.install(['bpython', 'git'])
with cd('/tmp'):
apt.source("python-libcloud", download_only=True)
apt.remove('bpython', purge=True)
apt.autoremove()
apt.autoclean()
if apt.reboot_required():
prompt("Reboot required. Initiate now?\nYes/No?",
"response",
default="No",
validate=r'yes|Yes|YES|no|No|NO')
if env.response.lower() == "yes":
reboot()
```


Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
fabric_package_management-0.1.2-py2-none-any.whl
(7.5 kB) Copy SHA256 Hash SHA256
Wheel py2 Jun 30, 2017
fabric_package_management-0.1.2-py2.py3-none-any.whl
(7.5 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jun 30, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting