blob: 4181f8f38cde7aa5e1dbc94ee7562de347925f18 [file] [log] [blame]
Guido van Rossumed3c7911995-03-02 15:56:30 +00001This directory contains a collection of executable Python scripts that
2are useful while building, extending or managing Python. Some (e.g.,
3dutree or lll) are also generally useful UNIX tools.
4
5See also the Demo/scripts directory!
6
Jeffrey Yasskin43bff052009-02-24 22:48:34 +00007analyze_dxp.py Analyzes the result of sys.getdxp()
Guido van Rossumbf1b1fd2003-01-02 02:24:22 +00008byext.py Print lines/words/chars stats of files by extension
Guido van Rossumed3c7911995-03-02 15:56:30 +00009byteyears.py Print product of a file's size and age
Martin v. Löwisbb640c12003-06-07 18:46:34 +000010checkappend.py Search for multi-argument .append() calls
Guido van Rossumed3c7911995-03-02 15:56:30 +000011checkpyc.py Check presence and validity of ".pyc" files
12classfix.py Convert old class syntax to new
Martin v. Löwisbb640c12003-06-07 18:46:34 +000013cleanfuture.py Fix reduntant Python __future__ statements
14combinerefs.py A helper for analyzing PYTHONDUMPREFS output.
Guido van Rossumed3c7911995-03-02 15:56:30 +000015copytime.py Copy one file's atime and mtime to another
Guido van Rossuma57c9b91998-10-07 19:52:35 +000016crlf.py Change CRLF line endings to LF (Windows to Unix)
Guido van Rossum4d3376a1997-08-14 20:16:32 +000017cvsfiles.py Print a list of files that are under CVS
Skip Montanaro9445ce52003-02-03 15:09:32 +000018db2pickle.py Dump a database file to a pickle
Raymond Hettingera33d1772003-06-08 23:04:17 +000019diff.py Print file diffs in context, unified, or ndiff formats
Guido van Rossumed3c7911995-03-02 15:56:30 +000020dutree.py Format du(1) output as a tree sorted by size
21eptags.py Create Emacs TAGS file for Python modules
Georg Brandl0b74edd2009-10-11 21:14:37 +000022find_recursionlimit.py Find the maximum recursion limit on this machine
23finddiv.py A grep-like tool that looks for division operators
Guido van Rossumed3c7911995-03-02 15:56:30 +000024findlinksto.py Recursively find symbolic links to a given path prefix
Georg Brandl256372c2005-08-24 21:42:14 +000025findnocoding.py Find source files which need an encoding declaration
Guido van Rossumed3c7911995-03-02 15:56:30 +000026fixcid.py Massive identifier substitution on C source files
Martin v. Löwisbb640c12003-06-07 18:46:34 +000027fixdiv.py Tool to fix division operators.
Guido van Rossumed3c7911995-03-02 15:56:30 +000028fixheader.py Add some cpp magic to a C include file
Guido van Rossuma57c9b91998-10-07 19:52:35 +000029fixnotice.py Fix the copyright notice in source files
Guido van Rossumed3c7911995-03-02 15:56:30 +000030fixps.py Fix Python scripts' first line (if #!)
Guido van Rossume830e551995-06-20 19:31:37 +000031ftpmirror.py FTP mirror script
Georg Brandl0b74edd2009-10-11 21:14:37 +000032google.py Open a webbrowser with Google
33gprof2html.py Transform gprof(1) output into useful HTML
Guido van Rossumed3c7911995-03-02 15:56:30 +000034h2py.py Translate #define's into Python assignments
Skip Montanarof91c59a2004-01-27 14:47:23 +000035hotshotmain.py Main program to run script under control of hotshot
Guido van Rossumab537e92003-06-13 20:34:27 +000036idle Main program to start IDLE
Guido van Rossumed3c7911995-03-02 15:56:30 +000037ifdef.py Remove #if(n)def groups from C sources
Guido van Rossuma57c9b91998-10-07 19:52:35 +000038lfcr.py Change LF line endings to CRLF (Unix to Windows)
Guido van Rossumed3c7911995-03-02 15:56:30 +000039linktree.py Make a copy of a tree with links to original files
40lll.py Find and list symbolic links in current directory
Guido van Rossum3485bb61997-08-14 22:04:26 +000041logmerge.py Consolidate CVS/RCS logs read from stdin
Guido van Rossuma57c9b91998-10-07 19:52:35 +000042mailerdaemon.py parse error messages from mailer daemons (Sjoerd&Jack)
Martin v. Löwisbb640c12003-06-07 18:46:34 +000043md5sum.py Print MD5 checksums of argument files.
Guido van Rossumed3c7911995-03-02 15:56:30 +000044methfix.py Fix old method syntax def f(self, (a1, ..., aN)):
45mkreal.py Turn a symbolic link into a real file or directory
Guido van Rossuma57c9b91998-10-07 19:52:35 +000046ndiff.py Intelligent diff between text files (Tim Peters)
47nm2def.py Create a template for PC/python_nt.def (Marc Lemburg)
Guido van Rossumed3c7911995-03-02 15:56:30 +000048objgraph.py Print object graph from nm output on a library
Martin v. Löwisbb640c12003-06-07 18:46:34 +000049parseentities.py Utility for parsing HTML entity definitions
Guido van Rossumed3c7911995-03-02 15:56:30 +000050pathfix.py Change #!/usr/local/bin/python into something else
51pdeps.py Print dependencies between Python modules
Skip Montanaro9445ce52003-02-03 15:09:32 +000052pickle2db.py Load a pickle generated by db2pickle.py to a database
Guido van Rossumed3c7911995-03-02 15:56:30 +000053pindent.py Indent Python code, giving block-closing comments
54ptags.py Create vi tags file for Python modules
Martin v. Löwisbb640c12003-06-07 18:46:34 +000055pydoc Python documentation browser.
Georg Brandl256372c2005-08-24 21:42:14 +000056pysource.py Find Python source files
Andrew M. Kuchlingfe5004f2006-07-31 16:27:57 +000057redemo.py Basic regular expression demonstration facility
Martin v. Löwisbb640c12003-06-07 18:46:34 +000058reindent.py Change .py files to use 4-space indents.
Guido van Rossuma57c9b91998-10-07 19:52:35 +000059rgrep.py Reverse grep through a file (useful for big logfiles)
Georg Brandl0b74edd2009-10-11 21:14:37 +000060setup.py Install all scripts listed here
Guido van Rossumed3c7911995-03-02 15:56:30 +000061suff.py Sort a list of files by suffix
Georg Brandl0b74edd2009-10-11 21:14:37 +000062svneol.py Sets svn:eol-style on all files in directory
Raymond Hettinger71e00332003-05-10 03:30:13 +000063texcheck.py Validate Python LaTeX formatting (Raymond Hettinger)
Guido van Rossuma57c9b91998-10-07 19:52:35 +000064texi2html.py Convert GNU texinfo files into HTML
Guido van Rossum4d3376a1997-08-14 20:16:32 +000065treesync.py Synchronize source trees (very ideosyncratic)
Guido van Rossuma57c9b91998-10-07 19:52:35 +000066untabify.py Replace tabs with spaces in argument files
Guido van Rossumed3c7911995-03-02 15:56:30 +000067which.py Find a program in $PATH
68xxci.py Wrapper for rcsdiff and ci