projectreport.analyzer.parsers.python package¶ Submodules¶ projectreport.analyzer.parsers.python.base module¶ class projectreport.analyzer.parsers.python.base.PythonParser(path)[source]¶ Bases: SingleFileParser parsed()¶ projectreport.analyzer.parsers.python.classifier_topics module¶ projectreport.analyzer.parsers.python.classifier_topics.get_topics_from_classifiers(classifiers)[source]¶ Parses classifiers of the format Topic :: Internet :: WWW/HTTP :: WSGI :: Application into e.g. [“Internet”, “WWW/HTTP”, “WSGI”, “Application”] Return type: List[str] projectreport.analyzer.parsers.python.classifier_topics.get_topics_from_classifiers_str(classifiers)[source]¶ Parses classifiers of the format Topic :: Internet :: WWW/HTTP :: WSGI :: Application into e.g. [“Internet”, “WWW/HTTP”, “WSGI”, “Application”] Return type: List[str] projectreport.analyzer.parsers.python.init module¶ class projectreport.analyzer.parsers.python.init.PythonInitParser(path)[source]¶ Bases: PythonParser docstring()¶ Return type: Optional[str] classmethod matches_path(path)[source]¶ Return type: bool topics()¶ Return type: Optional[List[str]] version()¶ Return type: Optional[Version] projectreport.analyzer.parsers.python.setup_cfg module¶ class projectreport.analyzer.parsers.python.setup_cfg.PythonSetupCfgParser(path)[source]¶ Bases: Parser data_type: ClassVar[ParserDataType]¶ docstring()¶ Return type: Optional[str] classmethod matches_path(path)[source]¶ Return type: bool parsed()¶ Return type: Optional[ConfigParser] topics()¶ Return type: Optional[List[str]] version()¶ Return type: Optional[Version] projectreport.analyzer.parsers.python.setup_py module¶ class projectreport.analyzer.parsers.python.setup_py.PythonSetupPyParser(path)[source]¶ Bases: PythonParser docstring()¶ Return type: Optional[str] classmethod matches_path(path)[source]¶ Return type: bool topics()¶ Return type: Optional[List[str]] version()¶ Return type: Optional[Version]