Metadata-Version: 2.4
Name: cyberark-tpc-plugin-validator
Version: 0.5.0
Summary: A tool to help validate a custom TPC plugin.
Author-email: Peter McDonald <git@petermcdonald.co.uk>
License: MIT License
        
        Copyright (c) 2025 (Peter McDonald)
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# CyberArk TPC Plugin Validator

CyberArk TPC Plugin Validator is a tool designed to validate third party CyberArk TPC plugins.
It ensures that the plugins meet the required standards helping to ensure that they will work within the CyberArk
ecosystem.

## Installation

To install the CyberArk TPC Plugin Validator, you can use pip:

```bash
pip install cyberark-tpc-plugin-validator
```

## Usage

The tool can be run from the command line. It takes the path to the process and prompts files as an argument.

```bash
tpc-validator \path\to\plugin\directory\process.ini \path\to\plugin\directory\prompts.ini
```

Alternatively you can run it using Python directly:

```python
from tpc_plugin_validator.validator import Validator
validator = Validator.with_file(r'\path\to\plugin\directory\process.ini', r'\path\to\plugin\directory\prompts.ini', {})
validator.validate()
print(validator.get_violations())
```

