This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This package contains the xfiles - Fabric extension. The module adds the support to work with XML files in Fabric.

Read the official documentation for installation, usage and examples:


Brief introduction for xfiles -extension usage:

  1. Create Fabric configuration file, for example with following contents:

    from fabric.api import env, run
    from fabric.contrib import xfiles
    def test():
      for elem in xfiles.query('~/document.xml', '/root/item[id=test*]'):
        # List all the elements having the attribute 'id'·
        # and it with value 'test', or something that starts with it
        print elem.text

    In this example, it is expected you have XML -document in your home directory (on remotehost -server), for example:

      <item id="foo">value1</item>
      <item id="testing">value2</item>
      <item id="test">value3</item>
  2. To see the outcome, run the command:

    fab --username hostaccount -H remotehost test

    Unless you have SSH private key provided for the remotehost, it’ll prompt for the password. After successful login, the XML file is read and text from all /root/item -elements is listed.


    If the host parameter is not provided, or it is localhost, no SSH connection is needed/created and the file path is expected to be found from local filesystem. For example, following query reads the XML from· same directory where the is:

    for elem in xfiles.query('test.xml', '/root/sub'):
      print elem

See more examples and detailed information from official documentation:

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fabric_contrib.xfiles-0.1.1-py2.6.egg (10.5 kB) Copy SHA256 Checksum SHA256 2.6 Egg Apr 28, 2010
fabric-contrib.xfiles-0.1.1.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source Apr 28, 2010

Supported By

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