semvec/pypi-packages huggingface dataset:
PySimpleTest 1.1.0
A very simple test framework

# PySimpleTest -- Make test as simple as possible

PySimpleTest is a very simple test framwork. To start using it, try following example:  
Write a file `main.py`:

```python
import PySimpleTest as pst

a = 2
pst.should_be_equal(a, 2)
pst.should_be_less(a, 1)
```

Then run it. You can get following cmd output:

![avatar](https://gitee.com/time-coder/PySimpleTest/raw/master/images/first_example.png)

Please see full documentation at [https://github.com/Time-Coder/PySimpleTest](https://github.com/Time-Coder/PySimpleTest)

## Release Note
### 1.1.0
* Add `{should|must}_{keep|become}_[not_]raising` functions
### 1.0.9
* Fix `say` function not work problem.
### 1.0.8
* Make it can works in Python console mode
* Support lambda expression in `{should|must}_{be|become|keep}_{true|false}` and `wait_until[_not]` functions
* Add `{should|must}_[not_]raise` function
* Add `gui_on`, `gui_off` function to control gui on/off
* Add `--gui {on|off}` terminal parameter to control gui on/off
* Delay the gui and voice module loading to user call `gui_on` or `void_on`
### 1.0.7
* Fix issue #1: `should_be_true` works fine now;
* Fix issue #2: `PySimpleTest` can run on `Linux` and `Mac` now.
### 1.0.6
* Don't need `enable(enhance_func)` any more;
* Fix "exit code not working" bug.
### 1.0.5
* Added `Section` class. User can use `Section` with Python `with` syntax instead of `section`, `end_section`, `subsection`.
### 1.0.2
* First release for all basic functions.
aiogram-unittest 0.0.1
A library for unittesting your bots on aiogram

# aiogram_unittest

***aiogram_unittest*** is a testing library for bots written on <a href="https://github.com/aiogram/aiogram">aiogram</a>

## 📚 Simple examples

### Simple handler test

#### Simple bot:

```python
from aiogram import Bot, Dispatcher, types, executor

# Please, keep your bot tokens on environments, this code only example
bot = Bot('123456789:AABBCCDDEEFFaabbccddeeff-1234567890')
dp = Dispatcher(bot)


@dp.message_handler()
async def echo(message: types.Message):
    await message.answer(message.text)


if __name__ == '__main__':
    executor.start_polling(dp)


```

#### Test cases:

```python
import unittest

from bot import echo

from aiogram_unittest import Requester
from aiogram_unittest.handler import MessageHandler
from aiogram_unittest.types.dataset import MESSAGE


class TestBot(unittest.IsolatedAsyncioTestCase):
    async def test_echo(self):
        request = Requester(request_handler=MessageHandler(echo))
        calls = await request.query(message=MESSAGE.as_object(text="Hello, Bot!"))
        answer_message = calls.send_messsage.fetchone()
        self.assertEqual(answer_message.text, 'Hello, Bot!')

```

### ▶️ <a href='https://github.com/OCCCAS/aiogram_unittest/tree/master/examples'>More</a> examples
pyplatypus 0.1.0rc2
Set of tools for Computer Vision handling the object detection and image
Requires Python: >=3.6

# PyPlatypus

## Instalation

To install `pyplatypus` use command:

```commandline
pip install pyplatypus
```

See documentation at: [GitHub Pages](https://maju116.github.io/pyplatypus/).

## Development

To build and deploy your updated docs, use:
`mkodcs build`
Which will create site/ directory in the project folder. Then type in:
`mkdocs gh-deploy`
to automatically push the docs to GitHub Pages.

To build the package locally just move to its main directory run:
`pip install --use-feature=in-tree-build .`

Then it may be imported as any other package installed with the use of pip.

If you wish to create the source distribution (in the .egg format):
`python setup.py sdist`

To build a wheel run:
`python setup.py bdist_wheel --universal`

Important!
Before uploading the source distribution to PyPI test it using the TestPyPI using:
`twine upload --repository-url https://test.pypi.org/legacy/ source/package.tar.gz`

To upload all the distributions from a certain folder, for instance if you created
wheels aside from the archive source distribution, use this line:
`twine upload --repository-url https://test.pypi.org/legacy/ folder/*`

Then try installing from TestPyPI:
`pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pyplatypus`

Only after testing it there should you proceed with the release:
`twine upload dist/*`

And then install your package!
`pip install pyplatypus`

Note!
Pip dependencies will be installed during the package build but there is one conda dependency that
needs to be installed by hand if you are planning to play around with the GPU.
`conda install -c conda-forge tensorflow==2.9.1`

We are working on creating the deployment script for this :)
inputer 0.0.2
Print before input

# inputer: Print before input

If you want to print something before Python default function input() prompt, you can use this package **inputer**. To achieve this, **inputer** give you a object to control input like this:

```python
import inputer
import threading
import time

input_handle = inputer.Inputer()

def always_print(input_handle):
    while True:
        input_handle.print_before("I am here!")
        time.sleep(1)

th = threading.Thread(target=always_print, args=(input_handle,), daemon=True)
th.start()

while True:
	text = input_handle.input("> ")
	if text == "exit":
		break
```

In addition, you can use following methods of `Inputer` to control input:
* `Inputer.input(prompt='')`: Just like Python default function `input`;
* `Inputer.print_before(*args, **kwargs)`: Just like Python default function `print` but print before input prompt;
* `Inputer.eprint_before(*args, **kwargs)`: Print before input prompt to stdandar error;
* `Inputer.left(n=1)`: Move current cursor back `n` position, just like press `left` key on keybord;
* `Inputer.right(n=1)`: Move current cursor forward `n` position, just like press `right` key on keybord;
* `Inputer.up(n=1)`: Change current input buffer to last input text, just like press `up` key on keybord;
* `Inputer.down(n=1)`: Change current input buffer to next input text, just like press `down` key on keybord;
* `Inputer.backspace(n=1)`: Left delete `n` characters, just like press `backspace` key on keybord;
* `Inputer.delete(n=1)`: Right delete `n` characters, just like press `del` key on keybord;
* `Inputer.current_str`: Get current input buffer text;
* `Inputer.current_cursor`: Get current cursor position;
* `Inputer.insert(text)`: Insert `text` at current cursor position;
* `Inputer.hide()`: Hide prompt text and user input text;
* `Inputer.unhide()`: Show prompt text and user input text again;
* `Inputer.block()`: Forbidden user input;
* `Inputer.unblock()`: Allow user input again;
* `Inputer.use_history(history_filename)`: All history input is saved in a history file even if you don't call this method. This method allow you to specify a history file to save history input in;
timey-terminal 0.2.0
Prints text to terminal at timely intervals. Can replace the print function
Requires Python: >=3

# Timey
### Prints characters after a set timed interval


## How to Use
- `pip install timey_terminal`

```python
>>> from timey import Timey
>>> p = Timey()
>>> p.show("Sample Text") # prints the provided text to the terminal
>>> p.get_seconds() # get the current interval at which each character is printed.  Default = 0.05s
>>> p.set_seconds(x) # sets the secs to what was provided.
```

- **OR**
```python
from timey import TimeyOld as pp
>>> pp("Testing", 0.5) # print each character every 0.5 secs
>>> pp("Sample text", 2) # print each character every 2 secs
```
processador-imagens 0.0.1
Pacote de processamento de imagens
Requires Python: >=3.8

# processador_imagens

Description. 
The processador_imagens is used to:
	Processamento
		- Histogram matching
		- Structural similarity
		- Resize image
	Utils:
		- Read image
		- Save image
		- Plot image
		- Plot result
		- Plot histogram

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install processador_imagens

```bash
pip install processador_imagens
```

## Author
Guilherme

## License
[MIT](https://choosealicense.com/licenses/mit/)