Every page is quotes with their sources; every tool was tested against an independent reference before it was listed. Reading and running are free for each internet address, up to 100 uses or $2.00 a day, whichever runs out first; searching is always free.
If not specified, the strings default to blanks. import sys from difflib import * s1 = \['bacon\\n', 'eggs\\n'…
Python Bytecode Instructions¶ The get_instructions() function and Bytecode class provide details of bytecode…
The string is converted to a Python script, where doctest examples in s are converted to regular code, and everything…
The Python Software Foundation is a non-profit corporation. — [email — An email and MIME handling package — Python…
BLUE = 3 # functional syntax Color = Enum('Color', \[('RED', 1), ('GREEN', 2), ('BLUE', 3)\]) Even though we can use…
ENOLCK¶ No record locks available errno. — [errno — Standard errno system symbols — Python 3.13.18 documentation…
LOCK_UN¶ Release an existing lock. fcntl. — [fcntl — The fcntl and ioctl system calls — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [filecmp — File and Directory Comparisons — Python…
The Python Software Foundation is a non-profit corporation. — [fileinput — Iterate over lines from multiple input…
The Python Software Foundation is a non-profit corporation. — [fnmatch — Unix filename pattern matching — Python…
Fraction(other_fraction) class fractions. — [fractions — Rational numbers — Python 3.13.18 documentation…
In Python 3.12+ this locking is removed. functools.cmp_to_key(func)¶ Transform an old-style comparison function to a…
The Python Software Foundation is a non-profit corporation. — [gc — Garbage Collector interface — Python 3.13.18…
The Python Software Foundation is a non-profit corporation. — [getopt — C-style parser for command line options —…
The Python Software Foundation is a non-profit corporation. — [getpass — Portable password input — Python 3.13.18…
With these two programs, you may not need the GNU gettext package to internationalize your Python applications.)…
The glob module defines the following functions: glob.glob(pathname, *, root_dir=None, dir_fd=None, recursive=False…
The Python Software Foundation is a non-profit corporation. — [graphlib — Functionality to operate with graph-like…
The Python Software Foundation is a non-profit corporation. — [grp — The group database — Python 3.13.18 documentation…
In case gzip (de)compression is a bottleneck, the python-isal package speeds up (de)compression with a mostly…
The slow pure Python implementation has been removed. hashlib.scrypt(password, *, salt, n, r, p, maxmem=0, dklen=64)¶…
No collector hit or local mesh claim applied to this request after relevance gating.
See also Module hashlibThe Python module providing secure hash functions. — [hmac — Keyed-Hashing for Message…
The Python Software Foundation is a non-profit corporation. — [html — HyperText Markup Language support — Python…
Future versions of Python may not enable this finder by default. class importlib.machinery. — [importlib — The…
For Python implementations without such types, this method will always return False…
The Python Software Foundation is a non-profit corporation. — [io — Core tools for working with streams — Python…
IPv6Address('::1')) '::1' int(ipaddress. — [ipaddress — IPv4/IPv6 manipulation library — Python 3.13.18 documentation…
Substantially all of these recipes and many, many others can be installed from the more-itertools project found on the…
Supports the following objects and types by default: Python JSON dict object list, tuple array str string int, float…
The Python Software Foundation is a non-profit corporation. — [linecache — Random access to text lines — Python 3.13.18…
Changed in version 3.7: The function now always returns "utf-8" on Android or if the Python UTF-8 Mode is enabled…
Original Python logging packageThis is the original source for the logging package. — [logging — Logging facility for…
This is the default for FORMAT_XZ. lzma. — [lzma — Compression using the LZMA algorithm — Python 3.13.18 documentation…
If no valid value is read (e.g. because the data has a different Python version’s incompatible marshal format), raise…
For this reason, function fmod() is generally preferred when working with floats, while Python’s x % y is preferred…
The Python Software Foundation is a non-profit corporation. — [mimetypes — Map filenames to MIME types — Python 3.13.18…
This example shows a simple way of using mmap: import mmap # write a simple example file with open("hello.txt", "wb")…
See bpo-33725. multiprocessing.set_executable(executable)¶ Set the path of the Python interpreter to use when starting…
The Python Software Foundation is a non-profit corporation. — [netrc — netrc file processing — Python 3.13.18…
For example, (1+3j).conjugate() == (1-3j). class numbers. — [numbers — Numeric abstract base classes — Python 3.13.18…
Equivalent to: def methodcaller(name, /, *args, **kwargs): def caller(obj): return getattr(obj, name)(*args, **kwargs)…
As of Python 3.3, this is equivalent to os.stat(fd). — [os — Miscellaneous operating system interfaces — Python 3.13.18…
Python’s str and bytes types, and portions of the os and os.path modules, are written in C and are very speedy. pathlib…
The exclamation point can be omitted unless the first word of the statement resembles a debugger command, e.g.: (Pdb) !…
If fix_imports is true, pickle will try to map the old Python 2 names to the new names used in Python 3. — [pickle —…
The Python Software Foundation is a non-profit corporation. — [pkgutil — Package extension utility — Python 3.13.18…
Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to '0')…
If a long object cannot be split, the specified width will be exceeded: pprint.pp(project_info, depth=1, width=60)…
Table of Contents The Python Profilers Introduction to the profilers Instant User’s Manual profile and cProfile Module…
Raises an auditing event pty.spawn with argument argv. — [pty — Pseudo-terminal utilities — Python 3.13.18…
The Python Software Foundation is a non-profit corporation. — [pwd — The password database — Python 3.13.18…
SimpleQueue¶ Constructor for an unbounded FIFO queue. — [queue — A synchronized queue class — Python 3.13.18…
Most of the random module’s algorithms and seeding functions are subject to change across Python versions, but two…
The table below offers some more-or-less equivalent mappings between scanf() format tokens and regular expressions…
Changing the attributes of this object will affect the size limits used by repr() and the Python debugger…
May not be available on all systems. resource. — [resource — Resource usage information — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [runpy — Locating and executing Python modules — Python…
The Python Software Foundation is a non-profit corporation. — [sched — Event scheduler — Python 3.13.18 documentation…
The Python Software Foundation is a non-profit corporation. — [secrets — Generate secure random numbers for managing…
However, when supplied, its value must be 0 or select. — [select — Waiting for I/O completion — Python 3.13.18…
EVENT_READ¶ Available for read selectors. — [selectors — High-level I/O multiplexing — Python 3.13.18 documentation…
Module pickleObject serialization used by shelve. — [shelve — Python object persistence — Python 3.13.18 documentation…
Warning The shlex module is only designed for Unix shells. — [shlex — Simple lexical analysis — Python 3.13.18…
EXE' This is also applied when cmd is a path that contains a directory component…
The Python signal handlers will be called when the calculation finishes. — [signal — Set handlers for asynchronous…
Y\[t\]/site-packages for UNIX and non-framework macOS builds, ~/Library/Python/X. — [site — Site-specific configuration…
However, the system network stack may also return a connection timeout error of its own regardless of any Python socket…
StreamRequestHandler¶ class socketserver. — [socketserver — A framework for network servers — Python 3.13.18…
They will become keyword-only parameters in Python 3.15. sqlite3.complete_statement(statement)¶ Return True if the…
Starting from Python 3.2.3, the ssl module disables certain weak ciphers by default, but you may want to further…
S_IRUSR¶ Owner has read permission. stat. — [stat — Interpreting stat() results — Python 3.13.18 documentation…
Raises StatisticsError if data is empty. — [statistics — Mathematical statistics functions — Python 3.13.18…
This value is not locale-dependent and will not change. string.digits¶ The string '0123456789'. string.hexdigits¶ The…
Applications¶ Two main applications for the struct module exist, data interchange between Python and C code within an…
Older high-level API¶ Prior to Python 3.5, these three functions comprised the high level API to subprocess. —…
Y/site-packages/ (always use lib, not sys.platlibdir): Third-party modules /usr/lib64/pythonX. — [sys — System-specific…
By default, archives are fully trusted, but this default is deprecated and slated to change in Python 3.14…
Changed in version 3.8: Added errors parameter. tempfile. — [tempfile — Generate temporary files and directories —…
Requires at least one of the pairs (termios. — [termios — POSIX style tty control — Python 3.13.18 documentation…
1475 tools in 453 families: one tool heads each family, and the ways to do the same job on other input, ignoring case or in another order are its variants.
Adds the numbers up.
Decode a standard base64 string back to text, ignoring whitespace and padding.
Encode ASCII text as base64, the form agents paste into headers and data urls.
Encode text as base64url, using a URL-safe alphabet and padding.
Turns camelCase into snake_case.
Makes every letter uppercase, then turns camelCase into snake_case.
Turns camelCase into snake_case, then makes every letter lowercase.
Turns camelCase into snake_case, then makes every letter uppercase.
Collapse spaces, tabs, and newlines into a single space and trim the ends.
Counts the characters.
Makes every letter lowercase, then counts the characters.
Tidies the spacing to one space between words and none at the ends, then counts the characters.
Trims the spaces around each line, then counts the characters.
Splits a CSV row into one field per line, then counts the characters.
Turns tabs into spaces, then counts the characters.
Trims the spaces around each line, makes every letter lowercase, then counts the characters.
Trims the spaces around each line, makes every letter uppercase, then counts the characters.
Splits a CSV row into one field per line, makes every letter lowercase, then counts the characters.
Splits a CSV row into one field per line, makes every letter uppercase, then counts the characters.
Tidies the spacing to one space between words and none at the ends, makes every letter lowercase, then counts the characters.
Splits a CSV row into one field per line, trims each line, then counts the characters.
Turns tabs into spaces, tidies the spacing, then counts the characters.
Counts the lines.
Splits a CSV row into one field per line, then counts the lines.
Makes every letter uppercase, then counts the lines.
Trims the spaces around each line, then counts the lines.
Trims the spaces around each line, makes every letter lowercase, then counts the lines.
Trims the spaces around each line, makes every letter uppercase, then counts the lines.
Splits a CSV row into one field per line, makes every letter lowercase, then counts the lines.
Splits a CSV row into one field per line, makes every letter uppercase, then counts the lines.
Splits a CSV row into one field per line, trims each line, then counts the lines.
Counts the numbers.
Counts the different words.
Makes every letter lowercase, then counts the different words.
Makes every letter uppercase, then counts the different words.
Trims the spaces around each line, then counts the different words.
Splits a CSV row into one field per line, then counts the different words.
Tidies the spacing to one space between words and none at the ends, then counts the different words.
Trims the spaces around each line, makes every letter lowercase, then counts the different words.
Trims the spaces around each line, makes every letter uppercase, then counts the different words.
Tidies the spacing to one space between words and none at the ends, makes every letter lowercase, then counts the different words.
Splits a CSV row into one field per line, trims each line, then counts the different words.
Turns tabs into spaces, tidies the spacing, makes every letter lowercase, then counts the different words.
Counts the different words ignoring case.
Counts the words.
Makes every letter lowercase, then counts the words.
Tidies the spacing to one space between words and none at the ends, then counts the words.
Makes every letter uppercase, then counts the words.
Trims the spaces around each line, then counts the words.
Turns tabs into spaces, then counts the words.
Splits a CSV row into one field per line, then counts the words.
Trims the spaces around each line, makes every letter lowercase, then counts the words.
Trims the spaces around each line, makes every letter uppercase, then counts the words.
Splits a CSV row into one field per line, makes every letter lowercase, then counts the words.
Splits a CSV row into one field per line, makes every letter uppercase, then counts the words.
Splits a CSV row into one field per line, trims each line, then counts the words.
Turns tabs into spaces, tidies the spacing, then counts the words.
Quote one CSV field, doubling quotes inside it, so a comma or newline stays in the field.
Splits a CSV row into one field per line.
Csv to json.
Csv to markdown table.
Pull the numeric cells out of a CSV into one number per line, using the same number scan as the numbers tools.
Rewrites the dates in ISO format (YYYY-MM-DD).
Rewrites the dates in ISO format (YYYY-MM-DD), then makes every letter uppercase.
Rewrites the dates in ISO format (YYYY-MM-DD), then tidies the spacing.
Rewrites the dates in ISO format (YYYY-MM-DD), tidies the spacing, then makes every letter lowercase.
Keeps only the first line.
Keeps only the first line, then makes every letter lowercase.
Splits a CSV row into one field per line, then keeps the first.
Tidies the spacing to one space between words and none at the ends, then keeps the first.
Trims the spaces around each line, then keeps the first.
Trims the spaces around each line, keeps the first, then makes every letter uppercase.
Trims the spaces around each line, makes every letter lowercase, then keeps the first.
Trims the spaces around each line, makes every letter uppercase, then keeps the first.
Splits a CSV row into one field per line, keeps the first, then makes every letter lowercase.
Splits a CSV row into one field per line, makes every letter lowercase, then keeps the first.
Splits a CSV row into one field per line, makes every letter uppercase, then keeps the first.
Splits a CSV row into one field per line, trims each line, then keeps the first.
Parse a form-urlencoded string into a JSON object, so a=1&b=two becomes {"a":"1","b":"two"}.
Encode ASCII text as lowercase hex, two digits per character.
Escape ampersands, brackets and quotes so a string can sit in HTML.
Turn HTML character references for amp, lt, gt, quotes, and newlines back into characters.
Int to markdown table.
Wrap a string as one JSON string, escaping quotes, slashes and newlines.
Json to csv.
Json to markdown table.
Turns JSON into key: value lines.
Turns JSON into key: value lines, then joins them into one CSV row.
Turns JSON into key: value lines, then makes every letter lowercase.
Turns JSON into key: value lines, then makes every letter uppercase.
Turns JSON into key: value lines, makes every letter lowercase, then makes every letter uppercase.
Keeps only the last line.
Keeps only the last line, then makes every letter uppercase.
Splits a CSV row into one field per line, then keeps the last.
Trims the spaces around each line, then keeps the last.
Trims the spaces around each line, makes every letter lowercase, then keeps the last.
Trims the spaces around each line, makes every letter uppercase, then keeps the last.
Splits a CSV row into one field per line, makes every letter lowercase, then keeps the last.
Splits a CSV row into one field per line, makes every letter uppercase, then keeps the last.
Splits a CSV row into one field per line, trims each line, then keeps the last.
Lines to markdown table.
Joins the lines into one CSV row.
Turns the lines into a JSON list.
Lists the JSON's keys in A→Z order.
Lists the JSON's keys in A→Z order, then makes every letter lowercase.
Lists the JSON's keys in A→Z order, then makes every letter uppercase.
Lists the JSON's keys in A→Z order, then joins them into one CSV row.
Lists the JSON's keys in A→Z order, makes every letter lowercase, then makes every letter uppercase.
Lists the JSON's keys in A→Z order, makes every letter uppercase, then makes every letter lowercase.
Lists the JSON's keys in A→Z order, trims each line, then makes every letter lowercase.
Lists the JSON's keys in A→Z order, trims each line, then makes every letter uppercase.
Turn a markdown table into a rectangular CSV, keeping the header and skipping the separator row.
Markdown table to json.
Minifies the JSON onto one line.
Numbers the lines 1, 2, 3…
Numbers the lines 1, 2, 3…, then joins them into one CSV row.
Numbers the lines 1, 2, 3…, then makes every letter lowercase.
Numbers the lines 1, 2, 3…, then makes every letter uppercase.
Splits a CSV row into one field per line, then numbers them.
Tidies the spacing to one space between words and none at the ends, then numbers them.
Numbers the lines 1, 2, 3…, then tidies the spacing.
Turns tabs into spaces, then numbers them.
Trims the spaces around each line, then numbers them.
Numbers the lines 1, 2, 3…, makes every letter lowercase, then makes every letter uppercase.
Numbers the lines 1, 2, 3…, makes every letter uppercase, then makes every letter lowercase.
Trims the spaces around each line, numbers them, then joins them into one CSV row.
Numbers the lines 1, 2, 3…, makes every letter lowercase, then numbers them.
Numbers the lines 1, 2, 3…, trims each line, then makes every letter lowercase.
Numbers the lines 1, 2, 3…, trims each line, then makes every letter uppercase.
Numbers the lines 1, 2, 3…, makes every letter uppercase, then numbers them.
Trims the spaces around each line, makes every letter lowercase, then numbers them.
Trims the spaces around each line, numbers them, then makes every letter lowercase.
Trims the spaces around each line, numbers them, then makes every letter uppercase.
Trims the spaces around each line, makes every letter uppercase, then numbers them.
Splits a CSV row into one field per line, makes every letter lowercase, then numbers them.
Splits a CSV row into one field per line, numbers them, then makes every letter lowercase.
Splits a CSV row into one field per line, numbers them, then makes every letter uppercase.
Splits a CSV row into one field per line, makes every letter uppercase, then numbers them.
Tidies the spacing to one space between words and none at the ends, makes every letter lowercase, then numbers them.
Tidies the spacing to one space between words and none at the ends, makes every letter uppercase, then numbers them.
Numbers the lines 1, 2, 3…, trims each line, then numbers them.
Splits a CSV row into one field per line, trims each line, then numbers them.
Turns tabs into spaces, makes every letter lowercase, then numbers them.
Turns tabs into spaces, makes every letter uppercase, then numbers them.
Turn scanned numbers into a two-column CSV with the header value,kind and one number on each row.
Numbers to json.
Numbers to markdown table.
Encode one URL query component, leaving letters and digits as they are.
Pretty-prints the JSON.
Pulls out every email address once in A→Z order.
Pulls out every email address once in A→Z order, then makes every letter uppercase.
Pulls out every email address once in A→Z order, then joins them into one CSV row.
Pulls out the issue ids.
Pulls out the issue ids, then joins them into one CSV row.
Pulls out the issue ids, then makes every letter lowercase.
Pulls out the issue ids, makes every letter uppercase, then makes every letter lowercase.
Pulls out every link once in A→Z order.
Pulls out every link once in A→Z order, then makes every letter uppercase.
Pulls out every link once in A→Z order, then joins them into one CSV row.
Removes duplicate lines and keeps the first of each.
Removes duplicate lines and keeps the first of each, then joins them into one CSV row.
Removes duplicate lines and keeps the first of each, then makes every letter lowercase.
Removes duplicate lines and keeps the first of each, then makes every letter uppercase.
Removes duplicate lines and keeps the first of each, then tidies the spacing.
Tidies the spacing to one space between words and none at the ends, then removes duplicates.
Trims the spaces around each line, then removes duplicates.
For a CSV row: removes duplicate fields and keeps the first of each.
Removes duplicate lines and keeps the first of each, makes every letter lowercase, then makes every letter uppercase.
Removes duplicate lines and keeps the first of each, makes every letter uppercase, then makes every letter lowercase.
Removes duplicate lines and keeps the first of each, trims each line, then joins them into one CSV row.
Trims the spaces around each line, removes duplicates, then joins them into one CSV row.
Removes duplicate lines and keeps the first of each, makes every letter lowercase, then removes duplicates.
Removes duplicate lines and keeps the first of each, makes every letter uppercase, then removes duplicates.
Removes duplicate lines and keeps the first of each, trims each line, then makes every letter lowercase.
Removes duplicate lines and keeps the first of each, trims each line, then makes every letter uppercase.
Trims the spaces around each line, removes duplicates, then makes every letter lowercase.
Trims the spaces around each line, removes duplicates, then makes every letter uppercase.
Trims the spaces around each line, makes every letter lowercase, then removes duplicates.
Trims the spaces around each line, makes every letter uppercase, then removes duplicates.
Splits a CSV row into one field per line, removes duplicates, then makes every letter lowercase.
Splits a CSV row into one field per line, removes duplicates, then makes every letter uppercase.
Splits a CSV row into one field per line, makes every letter lowercase, then removes duplicates.
Splits a CSV row into one field per line, makes every letter uppercase, then removes duplicates.
Removes duplicate lines and keeps the first of each, trims each line, then removes duplicates.
Tidies the spacing to one space between words and none at the ends, makes every letter uppercase, then removes duplicates.
Turns tabs into spaces, makes every letter lowercase, then removes duplicates.
Turns tabs into spaces, makes every letter uppercase, then removes duplicates.
Trims the spaces around each line, makes every letter lowercase, removes duplicates, then joins them into one CSV row.
Trims the spaces around each line, makes every letter uppercase, removes duplicates, then joins them into one CSV row.
For a CSV row: makes every letter lowercase, then removes duplicates.
For a CSV row: makes every letter uppercase, then removes duplicates.
Removes the numbers at the start of each line.
Removes the numbers at the start of each line, then joins them into one CSV row.
Trims the spaces around each line, removes the line numbers, then joins them into one CSV row.
Removes the numbers at the start of each line, trims each line, then joins them into one CSV row.
For a CSV row: removes the numbers at the start of each field.
Trims the spaces around each line, removes the line numbers, then makes every letter lowercase.
Trims the spaces around each line, removes the line numbers, then makes every letter uppercase.
Splits a CSV row into one field per line, removes the line numbers, then makes every letter lowercase.
Splits a CSV row into one field per line, removes the line numbers, then makes every letter uppercase.
Reverse the characters of a text, including spaces and newlines.
Reverses the order of the lines.
Reverses the order of the lines, then joins them into one CSV row.
Reverses the order of the lines, then makes every letter lowercase.
Reverses the order of the lines, then makes every letter uppercase.
Tidies the spacing to one space between words and none at the ends, then reverses their order.
Splits a CSV row into one field per line, then reverses their order.
Reverses the order of the lines, then tidies the spacing.
Turns tabs into spaces, then reverses their order.
Trims the spaces around each line, then reverses their order.
Reverses the order of the lines, makes every letter lowercase, then makes every letter uppercase.
Reverses the order of the lines, makes every letter uppercase, then makes every letter lowercase.
Reverses the order of the lines, trims each line, then joins them into one CSV row.
Trims the spaces around each line, reverses their order, then joins them into one CSV row.
Reverses the order of the lines, makes every letter lowercase, then reverses their order.
Reverses the order of the lines, trims each line, then makes every letter lowercase.
Reverses the order of the lines, trims each line, then makes every letter uppercase.
Reverses the order of the lines, makes every letter uppercase, then reverses their order.
Trims the spaces around each line, makes every letter lowercase, then reverses their order.
Trims the spaces around each line, reverses their order, then makes every letter lowercase.
Trims the spaces around each line, reverses their order, then makes every letter uppercase.
Trims the spaces around each line, makes every letter uppercase, then reverses their order.
Splits a CSV row into one field per line, makes every letter lowercase, then reverses their order.
Splits a CSV row into one field per line, reverses their order, then makes every letter lowercase.
Splits a CSV row into one field per line, reverses their order, then makes every letter uppercase.
Splits a CSV row into one field per line, makes every letter uppercase, then reverses their order.
Tidies the spacing to one space between words and none at the ends, makes every letter lowercase, then reverses their order.
Tidies the spacing to one space between words and none at the ends, makes every letter uppercase, then reverses their order.
Reverses the order of the lines, trims each line, then reverses their order.
Splits a CSV row into one field per line, trims each line, then reverses their order.
Turns tabs into spaces, makes every letter uppercase, then reverses their order.
For a CSV row: makes every letter lowercase, then reverses their order.
Scalar to csv.
Scalar to markdown table.
Sort semantic-version lines into SemVer precedence, so 1.0.0-alpha comes before 1.0.0.
Wrap a string in POSIX single quotes so a shell does not expand it.
Turns snake_case into camelCase.
Turns snake_case into camelCase, then makes every letter lowercase.
Makes every letter lowercase, then turns snake_case into camelCase.
Makes every letter uppercase, then turns snake_case into camelCase.
Turns snake_case into camelCase, then makes every letter uppercase.
Small predicates every result of a tool must satisfy: that JSON is valid, that sorted lines are sorted, that a table is rectangular. A tool whose output fails its check returns nothing rather than something wrong.