Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2""" 

3@file 

4@brief Defines different a set of usual modules for Python. 

5""" 

6import sys 

7 

8 

9def pyquickhelper_set(): 

10 """ 

11 list of modules needed to run unit test of module *pyquickhelper* 

12 """ 

13 names = [ 

14 "alabaster", 

15 "asn1crypto", 

16 "astroid", 

17 "attrs", 

18 "autopep8", 

19 "babel", 

20 'backcall', 

21 "backports_abc", 

22 "backports.shutil-get-terminal-size", 

23 "bleach", 

24 "blockdiag", 

25 "bottleneck", 

26 "brewer2mpl", 

27 "cairocffi", 

28 "cairosvg", 

29 "certifi", 

30 "cffi", 

31 "chardet", 

32 "codecov", 

33 "colorama", 

34 "coverage", 

35 "cryptography", 

36 "cssselect2", 

37 "Cython", 

38 "cycler", 

39 "DataProperty", 

40 "decorator", 

41 "defusedxml", # cairosvg 

42 "docformatter", 

43 "docutils", 

44 "entrypoints", 

45 "et_xmlfile", 

46 "filelock", 

47 "funcparserlib", 

48 "git-pandas", 

49 "gitdb2", 

50 "gitpython", 

51 "html5lib", 

52 "idna", 

53 "imagesize", 

54 "importlib_metadata", 

55 "ipython", 

56 "ipykernel", 

57 "ipympl", 

58 "ipyparallel", 

59 "ipystata" if sys.version_info[0] == 2 else None, 

60 "ipython_genutils", 

61 "ipywidgets", 

62 "isort", 

63 "jdcal", 

64 "jedi", 

65 "jeepney", 

66 "jinja2", 

67 "jsonschema", 

68 "jupyter-console", 

69 "jupyter", 

70 "jupyterlab_pygments", 

71 "jupyter_core", 

72 "jupyter_client", 

73 "jupyter-pip", 

74 "jupyter_sphinx", 

75 "jyquickhelper", 

76 "keyring", 

77 "kiwisolver", 

78 "lazy_object_proxy", 

79 "logbook", 

80 "lxml", 

81 "matplotlib", 

82 "mbstrdecoder", 

83 "metakernel", 

84 # "micropython-libc" if not sys.platform.startswith("win") else None, 

85 # "micropython-ffilib" if not sys.platform.startswith( 

86 # "win") else None, 

87 # "micropython-fcntl" if not sys.platform.startswith( 

88 # "win") else None, 

89 'markupsafe', 

90 "mccabe", 

91 "mistune", 

92 "multi_key_dict", 

93 "nbformat", 

94 "nbconvert", 

95 "nose", 

96 "notebook", 

97 "notedown", 

98 "numpy", 

99 "olefile", 

100 "openpyxl", 

101 "path.py", 

102 "packaging", 

103 "pandas", 

104 "pandoc-attributes", 

105 "pandocfilters", 

106 "parso", 

107 "pathvalidate", 

108 "patsy", 

109 "pbr", 

110 "pep8", 

111 "pexpect", 

112 "pickleshare", 

113 "Pillow", 

114 "pipdeptree", 

115 "portalocker", 

116 "prometheus_client", 

117 "prompt_toolkit", 

118 "psutil", 

119 "ptyprocess", 

120 "pycodestyle", 

121 "pycparser", 

122 "pygments", 

123 "pylint", 

124 "pyparsing", 

125 'pypiserver', 

126 'pyrsistent', 

127 "python-dateutil", 

128 "python-jenkins", 

129 "pytz", 

130 "pywin32" if sys.platform.startswith("win") else None, 

131 "pywin32-ctypes" if sys.platform.startswith("win") else None, 

132 'pywinpty' if sys.platform.startswith("win") else None, 

133 "pyzmq", 

134 "qtconsole", 

135 "requests", 

136 "secretstorage", 

137 "semantic_version", 

138 "simplegeneric", 

139 "Send2Trash", 

140 "six", 

141 "smmap2", 

142 'snowballstemmer', 

143 "sphinx", 

144 "sphinx_gallery", 

145 'sphinxcontrib-applehelp', 

146 'sphinxcontrib-devhelp', 

147 "sphinxcontrib-blockdiag", 

148 'sphinxcontrib-htmlhelp', 

149 'sphinxcontrib-imagesvg', 

150 'sphinxcontrib-jsdemo', 

151 'sphinxcontrib-jsmath', 

152 'sphinxcontrib-qthelp', 

153 'sphinxcontrib-serializinghtml', 

154 'sphinxcontrib-websupport', 

155 'sphinx-rtd-theme', 

156 "tabledata", 

157 'tabulate', 

158 "terminado", 

159 "testpath", 

160 "tinycss2", 

161 "tornado", 

162 'tqdm', 

163 "traitlets", 

164 "typepy", 

165 "typed_ast", 

166 "unify", 

167 "untokenize", 

168 "urllib3", 

169 "virtualenv", 

170 "xlrd", 

171 "xlsxwriter", 

172 "xlwt", 

173 "wcwidth", 

174 "webcolors", 

175 "webencodings", 

176 "wheel", 

177 "widgetsnbextension", 

178 "wild_sphinx_theme", 

179 "win_unicode_console", 

180 "winrandom" if sys.platform.startswith("win") else None, 

181 "winshell" if sys.platform.startswith("win") else None, 

182 "wrapt", # astroid 

183 "zipp", 

184 ] 

185 

186 from .automate_install import find_module_install 

187 return [find_module_install(_) for _ in names if _ is not None]