Skip to main content

Pretty prints Apache Pig outputs

Project description

Pig Manager

A simple pretty printer for Pig Latin scripts because it looks really bad!

Installation

To install Pig Pretty Printer, simply use pip:

pip install pig-manager

Usage

After installation, you can run pig-manager from the command line:

pig-manager -f <file> [options]

Options

-f, --file_path: Path to the Pig script file.
-dl, --dump_log: Flag to dump error output.
-do, --dump_out: Flag to dump standard output.
-l, --dump_loc: Location to dump output and error files.

Example

A sample of how pig-manager works:

pig_pretty_printer -f ./example_script.pig -dl -do -l ./logs

+-----------------+--------+ | Category | Count | +=================+========+ | Furniture | 517447 | +-----------------+--------+ | Technology | 807396 | +-----------------+--------+ | Office Supplies | 588687 | +-----------------+--------+ | | | +-----------------+--------+


## License
This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pig-manager-1.0.5.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pig_manager-1.0.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page