semvec/pypi-packages huggingface dataset:
test-helper-gae3 1.2
Class for autotests GoogleAppEngine python3 app.
Requires Python: >=3.6

# Class for autotests GoogleAppEngine Python3 app.

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/test.helper.gae3/pep257.yml?label=Pep257&style=plastic&branch=main)](https://github.com/vb64/test.helper.gae3/actions?query=workflow%3Apep257)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/test.helper.gae3/py3.yml?label=Python%203.7-3.11&style=plastic&branch=main)](https://github.com/vb64/test.helper.gae3/actions?query=workflow%3Apy3)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/abee606aca3047f9952c43196aa5d2b7)](https://app.codacy.com/gh/vb64/test.helper.gae3/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/abee606aca3047f9952c43196aa5d2b7)](https://app.codacy.com/gh/vb64/test.helper.gae3/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)

## Install
```bash
pip install test-helper-gae3
```

## Usage in tests

```python
import unittest
from google.appengine.ext import ndb
from test_helper_gae3 import TestGae3


class ModelTest(ndb.Model):
    name = ndb.StringProperty(default='')


class TestCase(unittest.TestCase, TestGae3):

    def setUp(self):
        super().setUp()

        # For using queues names other then 'default', root_path dir must contain file
        # 'queue.yaml' (or 'queue.yml') with correct queues definition.
        # If root_path set to None, only 'default' queue is available.
        TestGae3.set_up(self, 'path/to/folder/with/queue.yaml')  # activate GAE testbed

    def tearDown(self):
        TestGae3.tear_down(self)  # deactivate GAE testbed
        super().tearDown()

    def test_record_count(self):
        self.check_db_tables([
          (ModelTest, 0),  # no records in ModelTest
        ])

        ModelTest().put()

        self.tester.check_db_tables([
          (ModelTest, 1),  # one record in ModelTest
        ])

```
RoboArt 0.1.4
A basic random avatar generator
Keywords: python,avatar,roboart,random avatar,robohash,robots art

# RoboArt

### Avatars lovingly delivered by Robohash.org

RoboArt is a basic random avatar generator which generates avatar in 4 different sets when hash is provided.

## Installation

You can install RoboArt via pip:

```bash
pip3 install -U RoboArt
```

This will install the latest version of RoboArt

To update your existing RoboArt package, use:

```bash
pip3 install RoboArt - U
```

## Usage

Import RoboArt in your Python script and create an instance of the roboart class:

```python
from RoboArt import roboart
ra = roboart()
```

Then, generate an avatar by passing a hash value to the robo() method:

```python
ra.robo("thisishash")
```

This will generate an avatar based on the provided hash value.

## Quick Example

```python
from RoboArt import roboart

ra = roboart()

# You can use any random string hash, it doesnt matter
Robot = ra.robo("Robot") # It generates a robot avatar
Monster = ra.monster("Monster") # It generates a monster avatar
RoboHead = ra.robohead("Head") # It generates a robot head avatar
Kittens = ra.kitten('cats') # It generates a cat avatar

print(Robot) # prints robo
```

## License:

This project is licensed under the terms of the MIT license. You can find the full license text in the LICENSE file.