Personal tools
Skip to content. | Skip to navigation
This is a metapackage bringing in idna2008 extras requires for python3-rfc3986. It makes sure the dependencies are installed.
A Python implementation of RFC 3986 including validation and authority parsing.
rfc3986-validatorA pure python RFC3986 validator [ >>> validate_rfc3986(' also support validate [URI-reference]( rule
This module provides regular expressions according to RFC 3986 "Uniform Resource Identifier (URI): Generic Syntax" <http://tools.ietf.org/html/rfc3986> and RFC 3987 "Internationalized Resource Identifiers (IRIs)" <http://tools.ietf.org/html/rfc3987>, and utilities for composition and relative resolution of references. This package includes the Python 3 version of the module.
English readme • 简体中文 readme • 正體中文 readme • Lengua española readme • Deutsche readme • Läs på svenska • 日本語 readme • 한국어 readme • Français readme • Schwizerdütsch readme • हिन्दी readme • Português brasileiro readme • Italian readme • Русский readme • Indonesian readme • فارسی readme • Türkçe readme • Polskie readme Rich is a Python library for rich text and beautiful formatting in the terminal. The Rich API makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more — out of the box. For a video introduction to Rich see calmcode.io by @fishnets88. See what people are saying about Rich. Compatibility Rich works with Linux, macOS and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.8 or later. Rich works with Jupyter notebooks with no additional configuration required. Installing Install with pip or y
rich-argparse Format argparse and optparse help using rich. rich-argparse improves the look and readability of argparse's help while requiring minimal changes to the code. Table of contents Installation Usage Output styles Colors Group names Highlighting patterns "usage" --version Subparsers Third party formatters (ft. django) Optparse (experimental) Legacy Windows Installation Install from PyPI with pip or your favorite tool. pip install rich-argparse Usage Simply pass formatter_class to the argument parser import argparse from rich_argparse import RichHelpFormatter parser = argparse.ArgumentParser(..., formatter_class=RichHelpFormatter) ... rich-argparse defines equivalents to argparse's built-in formatters: rich_argparse formatter equivalent in argparse RichHelpFormatter HelpFormatter RawDescriptionRichHelpFormatter RawDescriptionHelpFormatter RawTextRichHelpFormatter RawTextHelpFormatter ArgumentDefaultsRichHelpFormatter ArgumentDefaultsHelpFormatter
Richly rendered command line interfaces in click.
Rich DataFrame Create animated and pretty Pandas Dataframe or Pandas Series, as shown below: Installation pip install rich-dataframe Usage Minimal example from sklearn.datasets import fetch_openml from rich_dataframe import prettify speed_dating = fetch_openml(name='SpeedDating', version=1)['frame'] table = prettify(speed_dating) If you want to pass a non-dataframe object, rich_dataframe got it covered too! from rich_dataframe import prettify var = {'a': 1, 'b': 3} prettify(var) Parameters df: pd.DataFrame The data you want to prettify row_limit : int, optional Number of rows to show, by default 20 col_limit : int, optional Number of columns to show, by default 10 first_rows : bool, optional Whether to show first n rows or last n rows, by default True. If this is set to False, show last n rows. first_cols : bool, optional Whether to show first n columns or last n columns, by default True. If this is set to False, show last n rows. delay_time : int, optional How fast is the
Robot Framework is a generic open source automation framework for acceptance testing, acceptance test driven development (ATDD), and robotic process automation (RPA). It has simple plain text syntax and it can be extended easily with libraries implemented using Python or Java.