semvec/pypi-packages huggingface dataset:
cqase-client 0.1.3
Custom qase client
Requires Python: >=3.8,<4.0

[![Python tests](https://github.com/berpress/custom-qase-client/actions/workflows/python-app.yml/badge.svg)](https://github.com/berpress/custom-qase-client/actions/workflows/python-app.yml)
![versions](https://img.shields.io/pypi/pyversions/pybadges.svg)
[![Downloads](https://static.pepy.tech/personalized-badge/cqase-client?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/cqase-client)
# custom-qase-client

This is an unofficial client [QASE](https://qase.io)

Official client: https://github.com/qase-tms/qase-python

API QASE: https://developers.qase.io/reference/

Guide: https://developers.qase.io/docs

### Installation

------------

You can install via pip
```
$ pip install cqase-client
```
or with poetry
```
$ poetry add -D cqase-client
```

### How to work

------------

First, get api token from page https://app.qase.io/user/api/token (See guide)

For body and params use dict type, like in [requests](https://requests.readthedocs.io/en/latest/user/quickstart/#more-complicated-post-requests) library

```python
from cqase.client import QaseClient

client = QaseClient(api_token='YOUR_API_TOKEN')

code = 'CODE'  # project code
# create project
body = {'title': f'Title test project', 'code': code, 'access': 'all'}
client.projects.create(body=body)

# create suite
body = {"title": "test suit"}
client.suites.create(code=code, body=body)

# create case
body = {"title": "test case"}
client.cases.create(code=code, body=body)

# create test run
body = {"title": "test run"}
client.runs.create(code=code, body=body)

# upload attachment
client.attachments.upload(code, "./cat.jpeg")

# finish test run
client.runs.complete(code=code, uuid=1)

```
pyWinActivate 1.3.0
Activate and focus on any opened window by using the window title.
Requires Python: >=3.7

# pyWinActivate

## Just like WinActivate in AutoHotkey, this module lets you easily activate and focus an opened window.


### Examples
```py
from pyWinActivate import win_activate, win_wait_active


# Activate window with partial winTitle string.
win_activate(window_title="Book1", partial_match=True)

# Activate window with exact winTitle string.
win_activate(window_title="Book1.xlsx - Excel", partial_match=False)




# Wait for the specified window to be active.
# You can pass an exception for a popup window's title. If not needed leave as None or skip entirely.
# Note: works only with a full title
win_wait_active(win_to_wait=Book1.xlsx - Excel, exception="potential popup window", message=False)

```


## Changes
### 1.3.0
#### Added function check_win_exist()


### 1.2.0
#### Refactored win_activate()
#### It now takes window_title and partial_match(T/F) as arguments instead of window and titlematchmode(0/1)


### 1.1.1
#### Changed function names to follow PEP8 guidelines
#### Changed get_app_list() to not use mutable deafults
#### Added argument to win_wait_active() to turn off the message while waiting. Its True by default.
#### Changed some function argument names to be more desriptive.



#### Special thanks to reddit user u/JohnnyJordaan with help on the code simplification.