semvec/pypi-packages huggingface dataset:
pornstar 0.7
Make you become the next porn star!
License: MIT
Keywords: pornstar

# pornstar

A Python library to make you become the next famous pornstar!

> It's also a gift to www.pornhub.com.

> I always think for those outstanding otaku, pornhub would be the second most visited website on their phone. (github should be the first)

### Docs
https://yingshaoxo.github.io/pornstar

### Features
* background blur
* skin smooth
* skin whitening
* add a mask to your face
* faceswap
* face slimming
* `tensorflow2.0` only

<!--
![Feature1](Feature_0.png)
-->

![Feature1](Feature_1.png)

![Feature2](Feature_2.png)

![Feature3](Feature_3.png)

> trump is the best!


### Installation
```
sudo pip3 install pornstar
```


### Usage
#### colab
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/yingshaoxo/pornstar/blob/master/example/colab.ipynb)

#### local
first:
```
export TF_FORCE_GPU_ALLOW_GROWTH=true
```

then:
See [examples](https://github.com/yingshaoxo/pornstar/tree/master/example)


### Author

yingshaoxo@gmail.com
singleton-injector 0.2
Simple library to unify singleton and injection with a decorator
License: MIT
Keywords: Injection,Singleton,Simple


## SingletonInjector

This simple library will instanciate singletons and inject dependencies depending on whether the parameters passed to inject where previosly marked for singleton

#### Example

1. There are two classes `Car` and `Brand`, the second one is passed the first one as a parameter. If we mark their definitions as `@injector`, we will see that the classes will still be instanciated as normal classes, but they will be injected with the singleton instanciated class.

```py
from singleton_injector import injector


@injector
class Car:
    def __init__(self):
        print("Instantiating Car class on definition")

# After defining this class marked with @injector, by itself
# should instantiate it's singleton object


@injector
class Brand:
    def __init__(self, car: Car, car2: Car):
        print("Injected Car parameters are the same: %s" % (car is car2))

```

The output for the above code should be 

```
Instantiating Car class on definition
Injected Car parameters are the same: True
```

Cheers :thumbsup: