Namespaces | Functions | Variables
stats.py File Reference

Go to the source code of this file.

Namespaces

 stats
 

Functions

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)
 

Variables

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


manifest_cleaner
Author(s): David V. Lu!!
autogenerated on Mon Jun 10 2019 15:48:50