Metadata-Version: 2.4
Name: pesign-cli
Version: 0.1.1
Summary: Command-line client for the PESIGN PDF signing API
Author-email: Christ ND <tech@christnd.codes>
License: Proprietary
Project-URL: Homepage, https://pesign.christnd.codes
Keywords: pdf,signature,pades,globalsign-dss,cli,hsm
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.12.0
Requires-Dist: rich>=13.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: python-dotenv>=1.0.0

# PESIGN CLI

PESIGN CLI is a command-line client for signing PDF documents through PESIGN API.

It is designed for teams that need a simple, scriptable way to send PDFs to a secure signing service and receive signed PDF files back locally. The CLI runs on Windows, Linux, and macOS.

The signing infrastructure, certificate handling, and server-side signing workflow are managed by the PESIGN API. The CLI only communicates with the API over HTTPS.

## Features

* Sign PDF documents from the command line
* Manage signing API keys
* Support admin-managed users
* Works on Windows PowerShell, Linux, and macOS
* Suitable for manual use and automation workflows

## Requirements

* Python 3.11 or newer
* Access to a running PESIGN API server
* Valid PESIGN credentials

## Installation

```bash
pip install pesign-cli
```

Confirm the installation:

```bash
pesign --help
```

## Configuration

You can provide the API URL directly:

```bash
pesign health --api-url https://pesign.christnd.codes
```

Or create a `.env` file in the directory where you run the CLI:

```env
PESIGN_API_URL=https://pesign.christnd.codes
```

Then run:

```bash
pesign health
```

## License

Proprietary. All rights reserved.
