50 Python common third-party modules and instructions

1. Module and description

  1. requests the HTTP protocol encapsulation height
  2. bs4 HTML parsing module
  3. the data is written MongoDB pymongo
  4. numpy support a large number of dimensions of the array and matrix operations, in addition, it provides a lot of math library for Array Operations
  5. A powerful set of tools pandas analysis of structured data
  6. scipy advanced scientific computing library. Including probability and statistics, signal, Fourier, etc.
  7. sympy symbolic computation library
  8. statsmodels statistics & measurement library
  9. PIL (Pillow) Image Processing Standard Library
  10. chardet string encoding library
  11. Jinja2 python-based template engine
  12. Flask written in Python using a lightweight Web application framework. WSGI toolkit that uses Werkzeug, template engine is used Jinja2
  13. Django Web application framework, an open source, written in Python. MTV using frame mode, i.e. the model M, T and Templates view V
  14. Tornado open source version for Web server software. Tornado and now the mainstream Web server framework (including most Python frameworks) there is a clear difference: it is non-blocking server, and a fairly rapid pace
  15. Python scripting interface application of PyQt5
  16. pyecharts chart for generating a library Echarts
  17. Pygame a module designed specifically for video games
  18. jieba Chinese word segmentation module
  19. matplotlib Python graphics library. It can be used with NumPy
  20. wordcloud word cloud generator
  21. Scrapy very powerful reptile framework to meet the simple page crawling
  22. Crawley high-speed crawling content corresponding to the site, supports relational and non-relational databases, data can be exported as JSON, XML, etc.
  23. Visualization Portia crawled web content
  24. newspaper extract news, articles and content analysis
  25. selenium call a browser driver, this library can be called directly by the browser to complete certain operations, such as input validation code
  26. cola distributed crawler frame
  27. dnspython DNS toolkit
  28. XIsxWriter operate Excel worksheet text, numbers, formulas, charts, and so on.
  29. smtplib send e-mail module
  30. pymysql operations MySQL database
  31. Third-party libraries NLTK a natural language processing, NLP conventional in the art, can be established bag of words model (word count), supports word frequency analysis (word occurrences), pattern recognition, correlation analysis, sentiment analysis (word frequency analysis + metrics), visualization | (+ matploylib do analysis chart), etc.
  32. SQL Alchemy-based object-relational mapping ORM design pattern is known, it can be mapped to tables in a database python class
  33. PonyORM ORM package, it can automatically query optimization, you can query the database by generating expressions of python
  34. statsmodels may be blended numpy, scipy, pandas completion signal processing, cointegration, filtering, spectral analysis, etc.
  35. lxm | xml and HTML parsing and reading
  36. win32com about the Windows operating system, Office (Word, Excel, etc.) to read and write files such as the comprehensive application library
  37. HappyBase HBase link library
  38. OpenCV image and video libraries work
  39. TimeSide audio analysis frame can be performed Python, imaging, transcoding, streaming and labeling process
  40. pydub sound files support multiple formats, it can be a variety of signal processing, signal generation, audio registration, processing mute
  41. TensorFlow Google's second-generation machine learning system, built-in depth study of extended support
  42. theano deep learning library. It is tightly integrated with Numpy, support for GPU computing, unit testing and self-validation
  43. keras a written in Python advanced neural network API, can run on TensorFlow or Theano, its developers focused on achieving rapid test
  44. Caffe a deep learning framework, mainly used in computer vision, image recognition classification has a good application effect
  45. IPython interactive shell Python-based, and easy to use than the default Python shell much support variable auto-completion, auto-indent, interactive help, magic commands, system commands, built a lot of features and useful functions
  46. PTVS Visual Studio tools in Python
  47. matpython MATLAB integration library
  48. PySpark Spark provides Python API
  49. Plotly Plotly graphics library may provide online interactive WEB, and provides graphics quality has published, support line, scatter, area, bar, error bars, a block diagram, a histogram, FIG heat subgraph, multiple axis, polar, bubble, roses, heat, funnel and other graphical
  50. sklearn implemented some machine learning algorithm

2. A method of third-party modules

2.1 upgrade pip

python -m pip install --upgrade pip  升级pip到最新的版本

2.2 Domestic use of mirrored servers

pip install --user -i http://pypi.douban.com/simple --trusted-host pypi.douban.com + 模块名
Released eight original articles · won praise 211 · views 10000 +

Guess you like

Origin blog.csdn.net/xw1680/article/details/104649392