cpython/Tools/scripts
2022-07-25 10:43:59 -07:00
..
2to3 gh-93939: Create and install scripts in Makefile (GH-94324) 2022-06-28 14:56:06 +02:00
abitype.py
analyze_dxp.py
byext.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
byteyears.py
check_extension_modules.py gh-93939: Build C extensions without setup.py (GH-94474) 2022-07-14 00:51:49 -07:00
checkpip.py pypi.python.org -> pypi.org (GH-7613) 2018-06-11 00:45:50 -04:00
cleanfuture.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
combinerefs.py bpo-39573: Use the Py_TYPE() macro (GH-21433) 2020-07-10 12:40:38 +02:00
copytime.py
crlf.py
db2pickle.py
deepfreeze.py gh-94773: deepfreeze: support frozensets with unsortable types (GH-94775) 2022-07-12 18:09:47 +02:00
diff.py Removed unused imports. 2016-04-25 00:12:32 +03:00
dutree.doc Fix typos in the Tools directory (GH-28769) 2021-10-06 10:55:16 -07:00
dutree.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
eptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
find-uname.py
find_recursionlimit.py Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
finddiv.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
findlinksto.py
findnocoding.py Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
fixcid.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 2019-03-30 08:32:18 +02:00
fixdiv.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 2019-03-30 08:32:18 +02:00
fixheader.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 2019-03-30 08:32:18 +02:00
fixnotice.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
fixps.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
freeze_modules.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
generate_global_objects.py GH-94851: check refcnt of immortal objects after finalization (GH-95001) 2022-07-25 10:43:59 -07:00
generate_opcode_h.py GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) 2022-07-22 11:04:20 -07:00
generate_re_casefix.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
generate_sre_constants.py gh-91404: Use computed gotos and reduce indirection in re (#91495) 2022-04-15 09:26:44 -07:00
generate_stdlib_module_names.py gh-93939: Build C extensions without setup.py (GH-94474) 2022-07-14 00:51:49 -07:00
generate_token.py gh-92651: Remove the Include/token.h header file (#92652) 2022-05-11 23:22:50 +02:00
get-remote-certificate.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
google.py Issue #26830: Refactor Tools/scripts/google.py 2016-09-14 10:59:27 +03:00
gprof2html.py Fix EncodingWarning in test_tools. (GH-28846) 2021-10-10 09:14:40 +02:00
highlight.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
idle3 gh-93939: Create and install scripts in Makefile (GH-94324) 2022-06-28 14:56:06 +02:00
ifdef.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
import_diagnostics.py
lfcr.py
linktree.py
lll.py bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) 2019-05-02 18:03:43 +03:00
mailerdaemon.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
make_ctype.py
md5sum.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
mkreal.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
ndiff.py Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
nm2def.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
objgraph.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
parse_html5_entities.py gh-82927: Update files related to HTML entities. (GH-92504) 2022-06-21 22:03:12 +02:00
patchcheck.py CI: Fix patchcheck (GH-31708) 2022-03-14 15:28:57 +02:00
pathfix.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
pdeps.py bpo-43651: PEP 597: Fix pdeps used locale encoding (GH-25204) 2021-04-06 17:02:54 +09:00
pep384_macrocheck.py Fix typos in pep384_macrocheck.py (GH-28220) 2021-09-10 22:44:03 +08:00
pickle2db.py
pindent.py
ptags.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
pydoc3
pysource.py
README bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' (GH-32354) 2022-04-29 15:47:26 +02:00
reindent-rst.py
reindent.py bpo-30109: Fix reindent.py (GH-1207) 2017-04-19 22:59:20 -07:00
rgrep.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927) 2019-03-30 08:33:02 +02:00
run_tests.py gh-84461: Fix parallel testing on WebAssembly (GH-93768) 2022-06-13 19:51:04 +02:00
smelly.py bpo-45561: Run smelly.py tool from $(srcdir) (GH-29138) 2021-11-23 08:51:02 +01:00
stable_abi.py gh-84623: Remove unused imports (#94132) 2022-06-22 19:14:27 +02:00
startuptime.py bpo-45850: Implement deep-freeze on Windows (#29648) 2021-11-22 10:09:48 -08:00
suff.py
summarize_stats.py GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168) 2022-06-27 12:24:23 +01:00
texi2html.py bpo-22831: Use "with" to avoid possible fd leaks in tools (part 1). (GH-10926) 2019-03-30 08:32:18 +02:00
umarshal.py GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
untabify.py
update_file.py bpo-45020: Fix some corner cases for frozen module generation. (gh-28538) 2021-09-24 14:35:47 -06:00
var_access_benchmark.py bpo-35884: Add string-keys-only microbenchmark for dict access to var_access_benchmark.py (GH-11905) 2019-03-25 01:20:53 -07:00
verify_ensurepip_wheels.py gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) 2022-06-22 15:32:22 +02:00
which.py bpo-40094: Fix which.py script exit code (GH-19286) 2020-04-02 03:42:47 +02:00
win_add2path.py Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00

This directory contains a collection of executable Python scripts that are
useful while building, extending or managing Python.  Some (e.g., dutree or lll)
are also generally useful UNIX tools.

2to3                      Main script for running the 2to3 conversion tool
abitype.py                Converts a C file to use the PEP 384 type definition API
analyze_dxp.py            Analyzes the result of sys.getdxp()
byext.py                  Print lines/words/chars stats of files by extension
byteyears.py              Print product of a file's size and age
cleanfuture.py            Fix redundant Python __future__ statements
combinerefs.py            A helper for analyzing PYTHONDUMPREFS output
copytime.py               Copy one file's atime and mtime to another
crlf.py                   Change CRLF line endings to LF (Windows to Unix)
db2pickle.py              Dump a database file to a pickle
diff.py                   Print file diffs in context, unified, or ndiff formats
dutree.py                 Format du(1) output as a tree sorted by size
eptags.py                 Create Emacs TAGS file for Python modules
finddiv.py                A grep-like tool that looks for division operators
findlinksto.py            Recursively find symbolic links to a given path prefix
findnocoding.py           Find source files which need an encoding declaration
find_recursionlimit.py    Find the maximum recursion limit on this machine
find-uname.py             Look for the given arguments in the sets of all Unicode names
fixcid.py                 Massive identifier substitution on C source files
fixdiv.py                 Tool to fix division operators.
fixheader.py              Add some cpp magic to a C include file
fixnotice.py              Fix the copyright notice in source files
fixps.py                  Fix Python scripts' first line (if #!)
ftpmirror.py              FTP mirror script
get-remote-certificate.py Fetch the certificate that the server(s) are providing in PEM form
google.py                 Open a webbrowser with Google
gprof2html.py             Transform gprof(1) output into useful HTML
highlight.py              Python syntax highlighting with HTML output
idle3                     Main program to start IDLE
ifdef.py                  Remove #if(n)def groups from C sources
import_diagnostics.py     Miscellaneous diagnostics for the import system
lfcr.py                   Change LF line endings to CRLF (Unix to Windows)
linktree.py               Make a copy of a tree with links to original files
lll.py                    Find and list symbolic links in current directory
mailerdaemon.py           Parse error messages from mailer daemons (Sjoerd&Jack)
make_ctype.py             Generate ctype.h replacement in stringobject.c
md5sum.py                 Print MD5 checksums of argument files
mkreal.py                 Turn a symbolic link into a real file or directory
ndiff.py                  Intelligent diff between text files (Tim Peters)
nm2def.py                 Create a template for PC/python_nt.def (Marc Lemburg)
objgraph.py               Print object graph from nm output on a library
parseentities.py          Utility for parsing HTML entity definitions
parse_html5_entities.py   Utility for parsing HTML5 entity definitions
patchcheck.py             Perform common checks and cleanup before committing
pathfix.py                Change #!/usr/local/bin/python into something else
pdeps.py                  Print dependencies between Python modules
pickle2db.py              Load a pickle generated by db2pickle.py to a database
pindent.py                Indent Python code, giving block-closing comments
ptags.py                  Create vi tags file for Python modules
pydoc3                    Python documentation browser
pysource.py               Find Python source files
reindent.py               Change .py files to use 4-space indents
reindent-rst.py           Fix-up reStructuredText file whitespace
rgrep.py                  Reverse grep through a file (useful for big logfiles)
run_tests.py              Run the test suite with more sensible default options
stable_abi.py             Stable ABI checks and file generators.
suff.py                   Sort a list of files by suffix
texi2html.py              Convert GNU texinfo files into HTML
untabify.py               Replace tabs with spaces in argument files
which.py                  Find a program in $PATH
win_add2path.py           Add Python to the search path on Windows