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] |
def stats.extract_items | ( | s, | |
split = False |
|||
) |
def stats.get_code | ( | url | ) |
def stats.get_element | ( | doc, | |
name | |||
) |
def stats.get_text | ( | doc, | |
name | |||
) |
def stats.report | ( | name, | |
rdict | |||
) |
tuple stats::authors = collections.defaultdict(list) |
tuple stats::brief = description_xml.getAttribute('brief') |
tuple stats::briefs = collections.defaultdict(int) |
string stats::check_urls = '-web' |
tuple stats::description = get_text(manifest, 'description') |
tuple stats::description_xml = get_element(manifest, 'description') |
tuple stats::descriptions = collections.defaultdict(int) |
list stats::fields = ['name', 'description', 'brief', 'license', 'url', 'review', 'author'] |
stats::is_package = True |
tuple stats::lengths = collections.defaultdict(int) |
tuple stats::licenses = collections.defaultdict(int) |
tuple stats::manifest = xml.dom.minidom.parseString(manifest_xml) |
tuple stats::manifest_xml = open("%s/manifest.xml"%root, 'r') |
string stats::name = "Authors" |
dictionary stats::node = {'name': package} |
tuple stats::package = os.path.basename(root) |
list stats::packages = [] |
tuple stats::review = None |
tuple stats::review_xml = get_element(manifest, 'review') |
tuple stats::reviews = collections.defaultdict(int) |
list stats::stacks = [] |
tuple stats::urls = collections.defaultdict(int) |
tuple stats::val = d[field] |