semvec/pypi-packages huggingface dataset:
final-class 0.2.0
Final classes for Python 3
License: MIT
Requires Python: >=3.6,<4.0
Keywords: oop,oop-principles,final-classes,wemake.services,final,final classes,typing

# final_class

[![wemake.services](https://img.shields.io/badge/-wemake.services-green.svg?label=%20&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services) [![Build Status](https://travis-ci.org/moscow-python-beer/final-class.svg?branch=master)](https://travis-ci.org/moscow-python-beer/final-class) [![Coverage Status](https://coveralls.io/repos/github/moscow-python-beer/final-class/badge.svg?branch=master)](https://coveralls.io/github/moscow-python-beer/final-class?branch=master) [![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)

Final classes for `python3.6+`.


## Features

- No metaclass conflicts
- No runtime overhead
- No dependencies
- Type hints included, [PEP-561](https://www.python.org/dev/peps/pep-0561/) and [PEP-591](https://www.python.org/dev/peps/pep-0591/) compatible
- Designed to be as simple as possible


## Why?

In languages like `java` we have a nice way
to restrict subclassing any class by making it `final`:

```java
public final class SomeClass {
  // ...
}
```

In `python` we don't have such feature out of the box.
That's where `final_class` library comes in!

This package works perfectly with `@final` from `typing`.
So, with `final_class` you will have both type-checking and runtime checks.

## Installation

```bash
pip install final_class
```


## Usage

```python
from final_class import final


@final
class Example(object):  # You won't be able to subclass it!
    ...


class Error(Example):  # Raises `TypeError`
    ...
```

## More?

Do you want more? Check out:

- [1-minute guide to real constants in Python](https://sobolevn.me/2018/07/real-python-contants)


## License

MIT.
numpyworld 0.3
Use numpy to create a world that you dreamed about!
License: MIT
Keywords: numpyworld

# Numpy World

Draw this world with numpy.  

> We firmly believe once you can draw one picture with programming, you can also draw a series of that kind of pictures with programming too.

### Installation

```
sudo pip3 install numpyworld
```

### Usage

```python
from numpyworld import World

width = 1920
height = 1080

world = World(width=width, height=height)
world.disable_jupyter_notebook_mode()

for x in range(width):
    for y in range(height):
        if width/7 * 1 < x < width / 7 * 2:
            world.draw_a_point(x, y, (0, 255, 0))
        if width/7 * 3 < x < width / 7 * 4:
            world.draw_a_point(x, y, (0, 0, 0))
        if width/7 * 5 < x < width / 7 * 6:
            world.draw_a_point(x, y, (255, 0, 0))

world.show()
```

### More

[Jupyter-notebook Examples](https://github.com/yingshaoxo/numpyworld/blob/master/Example.ipynb)
roax-redis 1.0.3
Redis extension for Roax.
License: MIT
Requires Python: >=3.6,<4.0
Keywords: wsgi,framework,resource,openapi

# Roax-Redis

[![PyPI](https://badge.fury.io/py/roax-redis.svg)](https://badge.fury.io/py/roax-redis)
[![License](https://img.shields.io/github/license/roax/roax-redis.svg)](https://github.com/roax/roax-redis/blob/master/LICENSE)
[![GitHub](https://img.shields.io/badge/github-master-blue.svg)](https://github.com/roax/roax-redis/)
[![Travis CI](https://travis-ci.org/roax/roax-redis.svg?branch=master)](https://travis-ci.org/roax/roax-redis)
[![Codecov](https://codecov.io/gh/roax/roax-redis/branch/master/graph/badge.svg)](https://codecov.io/gh/roax/roax-redis)
[![Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/psf/black)

Roax-Redis: Redis extension for Roax. 

## Develop

```
poetry install
poetry run pre-commit install
```

## Test

```
poetry run pytest
```