• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains a collection of executable Python scripts that are
2useful while building, extending or managing Python.  Some (e.g., dutree or lll)
3are also generally useful UNIX tools.
4
52to3                      Main script for running the 2to3 conversion tool
6abitype.py                Converts a C file to use the PEP 384 type definition API
7analyze_dxp.py            Analyzes the result of sys.getdxp()
8byext.py                  Print lines/words/chars stats of files by extension
9byteyears.py              Print product of a file's size and age
10cleanfuture.py            Fix redundant Python __future__ statements
11combinerefs.py            A helper for analyzing PYTHONDUMPREFS output
12copytime.py               Copy one file's atime and mtime to another
13crlf.py                   Change CRLF line endings to LF (Windows to Unix)
14db2pickle.py              Dump a database file to a pickle
15diff.py                   Print file diffs in context, unified, or ndiff formats
16dutree.py                 Format du(1) output as a tree sorted by size
17eptags.py                 Create Emacs TAGS file for Python modules
18finddiv.py                A grep-like tool that looks for division operators
19findlinksto.py            Recursively find symbolic links to a given path prefix
20findnocoding.py           Find source files which need an encoding declaration
21find_recursionlimit.py    Find the maximum recursion limit on this machine
22find-uname.py             Look for the given arguments in the sets of all Unicode names
23fixcid.py                 Massive identifier substitution on C source files
24fixdiv.py                 Tool to fix division operators.
25fixheader.py              Add some cpp magic to a C include file
26fixnotice.py              Fix the copyright notice in source files
27fixps.py                  Fix Python scripts' first line (if #!)
28ftpmirror.py              FTP mirror script
29get-remote-certificate.py Fetch the certificate that the server(s) are providing in PEM form
30google.py                 Open a webbrowser with Google
31gprof2html.py             Transform gprof(1) output into useful HTML
32highlight.py              Python syntax highlighting with HTML output
33idle3                     Main program to start IDLE
34ifdef.py                  Remove #if(n)def groups from C sources
35import_diagnostics.py     Miscellaneous diagnostics for the import system
36lfcr.py                   Change LF line endings to CRLF (Unix to Windows)
37linktree.py               Make a copy of a tree with links to original files
38lll.py                    Find and list symbolic links in current directory
39mailerdaemon.py           Parse error messages from mailer daemons (Sjoerd&Jack)
40make_ctype.py             Generate ctype.h replacement in stringobject.c
41md5sum.py                 Print MD5 checksums of argument files
42mkreal.py                 Turn a symbolic link into a real file or directory
43ndiff.py                  Intelligent diff between text files (Tim Peters)
44nm2def.py                 Create a template for PC/python_nt.def (Marc Lemburg)
45objgraph.py               Print object graph from nm output on a library
46parseentities.py          Utility for parsing HTML entity definitions
47parse_html5_entities.py   Utility for parsing HTML5 entity definitions
48patchcheck.py             Perform common checks and cleanup before committing
49pathfix.py                Change #!/usr/local/bin/python into something else
50pdeps.py                  Print dependencies between Python modules
51pickle2db.py              Load a pickle generated by db2pickle.py to a database
52pindent.py                Indent Python code, giving block-closing comments
53ptags.py                  Create vi tags file for Python modules
54pydoc3                    Python documentation browser
55pysource.py               Find Python source files
56reindent.py               Change .py files to use 4-space indents
57reindent-rst.py           Fix-up reStructuredText file whitespace
58rgrep.py                  Reverse grep through a file (useful for big logfiles)
59run_tests.py              Run the test suite with more sensible default options
60serve.py                  Small wsgiref-based web server, used in make serve in Doc
61stable_abi.py             Stable ABI checks and file generators.
62suff.py                   Sort a list of files by suffix
63texi2html.py              Convert GNU texinfo files into HTML
64untabify.py               Replace tabs with spaces in argument files
65which.py                  Find a program in $PATH
66win_add2path.py           Add Python to the search path on Windows
67