semvec/pypi-packages huggingface dataset:
faker-microservice 2.0.0
Provider for Faker which adds fake microservice names.

# faker-microservice

Provider for [Faker](https://faker.readthedocs.io/) which adds fake microservice names.

[![PyPI](https://img.shields.io/pypi/v/faker-microservice.svg)](https://pypi.org/project/faker-microservice/)
![](https://img.shields.io/pypi/pyversions/faker-microservice.svg)
[![Downloads](https://pepy.tech/badge/faker-microservice)](https://pepy.tech/project/faker-microservice)
[![Build Status](https://img.shields.io/travis/com/craiga/faker-microservice.svg)](https://travis-ci.com/craiga/faker-microservice)
[![Maintainability](https://img.shields.io/codeclimate/maintainability/craiga/faker-microservice.svg)](https://codeclimate.com/github/craiga/faker-microservice/maintainability)
[![Test Coverage](https://img.shields.io/codeclimate/coverage/craiga/faker-microservice.svg)](https://codeclimate.com/github/craiga/faker-microservice/test_coverage)

# Installation

```
pipenv install faker-microservice
```

# Usage

## Python

```python
from faker import Faker

import faker_microservice

fake = Faker()
fake.add_provider(faker_microservice.Provider)
print(fake.microservice())  # prints "fulfilment_manager" or similar
```

## Command Line

```
pipenv run faker microservice -i faker_microservice
```
execution-asserts 0.0.3
A collection of asserts for methods execution

[![PyPI version](https://badge.fury.io/py/execution-asserts.svg)](https://badge.fury.io/py/execution-asserts)
[![PyPI download month](https://img.shields.io/pypi/dm/execution-asserts.svg)](https://pypi.python.org/pypi/execution-asserts/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/execution-asserts.svg)](https://pypi.python.org/pypi/execution-asserts/)


# execution-asserts

A collection of asserts for testing performance of the methods.

## List of asserts

   `assertMaximumExecutionTime(max_execution_time_seconds, func, *args, **kwargs)`


   `assertMaximumMemoryUsage(max_memory_usage, func, *args, **kwargs)`

## How to use 

Look at this sample :

    import unittest

    from execution_assets import ExecutionTest

    def my_method(input_parameter):
        pass


    class MyTestCase(unittest.TestCase, ExecutionTest):
        def test_execution_time(self):
            self.assertMaximumExecutionTime(0.3, my_method, 'test_value')

        def test_memory_usage(self):
            self.assertMaximumMemoryUsage(12, my_method, 'test_value')