Skip to main content

A package to help parse CyberArk TPC plugin prompts and process files.

Project description

CyberArk TPC Plugin Parser

CyberArk TPC Plugin Parser is a package intended to make it easy to work with CyberArk process and platform ini files.

The lexer and parser breaks down the files to their constituent parts so that they can be further processed by other applications.

Installation

CyberArk TPC Plugin Parser can be installed using Pip:

pip install cyberark-tpc-plugin-parser

Usage

The main point of entry is the parser, this takes the content of the process and prompts files as arguments:

from tpc_plugin_parser.parser import Parser

with open('/path/to/files/process.ini') as process_fh:
    process_content: str = process_fh.read()
    
with open('/path/to/files/prompts.ini') as prompts_fh:
    prompts_content: str = prompts_fh.read()

parser: Parser = Parser(process_file=process_content, prompts_file=prompts_content)
process_file_tokens = parser.process_file
prompt_file_tokens = parser.prompts_file

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

cyberark_tpc_plugin_parser-0.4.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyberark_tpc_plugin_parser-0.4.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file cyberark_tpc_plugin_parser-0.4.0.tar.gz.

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.4.0.tar.gz
Algorithm Hash digest
SHA256 03f38ed750a449eb70514d4e1afda706201b112871c0e2ac79cef82575bd0000
MD5 02ff4dd2f89085cd60ca34c51ab168cc
BLAKE2b-256 6c7584dfc2001fb3e6459338a1578b19f789e65dc978669fc26548db2e654b9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberark_tpc_plugin_parser-0.4.0.tar.gz:

Publisher: publish.yml on petermcd/CyberArk-TPC-Plugin-Parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyberark_tpc_plugin_parser-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6eb628e730185d9102e365658e0b466d47606500310395c3b6aa83f39e2152c7
MD5 2d4b827215a1334fa8b5de536e72eb04
BLAKE2b-256 755eab0dce24c9e5618fcafbea691598fcbc6af6011d73b1a02e634849463314

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberark_tpc_plugin_parser-0.4.0-py3-none-any.whl:

Publisher: publish.yml on petermcd/CyberArk-TPC-Plugin-Parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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