semvec/pypi-packages huggingface dataset:
pyqt-moving-label 0.0.2
PyQt label which is moving from left to right
License: MIT


# pyqt-moving-label
PyQt label which is moving from left to right

## Requirements
* PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-moving-label`

## Detailed Description
This inherits the QLabel.

Good to use as an advertisement or notice tool.

You can create constructor like this - `MovingLabel('Moving Label', parent_class)`. Both two arguments are necessary.

Moving duration is set to 3000 milliseconds by default.

### Method Overview
* `setDurationBasedOnWindowSize(f: bool)` - Set the duration based on window size. If you set this to `True`, The window gets bigger the moving speed gets faster. The window gets smaller the moving speed gets slower.
* `setDuration(milliseconds: int)` - Set the duration of label moving from left to right.

## Example
Code Sample
```python
from PyQt5.QtWidgets import QMainWindow, QApplication, QVBoxLayout, QTextEdit, QWidget
from pyqt_moving_label.movingLabel import MovingLabel


class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        self.__initUi()

    def __initUi(self):
        self.__label = MovingLabel('Moving Label', self)
        # if you want to set the dynamic moving speed based on window size
        # self.__label.setDurationBasedOnWindowSize(True)
        # if you want to set the duration
        # self.__label.setDuration(5000)

        lay = QVBoxLayout()
        lay.addWidget(self.__label)
        lay.addWidget(QTextEdit())

        mainWidget = QWidget()
        mainWidget.setLayout(lay)

        self.setCentralWidget(mainWidget)


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    w = MainWindow()
    w.show()
    sys.exit(app.exec_())
```

Result

https://user-images.githubusercontent.com/55078043/170969527-91c80a06-b6eb-4aaf-a305-421479bd7139.mp4
yastr 0.1.0
Yet another simple test runner
License: MIT
Requires Python: >=3.8,<3.11
Keywords: test,testing,runner,pytest,executable

<div align="center">
  <br>
  <img src="https://raw.githubusercontent.com/codetent/yastr/main/doc/logo.svg" width="100" /><br>
  
  # <b>Y</b>et <b>A</b>nother <b>S</b>imple <b>T</b>est <b>R</b>unner
  
  A simple test runner for just calling executables and generating reports.
  <br/><br/>
</div>

![PyPI](https://img.shields.io/pypi/v/yastr)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/yastr)
![PyPI - License](https://img.shields.io/pypi/l/yastr)
[![Python package](https://github.com/codetent/yastr/actions/workflows/python-package.yml/badge.svg?branch=main)](https://github.com/codetent/yastr/actions/workflows/python-package.yml)
[![Packaging](https://github.com/codetent/yastr/actions/workflows/packaging.yml/badge.svg?branch=main)](https://github.com/codetent/yastr/actions/workflows/packaging.yml)

## Description

YASTR is a utility that gets the testing job quickly done without requiring a specific test framework. Instead just having an executable that shall be executed is enough.

In its simplest configuration, you just place your executable containing your test logic in a folder, create a configuration file to tell yastr how to execute it and you get a nice JUnit compatible output.

It is based on pytest, actually a testing framework for Python but not limited to. Thanks to it, yastr is able to run beside executables also Python tests and features like fixtures and markers can be reused.

## Features

YASTR provides the following:

- Running executables with arguments
- Settings environment variables
- Setting a timeout

And it supports everything that pytest offers:

- Creating Junit reports
- Adding markers
- Using fixtures
- Selecting specific tests
- Running tests written in Python
- And much more: https://docs.pytest.org/en/6.2.x/contents.html

## Documentation

- Quickstart: [doc/guide/quickstart.md](https://github.com/codetent/yastr/blob/main/doc/guide/quickstart.md)
- Advanced: [doc/guide/advanced.md](https://github.com/codetent/yastr/blob/main/doc/guide/advanced.md)

## Installation

### Python

```bash
$ pip install yastr
```
testpush 1.1.0
a simple demo
License: MIT

# Example Package
This is a simple example package. You can use to write your content.

[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)
[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)
[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)