Functions | Variables
stats Namespace Reference

Functions

def extract_items
def get_code
def get_element
def get_text
def report

Variables

tuple a = a.encode('ascii', 'replace')
tuple author = get_text(manifest, 'author')
tuple authors = collections.defaultdict(list)
tuple b = b.encode('ascii', 'replace')
tuple brief = description_xml.getAttribute('brief')
tuple briefs = collections.defaultdict(int)
string check_urls = '-web'
tuple description = get_text(manifest, 'description')
tuple description_xml = get_element(manifest, 'description')
tuple descriptions = collections.defaultdict(int)
list fields = ['name', 'description', 'brief', 'license', 'url', 'review', 'author']
 is_package = True
tuple lengths = collections.defaultdict(int)
tuple license = get_text(manifest, 'license')
tuple licenses = collections.defaultdict(int)
tuple manifest = xml.dom.minidom.parseString(manifest_xml)
tuple manifest_xml = open("%s/manifest.xml"%root, 'r')
list n = lengths[field]
string name = "Authors"
dictionary node = {'name': package}
tuple package = os.path.basename(root)
list packages = []
 review = None
tuple review_xml = get_element(manifest, 'review')
tuple reviews = collections.defaultdict(int)
list stacks = []
tuple url = get_text(manifest, 'url')
tuple urls = collections.defaultdict(int)
list val = d[field]

Function Documentation

def stats.extract_items (   s,
  split = False 
)

Definition at line 45 of file stats.py.

def stats.get_code (   url)

Definition at line 14 of file stats.py.

def stats.get_element (   doc,
  name 
)

Definition at line 25 of file stats.py.

def stats.get_text (   doc,
  name 
)

Definition at line 32 of file stats.py.

def stats.report (   name,
  rdict 
)

Definition at line 38 of file stats.py.


Variable Documentation

tuple stats::a = a.encode('ascii', 'replace')

Definition at line 201 of file stats.py.

Definition at line 98 of file stats.py.

tuple stats::authors = collections.defaultdict(list)

Definition at line 60 of file stats.py.

tuple stats::b = b.encode('ascii', 'replace')

Definition at line 147 of file stats.py.

tuple stats::brief = description_xml.getAttribute('brief')

Definition at line 109 of file stats.py.

tuple stats::briefs = collections.defaultdict(int)

Definition at line 62 of file stats.py.

string stats::check_urls = '-web'

Definition at line 75 of file stats.py.

Definition at line 108 of file stats.py.

Definition at line 103 of file stats.py.

tuple stats::descriptions = collections.defaultdict(int)

Definition at line 61 of file stats.py.

list stats::fields = ['name', 'description', 'brief', 'license', 'url', 'review', 'author']

Definition at line 153 of file stats.py.

Definition at line 79 of file stats.py.

tuple stats::lengths = collections.defaultdict(int)

Definition at line 143 of file stats.py.

Definition at line 124 of file stats.py.

tuple stats::licenses = collections.defaultdict(int)

Definition at line 64 of file stats.py.

tuple stats::manifest = xml.dom.minidom.parseString(manifest_xml)

Definition at line 92 of file stats.py.

tuple stats::manifest_xml = open("%s/manifest.xml"%root, 'r')

Definition at line 87 of file stats.py.

list stats::n = lengths[field]

Definition at line 185 of file stats.py.

string stats::name = "Authors"

Definition at line 198 of file stats.py.

dictionary stats::node = {'name': package}

Definition at line 96 of file stats.py.

tuple stats::package = os.path.basename(root)

Definition at line 85 of file stats.py.

list stats::packages = []

Definition at line 66 of file stats.py.

tuple stats::review = None

Definition at line 118 of file stats.py.

Definition at line 116 of file stats.py.

tuple stats::reviews = collections.defaultdict(int)

Definition at line 63 of file stats.py.

list stats::stacks = []

Definition at line 67 of file stats.py.

Definition at line 129 of file stats.py.

tuple stats::urls = collections.defaultdict(int)

Definition at line 65 of file stats.py.

tuple stats::val = d[field]

Definition at line 181 of file stats.py.



manifest_cleaner
Author(s): David V. Lu!!
autogenerated on Wed Aug 26 2015 16:47:34