Packages
Provides a pure-Python X11 client library for communicating with X servers via the X protocol, enabling GUI applications to interact with X11 window systems.
Provides execution-local storage that scopes attribute bindings to a code block and its callees, preventing state leakage across threads or greenlets.
xlrd reads data and formatting information from legacy Excel .xls files, extracting cell values, sheet metadata, and formula results without support for newer formats or advanced features like macros, charts, or password protection.
However, note that it is aging (last release 426 days ago) and does not support newer Excel formats—if you work primarily with .xlsx or .xlsm files, look elsewhere.
Reads data from Excel spreadsheet files (.xls and .xlsx formats) and extracts cell values, sheet metadata, and row/column information for programmatic access.
Converts legacy Excel files (.xls), HTML tables, and single-file web pages (.mht) to modern Excel format (.xlsx), preserving formatting, styles, and basic structure.
Converts XLSX spreadsheet files to CSV format, handling large files efficiently through command-line or Python API.
Install it if you need reliable XLSX-to-CSV conversion in batch workflows or Python code.
Converts Excel spreadsheets (.xlsx files) to HTML tables while preserving cell formatting, with support for locale-specific number and date rendering.
XlsxWriter creates Excel 2007+ XLSX files from Python, supporting text, numbers, formulas, charts, images, and formatting without external dependencies.
xlutils provides utilities for reading, writing, copying, and filtering Excel files by bridging xlrd and xlwt packages.
No—not for new projects.
xlwings lets you call Python from Excel and vice versa, automating Excel workbooks with Python code instead of VBA, and writing Python-based user-defined functions for spreadsheets.
Install it if you need to automate Excel from Python or replace VBA macros; skip it only if you don't use Excel or prefer server-based alternatives.
Generates Microsoft Excel 97–2003 XLS spreadsheet files from Python code with no external dependencies.
xmacro is a command-line and Python tool for defining and expanding XML macros—named values, parameterized blocks, and conditional includes—to generate expanded XML files suitable for URDF and SDF robot description formats.
However, do not use it for untrusted or adversarial input due to eval()-based expression evaluation, and be aware that no security patches or feature updates will be…
Decodes canonical-Huffman compressed string dictionaries from xVelocity/Vertipaq column stores used in Power BI `.pbix` files and Excel Power Pivot workbooks via a fast Cython extension.
Install only if you are working with these Microsoft formats; it has no utility for general-purpose Huffman decoding or other compression tasks.
XMind creates, parses, and updates XMind mind map files (.xmind) programmatically from Python, supporting sheets, topics, hyperlinks, notes, markers, and comments.
Converts XML documents into Python objects, allowing you to work with XML data as native Python instances rather than parsing raw XML text.
xmldiff compares two XML files or trees and produces a human-readable diff that accounts for the hierarchical structure of XML, rather than treating it as flat text.
Formats and compresses XML documents by applying distinct whitespace rules that treat element content as objects and mixed content as text, with options to preserve specific elements and customize indentation.
Install it if you need to format, normalize, or compress XML documents—either programmatically or from the command line.
Converts XML documents to Python dictionaries (and back) using one of six standardized XML-to-JSON conventions, with support for custom attribute and text-content handling.
A unittest test runner that exports test results to XML files compatible with CI systems, IDEs, and build tools.
However, install friction is high (source-only distribution), and dormancy since 2014 means no support for modern Python or CI ecosystem changes.
Validates XML documents against XSD schemas and converts XML to/from Python data structures and JSON.
Python bindings for XML Security Library, enabling cryptographic signing and verification of XML documents.
Converts XML to Python dictionaries and back, treating XML parsing and generation like working with JSON.
Converts XML documents to JSON format via a Python library or command-line tool, using xmltodict as its underlying parser.
Extends Python's unittest framework to compare XML documents structurally using XPath expressions and lxml, rather than comparing raw XML strings.
Lets a module behave like a callable object or container by wrapping it with special methods, eliminating redundant import patterns.
Implements the XMODEM file transfer protocol for sending and receiving files over character-based communication channels.
Xonsh is a Python-based shell that merges Python 3 syntax with shell commands, letting you write scripts and interactive sessions using both languages seamlessly in one environment.
xopen provides a drop-in replacement for Python's built-in open() that transparently handles compressed files in gzip, bzip2, xz, and Zstandard formats, automatically selecting efficient backends.
xoto3 provides high-level utilities and abstractions for boto3 operations, particularly for AWS serverless development, including DynamoDB transactions, batch operations, CloudWatch query formatting, and Lambda finalization helpers.
However, verify the actual license terms before use—the metadata shows 'unclear' treatment with no SPDX identifier, which is a blocker for some projects.
Python SDK for building, deploying, and managing AI agents on the xpander.ai Backend-as-a-Service platform, with support for agent lifecycle management, task execution, tool integration, knowledge bases, and event-driven workflows.
Converts Chinese characters (hanzi) to their phonetic romanization (pinyin), with support for tone marks, initial consonants, and multiple character readings.
Python interface to the FICO Xpress Optimizer for creating and solving linear, quadratic, conic, and nonlinear optimization problems, including mixed-integer variants.
xpress8 provides Python bindings to Microsoft's Xpress8 compression library, enabling compression and decompression of data using the algorithm used by Power BI's .pbix format and Windows internal data stores.
Xpress9 is a Python wrapper for Microsoft's Xpress9 compression library, providing efficient compression and decompression of binary data through a C extension with Cython bindings.
However, the limited community adoption (5 stars, 257 days since last release) and aging status suggest it may not receive timely updates or bug fixes.
Python interface to the FICO Xpress Optimizer for creating and solving linear, quadratic, conic, and nonlinear optimization problems, including their mixed-integer variants.
XProf is a profiler for ML workloads that visualizes performance across multiple devices, showing execution timelines, memory usage, and operation-level details through a web interface.
XProj is an Xarray extension that provides tools for managing geospatial coordinate reference systems (CRS) using PROJ and Pyproj, enabling uniform CRS handling across Xarray datasets.
However, treat it as experimental—the API may change, and it is not yet proven in production workflows.
Xradar reads and writes weather radar data in multiple formats (CfRadial, ODIM_H5, NEXRAD, and others) and loads them into xarray DataTree structures for analysis and processing.
XrayDB provides a Python interface to a SQLite database of X-ray reference data, enabling calculations and lookups of X-ray interactions with matter for physics and materials science applications.
Provides Python bindings to XRootD, a high-performance distributed filesystem client for accessing data across remote storage resources with fault tolerance and transparent protocol handling.