Packages
rawpy wraps LibRaw to load, decode, and postprocess RAW image files from digital cameras, with built-in functions for finding and repairing hot and dead pixels.
Install it if you need to work with RAW files from digital cameras.
Rax provides ranking losses and metrics for learning-to-rank problems in JAX, enabling optimization of relative ordering for lists of items given a context.
Install it if you're building ranking systems in JAX or need to optimize ranking metrics directly.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
Provides a pre-built HAProxy binary bundled with its required shared libraries for use with Ray Serve, eliminating the need for system-level HAProxy installation.
RayDP runs Apache Spark on Ray and integrates Spark with AI libraries, enabling you to build distributed data and machine learning pipelines in a single Python program.
Splits Russian text into sentences and tokens using rule-based heuristics, returning character-offset substrings for precise text reconstruction.
Python client library for the Razorpay payment gateway API, enabling merchants to programmatically interact with payment processing, orders, refunds, subscriptions, and related financial operations.
Install it if you are building a merchant application that needs to integrate Razorpay payments; avoid it if you use a different payment processor.
Implements a Bloom filter data structure in Rust with a Python API that mimics the built-in set type, enabling fast probabilistic membership testing for any hashable object.
A Python wrapper that exposes rclone's cloud storage operations—copy, move, sync, delete, hash, and remote management—as callable Python functions, requiring rclone to be installed on the system.
However, do not install if rclone is not already on your system—the wrapper is useless without it.
Slices lists using a row-column notation with inclusive 1-based indexing, supporting ranges, multi-slice syntax, and optional separators between results.
RCSSmin minifies CSS by removing spaces, comments, and unnecessary characters while preserving CSS semantics and supporting common CSS hacks.
However, the 306-day gap since the last release and aging maintenance status suggest limited active development; verify that the package still meets your platform and…
Reads and writes R dataset files (.rda and .rds formats) in pure Python without requiring R or its libraries installed.
Install it if you need to read or write R datasets; skip it if you work exclusively within Python or have R already available and prefer rpy2.
RDFLib is a Python library for parsing, querying, and serializing RDF data across multiple formats including RDF/XML, Turtle, N-Triples, JSON-LD, and SPARQL endpoints.
Install it if you need to parse, query, or generate RDF data or work with SPARQL endpoints.
Provides JSON-LD parsing and serialization for RDFLib graphs, converting between JSON-LD formatted documents and RDF graph representations.
RDKit is a chemoinformatics toolkit providing C++ and Python libraries for molecular structure manipulation, analysis, and machine-learning workflows on chemical data.
Install it if you work with molecular structures, chemical data, or computational chemistry.
Provides precompiled wheels for Linux, macOS, and Windows, enabling easy installation of chemoinformatics and machine-learning software without requiring local compilation.
However, the package itself has not released since 2023-02-26; verify current distribution recommendations before adopting.
Implements the Ramer-Douglas-Peucker algorithm to reduce the number of points in a 2D or 3D curve while preserving its shape, with a simple Python interface and optional NumPy support.
Implements regression discontinuity (RD) design estimation, inference, and plotting using local polynomial methods with robust bias-corrected confidence intervals.
RDT converts raw, mixed-type data into fully numerical form via reversible transformations, then converts it back to the original format.
However, the BUSL-1.1 license restricts commercial use until a future date—verify the license terms match your use case before committing.
Provides a helper class for regex assertions that shows exactly where and why a pattern match failed, integrating with pytest and other test frameworks.
RxPY is a library for building asynchronous and event-based programs using observable sequences and composable operators, supporting both fluent method-chaining and functional pipe-based syntax.
Install it if you need to model asynchronous or event-driven workflows as composable data streams; it is particularly valuable for real-time systems, reactive UIs,…
Reacton provides a React-like component model for building ipywidgets-based user interfaces in Python, handling state management, event binding, and widget lifecycle automatically.
Extracts a version string or other variable from Python source code for use in setup.py, eliminating boilerplate version-parsing code during package builds.
Extracts article content from HTML using either Mozilla's Readability.js or a pure-Python parser, returning structured data with title, byline, simplified HTML, and plain text representations.
Extracts and cleans the main article text and title from HTML documents using lxml-based parsing and heuristic content detection.
Extracts the main article content from web pages, handling both direct URL fetching and pre-fetched HTML strings to isolate readable text from web articles, blogs, and news sites.
Install only if you have a legacy codebase already using it and cannot migrate.
Reads single characters and keystrokes from stdin, handling both ASCII characters and multi-character keys like arrows, function keys, and modifier combinations across Windows, Linux, and Unix systems.
Install it if you need to handle raw keyboard input in a CLI or terminal UI.
Provides reader-writer lock implementations for Python that solve the three classical reader-writer synchronization problems with configurable priority schemes (reader, writer, or fair) and optional lock downgrading.
However, verify compatibility with your Python version and consider whether the lack of maintenance is acceptable for your use case.
Provides GNU readline library support for Python on platforms like macOS that lack it by default, bundling and statically linking readline into a Python extension module.
Safely renders README files in Markdown, reStructuredText, and plain text formats to HTML, designed for use in package repositories like PyPI.
Install it if you need to render README files safely to HTML or validate package metadata formatting—it's the standard tool for this task in the Python packaging…
Provides Sphinx extensions that integrate documentation builds with Read the Docs features, including template overrides and build customizations.
No, not for new projects.
A Sphinx extension that adds real-time search-as-you-type functionality to documentation hosted on Read the Docs.
Embeddable graph database with Cypher query support, full-text search, vector indices, and columnar storage optimized for analytical workloads on large datasets.
A drop-in replacement for Python's `re` module that uses a linear-time regex engine guaranteed safe from ReDoS attacks, while supporting bounded lookarounds that other linear engines omit.
Real-ESRGAN upscales images and videos using deep learning models trained on synthetic data, with specialized support for anime content and face enhancement through integrated GFPGAN.
Install it if you have a GPU or can tolerate CPU inference; expect to download model weights on first use.
A Python client for Supabase Realtime that sends ephemeral broadcast messages, synchronizes shared state via Presence, and listens to PostgreSQL database changes through CDC.
RealtimeSTT converts speech from microphone or external audio streams into text using voice activity detection and pluggable transcription engines like faster-whisper, with optional wake-word activation.
The main gotchas are the system PortAudio dependency and Python 3.11+ requirement; if your environment meets those, it's a solid choice for local speech recognition…
Reasoning Gym generates procedurally verifiable reasoning datasets and RL training environments across algebra, arithmetic, logic, games, and other domains, with adjustable complexity and algorithmic answer verification.
A patched version of Playwright that automates Chromium, Firefox, and WebKit browsers while attempting to evade bot-detection systems through rebrowser patches.
However, the aging maintenance status (462 days since release) and small community (102 stars) mean you should verify that the patches still work against current…
ReBulk provides a fluent API for building complex string pattern matchers using regex, string, and functional patterns, with automatic conflict resolution when multiple matches overlap.
Install it if you're building a text parser or pattern extractor where regex alone becomes hard to follow or maintain.