Metadata-Version: 2.4
Name: python-utility-scripts
Version: 1.0.20
Summary: Python utility scripts
Project-URL: Homepage, https://github.com/RedHatQE/python-utility-scripts
Project-URL: Repository, https://github.com/RedHatQE/python-utility-scripts
Project-URL: Documentation, https://github.com/RedHatQE/python-utility-scripts/blob/main/README.md
Author-email: dbasunag <dbasunag@redhat.com>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: ~=3.9
Requires-Dist: ast-comments>=1.2.2
Requires-Dist: jira<4,>=3.6.0
Requires-Dist: pyhelper-utils<2,>=1.0.1
Requires-Dist: pylero<0.2,>=0.1.0
Requires-Dist: pytest-mock<4,>=3.14.0
Requires-Dist: python-simple-logger<3,>=2.0.0
Requires-Dist: pyyaml<7,>=6.0.1
Requires-Dist: tenacity<10,>=9.0.0
Description-Content-Type: text/markdown

# python-utility-scripts

Repository for various python utility scripts

- [pyutils-unusedcode](https://github.com/RedHatQE/python-utility-scripts/blob/main/apps/unused_code/README.md)
- [pyutils-polarion-verify-tc-requirements](https://github.com/RedHatQE/python-utility-scripts/blob/main/apps/polarion/README.md)
- [pyutils-jira](https://github.com/RedHatQE/python-utility-scripts/blob/main/apps/jira_utils/README.md)
- [pyutils-polarion-set-automated](https://github.com/RedHatQE/python-utility-scripts/blob/main/apps/polarion/README.md)

## Installation

using [uv](https://github.com/astral-sh/uv)

```bash
uv tool install python-utility-scripts
```

## Local run

- Clone the [repository](https://github.com/RedHatQE/python-utility-scripts.git)

## Config file

A config yaml file for various utilities of this repository should be added to
`~/.config/python-utility-scripts/config.yaml`. Script specific config section details can be found in associated script README.md

## Release new version

### requirements

- Export GitHub token

```bash
export GITHUB_TOKEN=<your_github_token>
```

- [release-it](https://github.com/release-it/release-it)

- Run the following once (execute outside repository dir for example `~/`):

```bash
sudo npm install --global release-it
npm install --save-dev @j-ulrich/release-it-regex-bumper
rm -f package.json package-lock.json
```

### usage

- Create a release, run from the relevant branch.
  To create a new release, run:

```bash
git checkout main
git pull
release-it # Follow the instructions
```
