Metadata-Version: 2.1
Name: python-utility-scripts
Version: 0.0.8
Summary: Python utility scripts
Home-page: https://github.com/RedHatQE/python-utility-scripts
License: Apache-2.0
Author: dbasunag
Author-email: dbasunag@redhat.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
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: pylero (>=0.0.8,<0.0.9)
Requires-Dist: python-simple-logger (>=1.0.8,<2.0.0)
Requires-Dist: pyyaml
Project-URL: Documentation, https://github.com/RedHatQE/python-utility-scripts/blob/main/README.md
Project-URL: Repository, https://github.com/RedHatQE/python-utility-scripts
Description-Content-Type: text/markdown

# python-utility-scripts
Repository for various python utility scripts
* [pyappsutils-unusedcode](https://github.com/RedHatQE/python-utility-scripts/blob/main/README.md)

## Installation

```bash
pip3 install python-utility-scripts --user
```

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

```bash
git clone https://github.com/RedHatQE/python-utility-scripts.git
```

* Install [poetry](https://github.com/python-poetry/poetry)

```bash
poetry install
```

## 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
```

