Protocolos y soporte de Internet¶
Los módulos descritos en este capítulo implementan protocolos de Internet y son compatibles con la tecnología relacionada. Todos están implementados en Python. La mayoría de estos módulos requieren la presencia del módulo dependiente del sistema socket, que actualmente es compatible con las plataformas más populares. Aquí hay una descripción general:
- webbrowser— Convenient web-browser controller
- wsgiref— WSGI Utilities and Reference Implementation- wsgiref.util– Utilidades de entorno WSGI
- wsgiref.headers– Herramientas para cabeceras de respuesta WSGI
- wsgiref.simple_server– Un servidor HTTP WSGI simple
- wsgiref.validate— Verificador de compatibilidad WSGI
- wsgiref.handlers– Clases base servidor/gateway
- wsgiref.types— Tipos de WSGI para validadores estáticos de tipos
- Ejemplos
 
- urllib— URL handling modules
- urllib.request— Extensible library for opening URLs- Objetos Request
- Objetos OpenerDirector
- Objetos BaseHandler
- Objetos HTTPRedirectHandler
- Objetos HTTPCookieProcessor
- Objetos ProxyHandler
- Objetos HTTPPasswordMgr
- Objetos HTTPPasswordMgrWithPriorAuth
- Objetos AbstractBasicAuthHandler
- Objetos HTTPBasicAuthHandler
- Objetos ProxyBasicAuthHandler
- Objetos AbstractDigestAuthHandler
- Objetos HTTPDigestAuthHandler
- Objetos ProxyDigestAuthHandler
- Objetos HTTPHandler
- Objetos HTTPSHandler
- Objetos FileHandler
- Objetos DataHandler
- Objetos FTPHandler
- Objetos CacheFTPHandler
- Objetos UnknownHandler
- Objetos HTTPErrorProcessor
- Ejemplos
- Interfaz heredada
- Restricciones urllib.request
 
- urllib.response— Clases de respuesta usadas por urllib
- urllib.parse— Parse URLs into components
- urllib.error— Exception classes raised by urllib.request
- urllib.robotparser— Parser for robots.txt
- http— HTTP modules
- http.client— HTTP protocol client
- ftplib— FTP protocol client
- poplib— POP3 protocol client
- imaplib— IMAP4 protocol client
- smtplib— SMTP protocol client
- uuid— UUID objects according to RFC 9562
- socketserver— A framework for network servers
- http.server— HTTP servers
- http.cookies— HTTP state management
- http.cookiejar— Cookie handling for HTTP clients
- xmlrpc— Módulos XMLRPC para cliente y servidor
- xmlrpc.client— XML-RPC client access
- xmlrpc.server— Basic XML-RPC servers
- ipaddress— IPv4/IPv6 manipulation library