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.2.0.tar.gz (7.9 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.2.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31a6081e3d5c8a3d5809a625620ab9239704ce936beb4204082be10ddfcb9382
MD5 fb0b3c33f0ff1504581cb0712d728a40
BLAKE2b-256 7b04f2cb083c5e0e45e7da9c1a19953a101d369588b4118b3dd6da9ed4be4fec

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberark_tpc_plugin_parser-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1c4beeea77d54b2ded963addd005d4c51b7acb12d1e6e604bd57d114b3ede4
MD5 731c603643df7a55282d51a674cdf184
BLAKE2b-256 c94f2ca7f74ef6fd1b79f9bd35e0c0ec97a477d5f39a32a14335e8499bedd653

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyberark_tpc_plugin_parser-0.2.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