1
0
mirror of https://github.com/lorien/awesome-web-scraping.git synced 2024-11-30 08:57:19 +02:00
awesome-web-scraping/python.md

408 lines
25 KiB
Markdown
Raw Normal View History

2015-08-14 20:25:26 +02:00
# Python Web Scraping
2015-08-12 22:27:49 +02:00
2015-08-16 15:16:17 +02:00
This list contains python libraries related to web scraping and data processing
2015-08-13 15:53:10 +02:00
2015-08-14 20:52:50 +02:00
* [Python Web Scraping](#python-web-scraping)
* [Network](#network)
2019-07-09 02:20:42 +02:00
* [Web Scraping](#web-scraping)
2019-07-09 02:09:18 +02:00
* [HTML/XML](#htmlxml)
2015-08-14 20:25:26 +02:00
* [Text processing](#text-processing)
2019-07-09 02:09:18 +02:00
* [Structured Formats](#structured-formats)
2015-08-14 20:25:26 +02:00
* [Natural Language Processing](#natural-language-processing)
2019-07-09 02:04:16 +02:00
* [Browser automation](#browser-automation)
2015-08-14 20:25:26 +02:00
* [Multiprocessing](#multiprocessing)
* [Job Queue](#job-queue)
* [Message Queue](#message-queue)
2015-08-14 20:25:26 +02:00
* [Cloud Computing](#cloud-computing)
* [Email](#email)
2019-07-09 02:04:16 +02:00
* [URL and Network Address](#url-and-network-address)
* [Web Content Extraction](#web-content-extraction)
2015-08-14 20:25:26 +02:00
* [Asynchronous](#asynchronous)
* [WebSocket](#websocket)
2015-08-14 21:42:28 +02:00
* [DNS Resolving](#dns-resolving)
* [Computer Vision](#computer-vision)
2015-08-21 10:35:06 +02:00
* [Proxy Server](#proxy-server)
2019-10-25 15:37:20 +02:00
* [Website Specific Scraper](#site-specific-scraper)
* [JavaScript Engine Bindings](#javascript-engine-bindings)
2015-08-14 20:25:26 +02:00
* [Other Python Lists](#other-python-lists)
2015-08-14 20:52:50 +02:00
## Network
2019-07-09 02:04:16 +02:00
### Network : General
* [urllib](https://docs.python.org/3.4/library/urllib.html?highlight=urllib#module-urllib) - network library (stdlib)
* [requests](https://github.com/kennethreitz/requests) - network library
* [grab](https://github.com/lorien/grab) - network library (pycurl based)
* [pycurl](https://github.com/pycurl/pycurl) - network library (binding to [libcurl](http://curl.haxx.se/libcurl/))
* [urllib3](https://github.com/shazow/urllib3) - Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more.
2019-11-22 03:54:32 +02:00
* [httplib2](https://github.com/httplib2/httplib2) - Small, fast HTTP client library. Features persistent connections, cache, and Google App Engine support.
2019-07-09 02:04:16 +02:00
* [RoboBrowser](https://github.com/jmcarp/robobrowser) - A simple, Pythonic library for browsing the web without a standalone web browser.
* [MechanicalSoup](https://github.com/hickford/MechanicalSoup) - A Python library for automating interaction with websites.
* [mechanize](https://github.com/python-mechanize/mechanize) - Stateful programmatic web browsing.
* [socket](https://docs.python.org/3/library/socket.html) low-level networking interface (stdlib)
* [Unirest for Python](https://github.com/Mashape/unirest-python) - Unirest is a set of lightweight HTTP libraries available in multiple languages
* [hyper](https://github.com/Lukasa/hyper) - HTTP/2 Client for Python
* [PySocks](https://github.com/Anorov/PySocks) - Updated and actively maintained version of SocksiPy, with bug fixes and extra features. Acts as a drop-in replacement to the socket module.
### Network : Asynchronous
* [treq](https://github.com/dreid/treq) - requests like API (twisted based)
* [aiohttp](https://github.com/KeepSafe/aiohttp) - http client/server for asyncio (PEP-3156)
### Network : Low Level
* [dpkt](https://github.com/kbandla/dpkt) - fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols
* [pyOpenSSL](https://github.com/pyca/pyopenssl) - A Python wrapper around the OpenSSL library
* [tlslite-ng](https://github.com/tomato42/tlslite-ng) - TLS implementation in pure python
2019-07-09 02:19:59 +02:00
## Web Scraping
2019-07-09 02:04:16 +02:00
2019-07-09 02:19:59 +02:00
### Web Scraping : Frameworks
2019-07-09 02:04:16 +02:00
* [grab](http://docs.grablib.org/en/latest/#grab-spider-user-manual) - web-scraping framework (pycurl/multicurl based)
* [scrapy](http://scrapy.org/) - web-scraping framework (twisted based).
* [pyspider](https://github.com/binux/pyspider) - A powerful spider system.
* [cola](https://github.com/chineking/cola) - A distributed crawling framework.
2019-07-09 02:19:59 +02:00
* [ruia](https://github.com/howie6879/ruia) - Async Python 3.6+ web scraping micro-framework based on asyncio
* [ioweb](https://github.com/lorien/ioweb) - Web scraping framework based on gevent and lxml
2019-07-09 02:04:16 +02:00
2019-07-09 02:19:59 +02:00
### Web Scraping : Tools
2019-07-09 02:04:16 +02:00
* [portia](https://github.com/scrapinghub/portia) - Visual scraping for Scrapy.
* [restkit](https://github.com/benoitc/restkit) - HTTP resource kit for Python. It allows you to easily access to HTTP resource and build objects around it.
* [requests-html](https://github.com/kennethreitz/requests-html) - Pythonic HTML Parsing for Humans.
* [ScrapydWeb](https://github.com/my8100/scrapydweb) - A full-featured web UI for Scrapyd cluster management, which supports Scrapy Log Analysis & Visualization, Auto Packaging, Timer Tasks, Email Notice and so on.
2019-11-22 00:43:29 +02:00
### Web Scraping : Bypass Protection
* [cloudscraper](https://github.com/venomous/cloudscraper) - A Python module to bypass Cloudflare's anti-bot page.
2019-07-09 02:04:16 +02:00
## HTML/XML
### HTML/XML : General
* [lxml](http://lxml.de) - effective HTML/XML processing library. Supports XPATH. Written in C.
* [cssselect](https://pythonhosted.org/cssselect) - working with DOM tree with CSS selectors
* [pyquery](http://pythonhosted.org//pyquery/) - working with DOM tree with jQuery-like selectors
* [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) - slow HTML/XMl processing library, written in pure python
* [html5lib](http://html5lib.readthedocs.org/en/latest/) - builds DOM of HTML/XML document according to [WHATWG spec](url=http://www.whatwg.org/). That spec is used in all modern browsers.
* [feedparser](http://pythonhosted.org/feedparser/) - parsing of RSS/ATOM feeds.
* [MarkupSafe](https://github.com/mitsuhiko/markupsafe) - Implements a XML/HTML/XHTML Markup safe string for Python.
* [xmltodict](https://github.com/martinblech/xmltodict) - Working with XML feel like you are working with JSON.
* [xhtml2pdf](https://github.com/chrisglass/xhtml2pdf) - HTML/CSS to PDF converter.
* [untangle](https://github.com/stchris/untangle) - Converts XML documents to Python objects for easy access.
* [hodor](https://github.com/CompileInc/hodor) - Configuration driven wrapper around lxml and cssselect.
* [chopper](https://github.com/jurismarches/chopper) - Tool to extract a part from HTML page with corresponding CSS rules and preserving correct HTML.
* [selectolax](https://github.com/rushter/selectolax) - Python bindings to Modest engine (fast HTML5 parser with CSS selectors).
2019-10-19 15:11:35 +02:00
* [parsel](https://github.com/scrapy/parsel) - Lets you extract data from XML/HTML documents using XPath or CSS selectors.
2019-07-09 02:04:16 +02:00
### HTML/XML : Sanitizing
* [Bleach](http://bleach.readthedocs.org/en/latest/) - cleaning of HTML (requires html5lib)
* [sanitize](https://github.com/Alir3z4/sanitize) - Bringing sanity to world of messed-up data.
2015-08-12 22:27:49 +02:00
2019-10-25 15:26:49 +02:00
### HTML/XML : Metadata
* [extruct](https://github.com/scrapinghub/extruct) - A library for extracting embedded metadata from HTML markup.
2015-08-12 22:27:49 +02:00
2015-08-13 15:04:14 +02:00
## Text Processing
2019-07-09 02:04:16 +02:00
Libraries for parsing and manipulating plain texts.
### Text Processing : General
* [difflib](https://docs.python.org/3/library/difflib.html) - (Python standard library) Helpers for computing deltas.
* [Levenshtein](https://github.com/ztane/python-Levenshtein/) - Fast computation of Levenshtein distance and string similarity.
* [fuzzywuzzy](https://github.com/seatgeek/fuzzywuzzy) - Fuzzy String Matching.
* [esmre](https://code.google.com/p/esmre/) - Regular expression accelerator.
* [ftfy](https://github.com/LuminosoInsight/python-ftfy) - Makes Unicode text less broken and more consistent automagically.
### Text Processing : Transliteration
* [unidecode](https://pypi.python.org/pypi/Unidecode) - ASCII transliterations of Unicode text.
### Text Processing : Character Encoding
* [uniout](https://github.com/moskytw/uniout) - Print readable chars instead of the escaped string.
* [chardet](https://github.com/chardet/chardet) - Python 2/3 compatible character encoding detector.
* [xpinyin](https://github.com/lxneng/xpinyin) - A library to translate Chinese hanzi (漢字) to pinyin (拼音).
* [pangu.py](https://github.com/vinta/pangu.py) - Spacing texts for CJK and alphanumerics.
* [cchardet](https://github.com/PyYoshi/cChardet) - cChardet is high speed universal character encoding detector. - binding to uchardet.
### Text Processing : Slugify
* [awesome-slugify](https://github.com/dimka665/awesome-slugify) - A Python slugify library that can preserve unicode.
* [python-slugify](https://github.com/un33k/python-slugify) - A Python slugify library that translates unicode to ASCII.
* [unicode-slugify](https://github.com/mozilla/unicode-slugify) - A slugifier that generates unicode slugs.
* [pytils](https://github.com/j2a/pytils) - Simple tools for processing strings in russian (including pytils.translit.slugify)
### Text Processing : General Parser
* [PLY](http://www.dabeaz.com/ply/) - Implementation of lex and yacc parsing tools for Python
* [pyparsing](http://pyparsing.wikispaces.com/) - A general purpose framework for generating parsers.
### Text Processing : Human Names
* [python-nameparser](https://github.com/derek73/python-nameparser) - Parsing human names into their individual components.
### Text Processing : Phone Number
* [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) - Parsing, formatting, storing and validating international phone numbers.
### Text Processing :: User-Agent strings
* [HTTP Agent Parser](https://github.com/shon/httpagentparser) - Python HTTP Agent Parser
2019-10-20 16:25:55 +02:00
* [uap-python](https://github.com/ua-parser/uap-python) - Python implementation of ua-parser
* [python-user-agents](https://github.com/selwin/python-user-agents) - Browser user agent parser.
2019-07-09 02:04:16 +02:00
* [fake-useragent](https://github.com/hellysmile/fake-useragent) - Python user agent string faker, based on world statistic of browsers
* [user_agent](https://github.com/lorien/user_agent) - Generator of User-Agent data
### Text Processing : robots.txt
* [reppy](https://github.com/seomoz/reppy) - Modern robots.txt Parser for Python
2019-07-07 16:12:40 +02:00
2019-07-09 02:04:16 +02:00
### Text Processing :: Date and Time
2018-10-03 20:21:20 +02:00
2019-07-09 02:04:16 +02:00
* [dateutil](https://github.com/dateutil/dateutil) - Useful extensions to the standard Python datetime features
2015-08-13 15:11:09 +02:00
2019-10-19 15:11:35 +02:00
### Text Processing :: Price and Currency
* [price-parser](https://github.com/scrapinghub/price-parser) - a small library for extracting price and currency from raw text strings.
2019-07-09 02:04:16 +02:00
## Structured Formats
2015-08-13 15:11:09 +02:00
2019-07-09 02:04:16 +02:00
Libraries for parsing and manipulating specific text formats.
2019-07-09 02:04:16 +02:00
### Structured Formats : General
2015-08-17 09:48:02 +02:00
2019-07-09 02:04:16 +02:00
* [tablib](https://github.com/kennethreitz/tablib) - A module for Tabular Datasets in XLS, CSV, JSON, YAML.
* [textract](https://github.com/deanmalmgren/textract) - Extract text from any document, Word, PowerPoint, PDFs, etc.
* [messytables](https://github.com/okfn/messytables) - Tools for parsing messy tabular data
* [rows](https://github.com/turicas/rows) - A common, beautiful interface to tabular data, no matter the format (currently CSV, HTML, XLS, TXT -- more coming!)
2015-08-17 09:48:02 +02:00
2019-07-09 02:04:16 +02:00
### Structured Formats : Office
2015-08-17 09:48:02 +02:00
2019-07-09 02:04:16 +02:00
* [python-docx](https://github.com/python-openxml/python-docx) - Reads, queries and modifies Microsoft Word 2007/2008 docx files.
* [xlwt](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd) - Writing and reading data and formatting information from Excel files.
* [XlsxWriter](https://xlsxwriter.readthedocs.org/) - A Python module for creating Excel .xlsx files.
* [xlwings](http://xlwings.org/) - A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
* [openpyxl](https://openpyxl.readthedocs.org/en/latest/) - A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files.
* [Marmir](https://github.com/brianray/mm) - Takes Python data structures and turns them into spreadsheets.
2015-08-17 09:48:02 +02:00
2019-07-09 02:04:16 +02:00
### Structured Formats : PDF
2015-08-17 09:48:02 +02:00
2019-07-09 02:04:16 +02:00
* [PDFMiner](https://github.com/euske/pdfminer) - A tool for extracting information from PDF documents.
* [PyPDF2](https://github.com/mstamy2/PyPDF2) - A library capable of splitting, merging and transforming PDF pages.
* [ReportLab](http://www.reportlab.com/opensource/) - Allowing Rapid creation of rich PDF documents.
* [pdftables](https://pypi.python.org/pypi/pdftables) - Extract tables from PDF files directly
### Structured Formats : Markdown
* [Python-Markdown](https://github.com/waylan/Python-Markdown) - A Python implementation of John Gruber’s Markdown.
* [Mistune](https://github.com/lepture/mistune) - Fastest and full featured pure Python parsers of Markdown.
* [markdown2](https://pypi.python.org/pypi/markdown2) - A fast and complete Python implementation of Markdown
2019-07-10 21:41:47 +02:00
* [mistletoe](https://github.com/miyuchina/mistletoe) - A fast, extensible and spec-compliant Markdown parser in pure Python
2019-07-09 02:04:16 +02:00
### Structured Formats : YAML
* [PyYAML](https://github.com/yaml/pyyaml) - YAML implementations for Python.
### Structured Formats : CSS
* [cssutils](https://pypi.python.org/pypi/cssutils/) - A CSS library for Python.
### Structured Formats : ATOM/RSS
* [feedparser](http://pythonhosted.org/feedparser/) - Universal feed parser.
### Structured Formats : SQL
2015-08-17 09:48:02 +02:00
2015-08-14 20:52:50 +02:00
* [sqlparse](https://sqlparse.readthedocs.org/) - A non-validating SQL parser.
2015-08-13 15:11:09 +02:00
2019-07-09 02:04:16 +02:00
### Structured Formats : HTTP
2015-08-17 09:48:02 +02:00
* [http-parser](https://github.com/benoitc/http-parser) - HTTP request/response parser for python in C
2019-07-09 02:04:16 +02:00
### Structured Formats : Microformats
2015-08-18 10:55:09 +02:00
* [opengraph](https://github.com/erikriver/opengraph) - A Python module to parse the Open Graph Protocol tags
2019-07-09 02:04:16 +02:00
### Structured Formats : Portable Executable
* [pefile](https://github.com/erocarrera/pefile) - A multi-platform module to parse and work with Portable Executable (aka PE) files.
2015-08-27 23:12:06 +02:00
2019-07-09 02:04:16 +02:00
### Structured Formats : PSD
2015-08-27 23:12:06 +02:00
* [psd-tools](https://github.com/kmike/psd-tools) - reading Adobe Photoshop PSD files (as described in [specification](https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/PhotoshopFileFormats.htm)) to Python data structures.
2019-10-25 15:33:45 +02:00
* Bookmarks File
* [bookmarks-parser](https://github.com/bookmarks-tools/bookmarks-parser) - Parses Firefox/Chrome HTML bookmarks files
2015-08-13 15:47:41 +02:00
## Natural Language Processing
2019-07-09 02:04:16 +02:00
Libraries for working with human languages.
2015-08-13 15:47:41 +02:00
* [NLTK](http://www.nltk.org/) - A leading platform for building Python programs to work with human language data.
* [Pattern](http://www.clips.ua.ac.be/pattern) - A web mining module for the Python. It has tools for natural language processing, machine learning, among others.
* [TextBlob](http://textblob.readthedocs.org/) - Providing a consistent API for diving into common NLP tasks. Stands on the giant shoulders of NLTK and Pattern.
* [jieba](https://github.com/fxsjy/jieba) - Chinese Words Segmentation Utilities.
* [SnowNLP](https://github.com/isnowfy/snownlp) - A library for processing Chinese text.
* [loso](https://github.com/victorlin/loso) - Another Chinese segmentation library.
* [genius](https://github.com/duanhongyi/genius) - A Chinese segment base on Conditional Random Field.
* [langid.py](https://github.com/saffsd/langid.py) - Stand-alone language identification system.
* [Korean](https://korean.readthedocs.org/) - A library for [Korean](http://en.wikipedia.org/wiki/Korean_language) morphology.
2015-08-27 23:14:00 +02:00
* [pymorphy2](https://github.com/kmike/pymorphy2) - Morphological analyzer (POS tagger + inflection engine) for Russian language.
2015-09-12 12:05:34 +02:00
* [PyPLN](https://github.com/NAMD/pypln.backend) - A distributed pipeline for natural language processing, made in Python. he goal of the project is to create an easy way to use NLTK for processing big corpora, with a Web interface.
2016-05-21 11:09:41 +02:00
* [langdetect](https://github.com/Mimino666/langdetect) - Port of Google's language-detection library to Python
2015-08-13 15:47:41 +02:00
2019-07-09 02:04:16 +02:00
## Browser Automation
2019-04-08 02:01:15 +02:00
2019-07-09 02:04:16 +02:00
### Browser Automation : Browsers
* [selenium](http://selenium-python.readthedocs.io/) - automating real browsers (Chrome, Firefox, Opera, IE)
* [Ghost.py](http://carrerasrodrigo.github.io/Ghost.py/) - wrapper of QtWebKit (requires PyQT)
* [Spynner](https://github.com/makinacorpus/spynner) - wrapper of QtWebKit QtWebKit (requires PyQT)
* [Splinter](https://github.com/cobrateam/splinter) - univeral API to browser emulators (selenium webdrivers, django client, zope)
* [Requestium](https://github.com/tryolabs/requestium) - Integration layer between Requests and Selenium for automation of web actions.
* [Splash](https://github.com/scrapinghub/splash) - Lightweight, scriptable browser as a service with an HTTP API.
* [pyppeteer](https://github.com/miyakogi/pyppeteer) - Headless chrome/chromium automation library (unofficial port of puppeteer)
### Browser Automation : Tools
* [xvfbwrapper](https://github.com/cgoldberg/xvfbwrapper) - Python wrapper for running a display inside X virtual framebuffer (Xvfb)
2015-08-12 22:27:49 +02:00
2015-08-12 22:49:22 +02:00
## Multiprocessing
2019-07-09 02:04:16 +02:00
* [threading](http://docs.python.org/3/library/threading.html) - standard python library to run threads. Effective for I/O-bound tasks. Useless for CPU-bound tasks because of python GIL.
* [multiprocessing](http://docs.python.org/3/library/multiprocessing.html) - standard python library to run processes.
2015-08-14 20:52:50 +02:00
* [concurrent-futures](https://docs.python.org/3/library/concurrent.futures.html) - The concurrent.futures module provides a high-level interface for asynchronously executing callables.
## Asynchronous
2019-07-09 02:04:16 +02:00
Libraries for asynchronous networking programming.
2015-08-14 20:52:50 +02:00
* [asyncio](https://docs.python.org/3/library/asyncio.html) - (Python standard library in Python 3.4+) Asynchronous I/O, event loop, coroutines and tasks.
* [Twisted](https://twistedmatrix.com/trac/) - An event-driven networking engine.
* [Tornado](http://www.tornadoweb.org/) - A Web framework and asynchronous networking library.
* [pulsar](https://github.com/quantmind/pulsar) - Event-driven concurrent framework for Python.
* [diesel](https://github.com/jamwt/diesel) - Greenlet-based event I/O Framework for Python.
2015-08-13 15:47:41 +02:00
* [gevent](http://www.gevent.org/) - A coroutine-based Python networking library that uses [greenlet](https://github.com/python-greenlet/greenlet).
* [eventlet](http://eventlet.net/) - Asynchronous framework with WSGI support.
* [Tomorrow](https://github.com/madisonmay/Tomorrow) - Magic decorator syntax for asynchronous code.
2017-10-01 17:12:38 +02:00
* [grequests](https://github.com/kennethreitz/grequests) - Make asynchronous HTTP Requests easily.
2015-08-13 15:47:41 +02:00
## Job Queue
2019-07-09 02:04:16 +02:00
2015-08-13 15:47:41 +02:00
* [celery](http://www.celeryproject.org/) - An asynchronous task queue/job queue based on distributed message passing.
* [huey](https://github.com/coleifer/huey) - Little multi-threaded task queue.
* [mrq](https://github.com/pricingassistant/mrq) - Mr. Queue - A distributed worker task queue in Python using Redis & gevent.
2018-10-28 13:23:27 +02:00
* [RQ](https://github.com/rq/rq) - lightweight task queue manager based on redis
2015-08-13 15:47:41 +02:00
* [simpleq](https://github.com/rdegges/simpleq) - A simple, infinitely scalable, Amazon SQS based queue.
2015-08-17 09:22:34 +02:00
* [python-gearman](https://github.com/Yelp/python-gearman) - python API for Gearman
2015-08-12 22:27:49 +02:00
## Message Queue
2019-07-09 02:04:16 +02:00
* [kombu](https://github.com/celery/kombu) - Messaging library for Python
2015-08-12 22:49:22 +02:00
## Cloud Computing
2019-07-09 02:04:16 +02:00
2015-08-12 22:49:22 +02:00
* [picloud](http://docs.picloud.com/) - executing python-code in cloud
* [dominoup.com](http://www.dominoup.com/) - executing R, Python и matlab code in cloud
2019-01-28 12:35:15 +02:00
* [minigun-requests](https://github.com/umihico/minigun-requests) - Web scraping API to outsource tons of GET & xpath to cloud computing
* [pythonista-chromeless](https://github.com/umihico/pythonista-chromeless) - AWS lambda which execute given python code on selenium
2015-08-13 15:47:41 +02:00
## Email
2019-07-09 02:04:16 +02:00
Libraries for parsing email.
2015-08-13 15:47:41 +02:00
* [flanker](https://github.com/mailgun/flanker) - A email address and Mime parsing library.
* [Talon](https://github.com/mailgun/talon) - Mailgun library to extract message quotations and signatures.
2019-07-09 02:04:16 +02:00
## URL and Network Address
Libraries for parsing/modifying URLs and network addresses.
### URL and Network Address : URL
* [furl](https://github.com/gruns/furl) - A small Python library that makes manipulating URLs simple.
* [purl](https://github.com/codeinthehole/purl) - A simple, immutable URL class with a clean API for interrogation and manipulation.
* [urllib.parse](https://docs.python.org/3/library/urllib.parse.html) - interface to break Uniform Resource Locator (URL) strings up in components (addressing scheme, network location, path etc.), to combine the components back into a URL string, and to convert a “relative URL” to an absolute URL given a “base URL.” (stdlib)
* [tldextract](https://github.com/john-kurkowski/tldextract) - Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List.
### URL and Network Address : Network Address
* [netaddr](https://github.com/drkjam/netaddr) - A Python library for representing and manipulating network addresses.
* [micawber](https://github.com/coleifer/micawber) - A small library for extracting rich content from URLs.
## Web Content Extraction
Libraries for extracting web contents.
* [newspaper](https://github.com/codelucas/newspaper) - News extraction, article extraction and content curation in Python.
* [python-goose](https://github.com/grangier/python-goose) - HTML Content/Article Extractor.
* [scrapely](https://github.com/scrapy/scrapely) - Library for extracting structured data from HTML pages. Given some example web pages and the data to be extracted, scrapely constructs a parser for all similar pages.
* [htmldate](https://github.com/adbar/htmldate) - Find creation date using common structural patterns or text-based heuristics.
* [lassie](https://github.com/michaelhelmick/lassie) - Web Content Retrieval for Humans.
* [html2text](https://github.com/Alir3z4/html2text) - Convert HTML to Markdown-formatted text.
* [libextract](https://github.com/datalib/libextract) - Extract data from websites.
* [python-readability](https://github.com/buriy/python-readability) - Fast Python port of arc90's readability tool.
* [sumy](https://github.com/miso-belica/sumy) - A module for automatic summarization of text documents and HTML pages.
* [Haul](https://github.com/vinta/Haul) - An Extensible Image Crawler.
* [you-get](http://www.soimort.org/you-get/) - A YouTube/Youku/Niconico video downloader written in Python 3.
* [youtube-dl](http://rg3.github.io/youtube-dl/) - A small command-line program to download videos from YouTube.
* [WikiTeam](https://github.com/WikiTeam/wikiteam) - Tools for downloading and preserving wikis.
* [linkchecker](https://github.com/wummel/linkchecker) - check links in web documents or full websites
* [python-sitemap](https://github.com/c4software/python-sitemap) - Mini website crawler to make sitemap from a website.
2015-08-13 15:47:41 +02:00
## WebSocket
2019-07-09 02:04:16 +02:00
Libraries for working with WebSocket.
2015-08-13 15:47:41 +02:00
* [Crossbar](https://github.com/crossbario/crossbar/) - Open-source Unified Application Router (Websocket & WAMP for Python on Autobahn).
* [AutobahnPython](https://github.com/tavendo/AutobahnPython) - WebSocket & WAMP for Python on Twisted and [asyncio](https://docs.python.org/3/library/asyncio.html).
* [WebSocket-for-Python](https://github.com/Lawouach/WebSocket-for-Python) - WebSocket client and server library for Python 2 and 3 as well as PyPy.
2015-08-13 15:52:28 +02:00
2015-08-14 21:42:28 +02:00
## DNS Resolving
2019-07-09 02:04:16 +02:00
* [dnsyo](https://github.com/samarudge/dnsyo) - Check your DNS against over 1500 global DNS servers.
* [pycares](https://github.com/saghul/pycares) - interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously
2015-08-14 21:42:28 +02:00
## Computer Vision
2019-07-09 02:04:16 +02:00
* [OpenCV](https://github.com/Itseez/opencv) - Open Source Computer Vision Library.
* [SimpleCV](https://github.com/sightmachine/SimpleCV) - Concise, readable interface for cameras, image manipulation, feature extraction, and format conversion (based on OpenCV).
* [mahotas](https://github.com/luispedro/mahotas) - fast computer vision algorithms (all implemented in C++) operating over numpy arrays.
2015-08-14 21:42:28 +02:00
2015-08-21 10:35:06 +02:00
## Proxy Server
2019-07-09 02:04:16 +02:00
* [scylla](https://github.com/imWildCat/scylla) - Intelligent proxy pool for Humans
* [ProxyBroker](https://github.com/constverum/Proxybroker) - Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS
* [shadowsocks](https://github.com/shadowsocks/shadowsocks) - A fast tunnel proxy that helps you bypass firewalls (TCP & UDP support, User management API, TCP Fast Open, Workers and graceful restart, Destination IP blacklist)
* [tproxy](https://github.com/benoitc/tproxy) - tproxy is a simple TCP routing proxy (layer 7) built on Gevent that lets you configure the routine logic in Python
2019-07-07 16:08:15 +02:00
## Whois
2019-07-09 02:04:16 +02:00
* [python-whois](https://github.com/joepie91/python-whois) - A python module for retrieving and parsing WHOIS data
2015-08-21 10:35:06 +02:00
2019-07-07 16:43:26 +02:00
## Serialization
2019-07-09 02:04:16 +02:00
* [ujson](https://github.com/esnme/ultrajson) - Ultra fast JSON decoder and encoder written in C with Python bindings
2015-08-21 10:35:06 +02:00
2019-10-25 15:37:20 +02:00
## Website Specific Scraper
2019-10-20 14:35:47 +02:00
* [twitter-scraper](https://github.com/bisguzar/twitter-scraper) - Scrape the Twitter Frontend API without authentication
* [Ultimate-Facebook-Scraper](https://github.com/harismuneer/Ultimate-Facebook-Scraper) - A bot which scrapes almost everything about a Facebook user's profile
* [instagram-scraper](https://github.com/rarcega/instagram-scraper) - Scrapes an instagram user's photos and videos
## JavaScript Engine Bindings
* [Js2Py](https://github.com/PiotrDabkowski/Js2Py) - JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python
* [v8eval](https://github.com/sony/v8eval/) - Multi-language bindings to JavaScript engine V8
2015-08-13 15:52:28 +02:00
## Other python lists
2019-07-09 02:04:16 +02:00
* [awesome-python](https://github.com/vinta/awesome-python)
2019-11-08 12:51:43 +02:00
* [pycrumbs](https://github.com/kirang89/pycrumbs)
2019-07-09 02:04:16 +02:00
* [python-github-projects](https://github.com/checkcheckzz/python-github-projects)
* [python_reference](https://github.com/rasbt/python_reference)
* [pythonidae](https://github.com/svaksha/pythonidae)