JIL Utility
AutoSys JIL command line utility
This utility provides functionality to:
- Export to CSV - makes jobs easier to read for non-technical people
- Format JIL - aids in comparison of jobs in different environments
- Output to console - allows quick inspection of jobs contained within
Additionally, the functionality to parse JIL files is provided as a library.
What is JIL?
Job Information Language (JIL) is a scripting language that lets you define and modify assets such as jobs, global variables, machines, job types, external instances, and blobs.
Basic Usage
Basic usage for working with a JIL file.
usage: jilutil.py [-h] [-e] [-f] [-n] [-o] [-r] [-v] path
Positional Arguments
- path - path to JIL source file
Optional Arguments
- -h, --help - show this help message and exit
- -e, --export - Exports jobs contained in the JIL source file in ascending order by name to a CSV file.
- -f, --format - Formats jobs contained in the JIL source file in ascending order by name.
- -o, --output - Outputs jobs contained in the JIL source file in ascending order by name to standard out.
- -a, --attributes - Attributes to list when outputting jobs (ex: job_type,box_name).
- -n, --new - Formats as new file.
- -r, --reverse - Sorts jobs in descending order by name.
- -v, --verbose - Increases output verbosity.
Functionality
Export
Exports jobs contained in the JIL source file in ascending order by name to a CSV file.
Export jobs contained in JIL file:
python -m jilutil sample.jil -e
Format
Formats jobs contained in the JIL source file in ascending order by name.
Format JIL file in place:
python -m jilutil sample.jil -f
Format JIL file as new file:
python -m jilutil sample.jil -f -n
Output
Outputs jobs contained in the JIL source file in ascending order by name to standard out.
Output jobs contained in JIL file:
python -m jilutil sample.jil -o
SAMPLE_BOX_JOB
SAMPLE_CMD_JOB_1
SAMPLE_CMD_JOB_2
Output jobs contained in JIL file with extra attributes:
python -m jilutil sample.jil -o -a box_name,job_type,condition
SAMPLE_BOX_JOB -> box_name: ; job_type: BOX ; condition:
SAMPLE_CMD_JOB_1 -> box_name: SAMPLE_BOX_JOB ; job_type: CMD ; condition:
SAMPLE_CMD_JOB_2 -> box_name: SAMPLE_BOX_JOB ; job_type: CMD ; condition: s(SAMPLE_CMD_JOB_1)
Executable
Stand alone executable (no Python required) can be compiled using pyinstaller and the build.ps1 script included. Executable will be placed in "dist" folder.
Metadata
Release files for jilutil 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jilutil-0.3.0.tar.gz | 9.5 kB | Without provenance | Details for jilutil-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jilutil-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for jilutil-0.3.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / jilutil-0.3.0.tar.gz
| Download URL | jilutil-0.3.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec059aa2f4973c93a63a98844670cba76455286492a9146d13b3a7354c5d9f5c
|
|
BLAKE2b-256 checksum How to use checksums |
219681b26dcf1111abb260dfddfd581b7c0f2c1356878507be850b547ef5d919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|
Release files / jilutil-0.3.0-py3-none-any.whl
| Download URL | jilutil-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4b49019616f28246885d7d6f518233198a3d6909b195b848b6f00f4bcc403c2
|
|
BLAKE2b-256 checksum How to use checksums |
8ec1c9406e949945e66759a022a012a276893a5d8582000c44a58c4b32bc4bb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|
Security for jilutil 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.