1
markitdown
Markdown
170,535
2026-07-29
Markdown
File Format Processing
Text & Documents
→
Python tool for converting files and office documents to Markdown.
2
difflib
General
73,994
2026-07-31
General
Text Processing
Text & Documents
Built-in
→
(Python standard library) Helpers for computing deltas.
3
mimetypes
Text & Documents
73,994
2026-07-31
File Manipulation
Text & Documents
Built-in
→
(Python standard library) Map filenames to MIME types.
4
pathlib
Text & Documents
73,994
2026-07-31
File Manipulation
Text & Documents
Built-in
→
(Python standard library) A cross-platform, object-oriented path library.
5
tomllib
Data Formats
73,994
2026-07-31
Data Formats
File Format Processing
Text & Documents
Built-in
→
(Python standard library) Parse TOML files.
6
docling
General
64,076
2026-07-31
General
File Format Processing
Text & Documents
→
Library for converting documents into structured data.
7
pypdf
PDF
10,138
2026-07-30
PDF
File Format Processing
Text & Documents
→
A library capable of splitting, merging, cropping, and transforming PDF pages.
8
weasyprint
PDF
9,453
2026-07-29
PDF
File Format Processing
Text & Documents
→
A visual rendering engine for HTML and CSS that can export to PDF.
9
xberg
General
8,724
2026-07-31
General
File Format Processing
Text & Documents
→
High-performance document intelligence library with a Rust core, extracting text, tables, and metadata from 97+ formats including PDF, Office, images (with OCR), HTML, email, and archives.
10
watchdog
Text & Documents
7,388
2026-07-30
File Manipulation
Text & Documents
→
API and shell utilities to monitor file system events.
11
pdfminer.six
PDF
7,012
2026-03-13
PDF
File Format Processing
Text & Documents
→
Pdfminer.six is a community maintained fork of the original PDFMiner.
12
csvkit
Data Formats
6,404
2026-07-30
Data Formats
File Format Processing
Text & Documents
→
Utilities for converting to and working with CSV.
13
xmltodict
Text & Documents
5,746
2026-06-15
HTML Manipulation
Text & Documents
→
Working with XML feel like you are working with JSON.
14
python-docx
MS Office
5,689
2025-06-16
MS Office
File Format Processing
Text & Documents
→
Reads, queries and modifies Microsoft Word 2007/2008 docx files.
15
pypinyin
General
5,342
2026-04-19
General
Text Processing
Text & Documents
→
Convert Chinese hanzi (æ¼¢å—) to pinyin (拼音).
16
tablib
General
4,755
2026-07-31
General
File Format Processing
Text & Documents
→
A module for Tabular Datasets in XLS, CSV, JSON, YAML.
17
markdown
Markdown
4,228
2026-07-30
Markdown
File Format Processing
Text & Documents
→
A Python implementation of John Gruber’s Markdown.
18
ftfy
General
4,052
2024-10-30
General
Text Processing
Text & Documents
→
Makes Unicode text less broken and more consistent automagically.
19
sqlparse
Parser
4,009
2026-07-27
Parser
Text Processing
Text & Documents
→
A non-validating SQL parser.
20
xlsxwriter
MS Office
3,961
2026-07-02
MS Office
File Format Processing
Text & Documents
→
A Python module for creating Excel .xlsx files.
21
python-phonenumbers
Parser
3,763
2026-07-26
Parser
Text Processing
Text & Documents
→
Parsing, formatting, storing and validating international phone numbers.
22
textdistance
General
3,536
2025-04-18
General
Text Processing
Text & Documents
→
Compute distance between sequences with 30+ algorithms.
23
python-pptx
MS Office
3,472
2024-08-07
MS Office
File Format Processing
Text & Documents
→
Python library for creating and updating PowerPoint (.pptx) files.
24
xlwings
MS Office
3,390
2026-07-31
MS Office
File Format Processing
Text & Documents
→
A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
25
mistune
Markdown
3,057
2026-07-25
Markdown
File Format Processing
Text & Documents
→
Fastest and full featured pure Python parsers of Markdown.
26
lxml
Text & Documents
3,044
2026-07-20
HTML Manipulation
Text & Documents
→
A very fast, easy-to-use and versatile library for handling HTML and XML.
27
pyyaml
Data Formats
2,925
2026-06-17
Data Formats
File Format Processing
Text & Documents
→
YAML implementations for Python.
28
python-magic
Text & Documents
2,913
2026-07-20
File Manipulation
Text & Documents
→
A Python interface to the libmagic file type identification library.
29
pikepdf
PDF
2,770
2026-07-31
PDF
File Format Processing
Text & Documents
→
A powerful library for reading and editing PDF files, based on qpdf.
30
docxtpl
MS Office
2,682
2026-07-07
MS Office
File Format Processing
Text & Documents
→
Editing a docx document by jinja2 template
31
chardet
General
2,650
2026-07-31
General
Text Processing
Text & Documents
→
Python character encoding detector.
32
watchfiles
Text & Documents
2,517
2026-06-13
File Manipulation
Text & Documents
→
Simple, modern and fast file watching and code reload in python.
33
pyparsing
Parser
2,478
2026-07-19
Parser
Text Processing
Text & Documents
→
A general purpose framework for generating parsers.
34
pyquery
Text & Documents
2,381
2026-07-27
HTML Manipulation
Text & Documents
→
A jQuery-like library for parsing HTML.
35
pyelftools
General
2,270
2026-07-30
General
File Format Processing
Text & Documents
→
Parsing and analyzing ELF files and DWARF debugging information.
36
pygments
Parser
2,196
2026-07-28
Parser
Text Processing
Text & Documents
→
A generic syntax highlighter.
37
shortuuid
Unique identifiers
2,193
2026-06-20
Unique identifiers
Text Processing
Text & Documents
→
A generator library for concise, unambiguous and URL-safe UUIDs.
38
python-slugify
General
1,622
2026-01-07
General
Text Processing
Text & Documents
→
A Python slugify library that translates unicode to ASCII.
39
pyfiglet
General
1,579
2026-07-04
General
Text Processing
Text & Documents
→
An implementation of figlet written in Python.
40
python-user-agents
Parser
1,515
2023-02-16
Parser
Text Processing
Text & Documents
→
Browser user agent parser.
41
babel
General
1,459
2026-07-31
General
Text Processing
Text & Documents
→
An internationalization library for Python.
42
markdown-it-py
Markdown
1,347
2026-07-08
Markdown
File Format Processing
Text & Documents
→
Markdown parser with 100% CommonMark support, extensions, and syntax plugins.
43
pyexcel
MS Office
1,291
2026-07-01
MS Office
File Format Processing
Text & Documents
→
Providing one API for reading, manipulating and writing csv, ods, xls, xlsx and xlsm files.
44
justhtml
Text & Documents
1,147
2026-07-26
HTML Manipulation
Text & Documents
→
A pure Python HTML5 parser that just works.
45
pdf_oxide
PDF
918
2026-07-28
PDF
File Format Processing
Text & Documents
→
A fast PDF library for text extraction, image extraction, and markdown conversion, powered by Rust.
46
html-to-markdown
Text & Documents
819
2026-07-31
HTML Manipulation
Text & Documents
→
A fast, CommonMark-compliant HTML to Markdown converter with a Rust core, tolerant of malformed HTML.
47
python-nameparser
Parser
713
2026-07-31
Parser
Text Processing
Text & Documents
→
Parsing human names into their individual components.
48
markupsafe
Text & Documents
694
2025-09-27
HTML Manipulation
Text & Documents
→
Implements a XML/HTML/XHTML Markup safe string for Python.
49
unidecode
General
611
2026-01-05
General
Text Processing
Text & Documents
→
ASCII transliterations of Unicode text.
50
sqids
Unique identifiers
516
2025-03-26
Unique identifiers
Text Processing
Text & Documents
→
A library for generating short unique IDs from numbers.
51
parsy
Parser
450
2026-06-22
Parser
Text Processing
Text & Documents
→
Easy, generic parser combinator library for creating parsers.
52
tree-sitter-language-pack
Parser
441
2026-07-31
Parser
Text Processing
Text & Documents
→
A comprehensive collection of tree-sitter parsers for 300+ languages, distributed as prebuilt wheels.
53
pangu.py
General
278
2026-07-31
General
Text Processing
Text & Documents
→
Paranoid text spacing.
54
tinycss2
Text & Documents
189
2026-06-21
HTML Manipulation
Text & Documents
→
A low-level CSS parser and generator written in Python.
55
beautifulsoup
Text & Documents
External
—
HTML Manipulation
Text & Documents
→
Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.
56
openpyxl
MS Office
External
—
MS Office
File Format Processing
Text & Documents
→
A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files.
57
reportlab
PDF
External
—
PDF
File Format Processing
Text & Documents
→
Allowing Rapid creation of rich PDF documents.