| Home | Trees | Indices | Help |
|
|---|
|
|
| Functions | |||
| list |
|
||
| number |
|
||
| dict |
|
||
| list |
|
||
| list |
|
||
| dict |
|
||
| Variables | |
__package__ = None
|
|
| Function Details |
Loads JSON formatted project data from a file and returns a list of all projects, sorted after number. load reads objects from a UTF-8 encoded JSON file, and returns a list of projects. On errors,
|
Retrieves the number of projects in a project list.
|
Fetches the project with the specified id from the specified list. If the specified project id does not exist,
|
Fetches and sorts projects matching criteria from the specified list.
|
Fetches a list of all the techniques from the specified project list in lexicographical order.
|
Collects and returns statistics for all techniques in the specified project list. The key of each entry in the returned dictionary is the technique name, and the value is a list of dictionaries for each of the projects using the technique. Each of those dictionaries representing a project has the keys:
An example is: >>> retrieve_technique_stats() { 'python': [{'id': 42, 'name': 'TDP003'}, {'id': 17, 'name': 'TDP002'}], 'c++': [{'id': 3, 'name': 'TDP005'}] }
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 31 13:21:37 2016 | http://epydoc.sourceforge.net |