程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Hematemesis collation -- a third-party library commonly used in Python -- a brief introduction to the library name

編輯:Python

python Common third party libraries —— Introduction to library name ( One )

python Common third party libraries —— Introduction to library name ( One )

  • python Common third party libraries —— Introduction to library name ( One )
  • Introduction to library name
      • Document processing

Introduction to library name

Chardet Character encoding detector , Can automatically detect text 、 Webpage 、xml The coding .

Prettytable It is mainly used to build formatted output on the terminal or browser side .

difflib,[Python] Standard library , Calculate text differences

Levenshtein, Fast calculation of string similarity .

fuzzywuzzy, String fuzzy matching .

esmre, Accelerator for regular expressions .

shortuuid, A set of concise URL/UUID function library .

ftfy,Unicode Text tools 7

unidecode,ascii and Unicode Text conversion function .

xpinyin, Function library for converting Chinese characters into Pinyin

pangu.py, Adjust the letters in Chinese, Japanese and Korean characters 、 Number spacing .

pyfiglet,Python Written figlet Program , Use characters to compose ASCII Art pictures

uniout, Extract the readable and writable characters in a string

awesome slugify, One Python slugify library , Used for processing Unicode.

python-slugify, transformation Unicode by ASCII Internal code slugify function library .

unicode-slugify, Generate unicode Internal code ,Django The dependency package of .

ply,Python Version of lex and yacc The parsing tool for

phonenumbers, Analyze the phone number , Format , Store and verify international phone numbers .

python-user-agents, User agent for browser (user-agents) The parser .

sqlparse,SQL Parser .

pygments, A general syntax highlighting tool .

python-nameparser, Analysis of names , Break down into separate components .

pyparsing, General parser generation framework .

tablib, Table data format , Include ,XLS、CSV,JSON,YAML.

python-docx,docx Document reading , Query and modify , Microsoft Word 2007 / 2008 Of docx file .

xlwt/xlrd, Reading and writing Excel Format data file .

xlsxwriter, establish Excel Format xlsx file .

xlwings, utilize Python call Excel

csvkit,CSV File Kit .

pdfminer, from PDF Extract information from files .

pypdf2, Merge and transform PDF The function library of the page .

Python-Markdown, Lightweight markup language Markdown Of Python Realization .

Mistune,, Fast 、 Full functional pure Python Compiling Markdown Interpreter .

dateutil, The standard Python official datetime The expansion package of the module , String date tool , among parser Is based on string parsing into datetime, and rrule Yes, it is generated according to the defined rules datetime.

arrow, Better date and time handling Python library

chronyk, One Python 3 Version of the library , Used to parse the time and date written by people .

delorean, Function library of clean-up period time .

when.py, The date and time of the meeting , Provide humanized functions .

moment, similar Moment.js Date / Time Python library

pytz, World time zone , Use tz database Time zone information [ database ]

BeautifulSoup, be based on Python Of HTML/XML Parser , Simple and easy to use , It's very powerful , Even if there is bug, There is a problem html Code , It can also be parsed

lxml, Fast , Easy to use 、 agile HTML and XML Processing library , Super function , In the face of defects 、 Irregular xml when ,Python Self contained xml The processor may not be able to parse . When reporting a mistake , The program will try to use it again lxml Analysis of the repair mode of .

htmlparser, Official version analysis HTML DOM Trees , Occasionally, it's useful to do command-line automatic form submission .

pyyaml,Python Version of YAML Interpreter .

html5lib,- Standard library , Parsing and serialization HTML Documents and fragments .

pyquery, similar [jQuery] Of course HTML Interpreter library .

cssutils,Python CSS library .

MarkupSafe,XML or HTML / XHTML Secure string marking tool .

cssutils - ACSS library for Python., MarkupSafe - Implements a XML/HTML/XHTML

bleach, bleach , be based on HTML Whitelist Library .

xmltodict, similar JSON Of XML tool kit .

xhtml2pdf,HTML / CSS Format converter , Look at the generation pdf file .

untangle, hold XML file , Convert to Python object , Easy access .

Document processing

Introduction to library name Mimetypes,Python Standard library , Map the file name to MIME type .

imghdr,Python Standard library , Determine the image type .python-magic,libmagic File type identification Library ,Python Interface format .path.py,os.path The second packaging of modules .

watchdog, A group of API and shell Utilities , Used to monitor file system events .

Unipath, Object oriented files / Directory operation Kit .pathlib,-(Python 3.4 Version has been used as Python Standard library ), A cross platform , oriented path Function library .

pickle/cPickle,python Of pickle The module implements the basic data sequence and deserialization . adopt pickle Module serialization operation we can save the object information running in the program to a file , Permanent storage ; adopt pickle Deserialization of modules , We were able to create objects from the file that were last saved by the program .

cPickle yes [C Language ] Implemented version , Faster .

ConfigParser,Python Standard library ,INI File parser .

configobj,INI File parser .config, Hierarchical configuration ,logging The author wrote .

profig, Multi format configuration conversion tool .

logging,Python Standard library , Log file generation management function library .

logbook,logging A replacement for .

Sentry, real time log The server .Raven, sentry Sentry Of Python client .

Sphinx, Sphinx ( The sphinx ),Python Document generator .

reStructuredText, Tag syntax and parsing tools ,Docutils Components .mkdocs,Markdown Document format generator .

pycco, Simple and fast 、 Programming style document generator .

pdoc, Automatically generated Python library API file epydoc, Tools for generating documents in various formats from source code comments


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved