Metadata-Version: 2.1
Name: pytls-ca
Version: 0.0.3
Summary: Quickly create self-signed TLS certificates for your local development environment.
Home-page: https://github.com/rodneyxr/pytls-ca
Author: Rodney Rodriguez
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: cryptography (>=42.0.2,<43.0.0)
Project-URL: Repository, https://github.com/rodneyxr/pytls-ca
Description-Content-Type: text/markdown

# PyTLS-CA

PyTLS-CA is a Python application that quickly creates self-signed TLS certificates for your local development environment.

## Install

You can install PyTLS-CA using pip:

```sh
pip install pytls-ca
```

## Usage

You can specify options like the CA name, the services for which to generate certificates, and the output directory. For example:

```sh
pytls -n 'My Custom CA' -s example.com -s api.example.com -d './certs'
```

## Options

- `-n`, `--ca-name`: The subject for the CA certificate. Defaults to `PyTLS CA`.
- `-s`, `--services`: The services for which to generate certificates. Can be specified multiple times for multiple services.
- `-d`, `--output-directory`: The directory in which to save the generated certificates. Defaults to `./certificates`.

# Development

This project uses [Poetry](https://python-poetry.org/) for dependency management. To install the project and its dependencies, run:

```sh
poetry install
```

This project uses [Ruff](https://docs.astral.sh/ruff/) for linting and code formatting.

### Publishing

To publish a new version of the package, run:

```sh
poetry config pypi-token.pypi <token>
poetry publish --build
```
