The Gastown Command Line Parser quickly, easily, and reliably parses the command line passed to your application.Gastown is similar in some respects to the getopt library which is so often used in Linux applications, but it offers enhanced functionality.The functionality includes:automatic handling of single- or double-quoted strings.parameters can be of different types including strings, booleans, integers and floats.integer and float...
Professional command line tools for manipulating PDF files. Split, merge, linearize, scale, rotate, crop, encrypt, decrypt, watermark, bookmark, annotate, attach, impose etc. Full manual provided. For Windows, Mac and Linux.
With HTML Converter Command Line, can convert files from various formats to various formats. With the command line version, you can call implement the conversion task with manual or script controls. Under a proper license, you can even call the...
Print PDF documents directly from your Java system Command Line. jPDFPrintCLI is a Java utility that can load and print PDF documents. jPDFPrintCLI is built on top of Qoppa Software's proprietary PDF technology so there is no need for any third...
jPDFSecureCLI is a Java utility that can change security settings on PDF Documents. With jPDFSecureCLI, you can encrypt and decrypt PDF documents as well as set permissions on the documents from your Java server command line.
VeryPDF PDF Linearization Optimizer Command Line is a helpful application for optimizing PDF files for fast web view.
a. For large PDF files and low speed net connections, viewing PDF from a web server usually takes a lot of time and...
Given start and end point, produce a list of points through which line (or ray) will traverse.
Splits a large text file into smaller ones, based on line count. Original file is unmodified.
Resulting text files are stored in the same directory as the original file.
Useful for breaking up text based logs or blocks of...
This is a recipe to populate command line args with the content of a file.
It is also an example of how to use the Action class from the argparse module.
I use this script in order to put frequently used options (such as for...
A line-based diff that shows two versions side-by-side based on Google's diff_match_patch implementation.
Deletions are displayed on the left side, while additions are displayed on the right similar to the diff shown on Wikipedia.
A very simple but powerful shell script which enables writing ad-hoc Python scripts for processing line-oriented input. It executes the following code template:
for line in sys.stdin:
Is it possible to create a simple command line program that I can use to quickly test my regular expressions?
Yes it is. This simple regular expression tester uses Python's re module as well as others to quickly allow you to test your...
State machine for processing text files on a line-by-line basis using regular
expressions to determine transition to next state.
Developed from sample code from "Text Processing in Python" by David Mertz,pp. 274-280.
This recipe reads a file containing stack traces from Linux' backtrace functions and extends each stack frame line with the source file name and line number. Usage and an example are included.
This module allows one to create a command to call a Python function from the command line, and to call that function with arguments from the command line without using getopt or optparse
Parseline breaks a line (actually a string) into python objects like strings, floats, ints, etc., based upon a short format string.
This script echos the input with a time delay after each line. The input can be from standard input or a list of files on the command line, like the Unix 'cat' command. The delay between lines is adjustable, and defaults to 1 second.
This is a way to parse command line from user provided string or try to get the original Argv from Windows OS Platform.
When writing applications that take command-line arguments in Python, one has to make a choice between the two command-line parsing modules, getopt and optparse. Optparse though more powerful than getopt is available only since Python 2.3. Hence...
Sometimes it is nice to print a banner line in the output of a command line script to group a section of output (say, in a log file). This little banner() function will center a given string in a line (using a character and length you can...