projectreport.analyzer.ts package

Submodules

projectreport.analyzer.ts.base module

class projectreport.analyzer.ts.base.TimeSeriesAnalysis[source]

Bases: object

analysis_attrs: Sequence[str] = ()
property analysis_items: List[Any]
Return type:

List[Any]

property count_functions: Dict[str, Callable]
Return type:

Dict[str, Callable]

property event_functions: Dict[str, Callable]
Return type:

Dict[str, Callable]

get_counts(item, freq, **kwargs)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

get_event_data(item, **kwargs)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

property supported_items: List[str]
Return type:

List[str]

projectreport.analyzer.ts.github module

class projectreport.analyzer.ts.github.GithubAnalysis(repo, auto_throttle=True)[source]

Bases: TimeSeriesAnalysis

__init__(repo, auto_throttle=True)[source]
analysis_attrs: Sequence[str] = ['repo']
property count_functions: Dict[str, Callable[[List[Dict[str, Optional[Union[str, int, float, datetime]]]], str], List[Dict[str, Optional[Union[str, int, float, datetime]]]]]]
Return type:

Dict[str, Callable[[List[Dict[str, Union[str, int, float, datetime, None]]], str], List[Dict[str, Union[str, int, float, datetime, None]]]]]

property event_functions: Dict[str, Callable[[Repository], List[Dict[str, Optional[Union[str, int, float, datetime]]]]]]
Return type:

Dict[str, Callable[[Repository], List[Dict[str, Union[str, int, float, datetime, None]]]]]

projectreport.analyzer.ts.github.commit_loc_counts_from_commit_events(commits, freq='d')[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.commit_stats_from_repo(repo, author_stats=True)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.issue_counts_from_issue_events(issues, freq='d')[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.issue_stats_from_repo(repo)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.release_counts_from_release_events(releases, freq='d', date_var='published_at')[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.releases_from_repo(repo)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.star_counts_from_star_events(stars, freq='d')[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.github.stars_from_repo(repo)[source]
Return type:

List[Dict[str, Union[str, int, float, datetime, None]]]

projectreport.analyzer.ts.types module