Pretty prints Apache Pig outputs
Project description
Pig Manager
Pretty Printer for Pig Latin scripts.
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
Built Distribution
File details
Details for the file pig-manager-1.0.4.tar.gz
.
File metadata
- Download URL: pig-manager-1.0.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c805b55f6861e810251da6283a78a551791b07869f4375b5e91dc48587c303 |
|
MD5 | 922c5c0a457730cd0731b1ace3a101e1 |
|
BLAKE2b-256 | 0390701271f87958617e37c0b200cc8d5ea90cd6899315402d6f0dcb54ad1328 |
File details
Details for the file pig_manager-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: pig_manager-1.0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c23f08f10cb6243f6d6417f731e76f6f4e285e0f8d1fa0f6c8e7dfe346768f5 |
|
MD5 | 3c7ff8cb37df73e7cb05a0e5e94f1efe |
|
BLAKE2b-256 | 278a14ce1a57e192645e9ffc85b402b6f66d55c177b8d32e07a4732404e12e78 |