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.3.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.3.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.3.1.tar.gz
Algorithm Hash digest
SHA256 95874b4d8b89bf70c34f771cac6d916c38dbc2590393cc5b89b98a0bc9af7574
MD5 e6b7a7d3a14428f0f662346e8cc4cb88
BLAKE2b-256 fe1be328b750bf2287178dcce52d0bb00bd6673f87861247324b7550c29fb325

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyberark_tpc_plugin_parser-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c465cc813e3181f3d5546c551f3b243d7fba143cd2751d6ba2c30174afa046
MD5 473d4f14d558eab8cfbfbb6e15ac96fc
BLAKE2b-256 e5e9733a29992bbe22e50423d8fa0eca909089f89b4eb34deff545324709f6fc

See more details on using hashes here.

Provenance

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