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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pig-manager-1.0.5.tar.gz.

File metadata

  • Download URL: pig-manager-1.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pig-manager-1.0.5.tar.gz
Algorithm Hash digest
SHA256 3ecccf464fe34adff2080d36431c7c7fbfc245f9b224b61b6455cd03a6998632
MD5 3408a5d375db7a7e09f0ba94285c7844
BLAKE2b-256 131ee1dfa7b66b454e3848c22b51fc46564827fa9989abe10be6aa42d319aedb

See more details on using hashes here.

File details

Details for the file pig_manager-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: pig_manager-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pig_manager-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e1acf6ebc1f3a7ef74f118c8d8bf93430dc05d2d43c9e83a3cc68eff7fa2de16
MD5 9f57112ca179ac8990ef2e560010bd28
BLAKE2b-256 5bb886c9db1e997d77e24edf2eb31a892e55e25ee70ca93386163c332bfd900f

See more details on using hashes here.

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