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.1.1.tar.gz (7.8 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.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f220bbd9c361e3c954662de3bcba9bcfe84b091b7aaba51732c0f635ea7d327c
MD5 9d4101046f07366c83adae9ee4e2c1e9
BLAKE2b-256 8f4dc90ae7368101cd43f979d64db2af033a63b7cc51011dbc11be5d246dd951

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f7b963bed2ad32ff278f78e9ac1a4dc80dd08380d51ad8513757ce6b927fc3d
MD5 dd85f66803244937feaf39e4e7c1b53c
BLAKE2b-256 3e014eb70f20dd9c19bb239b3588572baeed157e292b2f27e7174489bdeff8f7

See more details on using hashes here.

Provenance

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