semvec/pypi-packages huggingface dataset:
yishide-jiyi 2022.7.27.0
奸的好人17-遗失的记忆
Requires Python: >=3.6

# 奸的好人17-遗失的记忆

## 下载

### Docker

```
docker pull apachecn0/yishide-jiyi
docker run -tid -p <port>:80 apachecn0/yishide-jiyi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install yishide-jiyi
yishide-jiyi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g yishide-jiyi
yishide-jiyi <port>
# 访问 http://localhost:{port} 查看文档
```
yinxiang-xinaoshu 2022.7.27.0
奸的好人5-印象洗脑术
Requires Python: >=3.6

# 奸的好人5-印象洗脑术

## 下载

### Docker

```
docker pull apachecn0/yinxiang-xinaoshu
docker run -tid -p <port>:80 apachecn0/yinxiang-xinaoshu
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install yinxiang-xinaoshu
yinxiang-xinaoshu <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g yinxiang-xinaoshu
yinxiang-xinaoshu <port>
# 访问 http://localhost:{port} 查看文档
```
xinmo-xingxiao 2022.7.27.0
奸的好人4-心魔行销
Requires Python: >=3.6

# 奸的好人4-心魔行销

## 下载

### Docker

```
docker pull apachecn0/xinmo-xingxiao
docker run -tid -p <port>:80 apachecn0/xinmo-xingxiao
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install xinmo-xingxiao
xinmo-xingxiao <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g xinmo-xingxiao
xinmo-xingxiao <port>
# 访问 http://localhost:{port} 查看文档
```
xiaoxin-nibei-cuimianle 2022.7.27.0
奸的好人24-小心你被催眠了
Requires Python: >=3.6

# 奸的好人24-小心你被催眠了

## 下载

### Docker

```
docker pull apachecn0/xiaoxin-nibei-cuimianle
docker run -tid -p <port>:80 apachecn0/xiaoxin-nibei-cuimianle
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install xiaoxin-nibei-cuimianle
xiaoxin-nibei-cuimianle <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g xiaoxin-nibei-cuimianle
xiaoxin-nibei-cuimianle <port>
# 访问 http://localhost:{port} 查看文档
```
quanmou-shouduan-yingxiangxue 2022.7.27.0
奸的好人20-权谋手段影响学
Requires Python: >=3.6

# 奸的好人20-权谋手段影响学

## 下载

### Docker

```
docker pull apachecn0/quanmou-shouduan-yingxiangxue
docker run -tid -p <port>:80 apachecn0/quanmou-shouduan-yingxiangxue
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install quanmou-shouduan-yingxiangxue
quanmou-shouduan-yingxiangxue <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g quanmou-shouduan-yingxiangxue
quanmou-shouduan-yingxiangxue <port>
# 访问 http://localhost:{port} 查看文档
```
quanmou-bingfadao 2022.7.27.0
奸的好人15-权谋兵法道
Requires Python: >=3.6

# 奸的好人15-权谋兵法道

## 下载

### Docker

```
docker pull apachecn0/quanmou-bingfadao
docker run -tid -p <port>:80 apachecn0/quanmou-bingfadao
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install quanmou-bingfadao
quanmou-bingfadao <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g quanmou-bingfadao
quanmou-bingfadao <port>
# 访问 http://localhost:{port} 查看文档
```
nlp-dingjian-meili-yingxiangxue 2022.7.27.0
奸的好人16-NLP顶尖魅力影响学
Requires Python: >=3.6

# 奸的好人16-NLP顶尖魅力影响学

## 下载

### Docker

```
docker pull apachecn0/nlp-dingjian-meili-yingxiangxue
docker run -tid -p <port>:80 apachecn0/nlp-dingjian-meili-yingxiangxue
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install nlp-dingjian-meili-yingxiangxue
nlp-dingjian-meili-yingxiangxue <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g nlp-dingjian-meili-yingxiangxue
nlp-dingjian-meili-yingxiangxue <port>
# 访问 http://localhost:{port} 查看文档
```
nanren-yaode-bushi-meinv 2022.7.27.0
奸的好人22-男人要的不是美女
Requires Python: >=3.6

# 奸的好人22-男人要的不是美女

## 下载

### Docker

```
docker pull apachecn0/nanren-yaode-bushi-meinv
docker run -tid -p <port>:80 apachecn0/nanren-yaode-bushi-meinv
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install nanren-yaode-bushi-meinv
nanren-yaode-bushi-meinv <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g nanren-yaode-bushi-meinv
nanren-yaode-bushi-meinv <port>
# 访问 http://localhost:{port} 查看文档
```
lengxue-jiushi 2022.7.27.0
奸的好人3-冷血救世
Requires Python: >=3.6

# 奸的好人3-冷血救世

## 下载

### Docker

```
docker pull apachecn0/lengxue-jiushi
docker run -tid -p <port>:80 apachecn0/lengxue-jiushi
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install lengxue-jiushi
lengxue-jiushi <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g lengxue-jiushi
lengxue-jiushi <port>
# 访问 http://localhost:{port} 查看文档
```
sshniby 1.3.7
A package to defeat ssh niby
Requires Python: >=3.6

CVE-2022-26801 - weakness in a core Windows component (RPC) earned a CVSS score of 9.8 not without a reason, as the attack does not require authentication and can be executed remotely over a network, and can result in remote code execution (RCE) with the privileges of the RPC service, which depends on the process hosting the RPC runtime. That critcal bug, with a bit of luck, allows to gain access to unpatched Windows host running SMB. The vulnerability can be exploited both from outside the network in order to breach it as well as between machines in the network.
kanchuan-nvrenxin-mihuo-nanrenzhen 2022.7.27.0
奸的好人10-看穿女人心迷惑男人阵
Requires Python: >=3.6

# 奸的好人10-看穿女人心迷惑男人阵

## 下载

### Docker

```
docker pull apachecn0/kanchuan-nvrenxin-mihuo-nanrenzhen
docker run -tid -p <port>:80 apachecn0/kanchuan-nvrenxin-mihuo-nanrenzhen
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install kanchuan-nvrenxin-mihuo-nanrenzhen
kanchuan-nvrenxin-mihuo-nanrenzhen <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g kanchuan-nvrenxin-mihuo-nanrenzhen
kanchuan-nvrenxin-mihuo-nanrenzhen <port>
# 访问 http://localhost:{port} 查看文档
```
jiduan-ziwo-jiushiwang 2022.7.27.0
奸的好人6-极端自我就是王
Requires Python: >=3.6

# 奸的好人6-极端自我就是王

## 下载

### Docker

```
docker pull apachecn0/jiduan-ziwo-jiushiwang
docker run -tid -p <port>:80 apachecn0/jiduan-ziwo-jiushiwang
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install jiduan-ziwo-jiushiwang
jiduan-ziwo-jiushiwang <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g jiduan-ziwo-jiushiwang
jiduan-ziwo-jiushiwang <port>
# 访问 http://localhost:{port} 查看文档
```
jiandehaoren-xinmao 2022.7.27.0
奸的好人19-心锚
Requires Python: >=3.6

# 奸的好人19-心锚

## 下载

### Docker

```
docker pull apachecn0/jiandehaoren-xinmao
docker run -tid -p <port>:80 apachecn0/jiandehaoren-xinmao
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install jiandehaoren-xinmao
jiandehaoren-xinmao <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g jiandehaoren-xinmao
jiandehaoren-xinmao <port>
# 访问 http://localhost:{port} 查看文档
```
haonanren-bingdu 2022.7.27.0
奸的好人14-好男人病毒
Requires Python: >=3.6

# 奸的好人14-好男人病毒

## 下载

### Docker

```
docker pull apachecn0/haonanren-bingdu
docker run -tid -p <port>:80 apachecn0/haonanren-bingdu
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install haonanren-bingdu
haonanren-bingdu <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g haonanren-bingdu
haonanren-bingdu <port>
# 访问 http://localhost:{port} 查看文档
```
gouhun-duoxin-xinao-cuimian 2022.7.27.0
奸的好人1-勾魂夺心洗脑催眠
Requires Python: >=3.6

# 奸的好人1-勾魂夺心洗脑催眠

## 下载

### Docker

```
docker pull apachecn0/gouhun-duoxin-xinao-cuimian
docker run -tid -p <port>:80 apachecn0/gouhun-duoxin-xinao-cuimian
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install gouhun-duoxin-xinao-cuimian
gouhun-duoxin-xinao-cuimian <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g gouhun-duoxin-xinao-cuimian
gouhun-duoxin-xinao-cuimian <port>
# 访问 http://localhost:{port} 查看文档
```
emo-jiaosheshu 2022.7.27.0
奸的好人25-恶魔交涉术
Requires Python: >=3.6

# 奸的好人25-恶魔交涉术

## 下载

### Docker

```
docker pull apachecn0/emo-jiaosheshu
docker run -tid -p <port>:80 apachecn0/emo-jiaosheshu
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install emo-jiaosheshu
emo-jiaosheshu <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g emo-jiaosheshu
emo-jiaosheshu <port>
# 访问 http://localhost:{port} 查看文档
```
chuwei-yingyao-shijie-kanzhongwo 2022.7.27.0
奸的好人12-出位硬要世界看重我
Requires Python: >=3.6

# 奸的好人12-出位硬要世界看重我

## 下载

### Docker

```
docker pull apachecn0/chuwei-yingyao-shijie-kanzhongwo
docker run -tid -p <port>:80 apachecn0/chuwei-yingyao-shijie-kanzhongwo
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install chuwei-yingyao-shijie-kanzhongwo
chuwei-yingyao-shijie-kanzhongwo <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g chuwei-yingyao-shijie-kanzhongwo
chuwei-yingyao-shijie-kanzhongwo <port>
# 访问 http://localhost:{port} 查看文档
```
TrackCobra 0.4.0
Short EveryThing In Seconds
Requires Python: >=3.9

## from TrackCobra import Connection
#### Connection.Bin("bin","help // if you not commands")
###
## from TrackCobra import Login
#### There are many websites for login like Netflix, Instagram, Noon, Github....
#### Login.Github("email","pass")
###
## from TrackCobra import User
#### check user if true/false by simple code and there are many websites like pypi, github
#### User.Pypi("user")
#### User.Github("user")
### 
## from TrackCobra.Html5 import *
#### button(name="name", id="id", __class__="class", text="text", style="style")
#### run(port=0000, auto_open=None)
### 
## from TrackCobra.HttpWebRequest import *
#### Request("https://github.com", "Get")
#### Response("Text")
### 
# There are many.. to write --> https://github.com/MrGps1/TrackCobra
chuncui-qingyu 2022.7.27.0
奸的好人21-纯粹情欲
Requires Python: >=3.6

# 奸的好人21-纯粹情欲

## 下载

### Docker

```
docker pull apachecn0/chuncui-qingyu
docker run -tid -p <port>:80 apachecn0/chuncui-qingyu
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install chuncui-qingyu
chuncui-qingyu <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g chuncui-qingyu
chuncui-qingyu <port>
# 访问 http://localhost:{port} 查看文档
```
caise-zhanchang 2022.7.27.0
奸的好人2-財色戰場
Requires Python: >=3.6

# 奸的好人2-財色戰場

## 下载

### Docker

```
docker pull apachecn0/caise-zhanchang
docker run -tid -p <port>:80 apachecn0/caise-zhanchang
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install caise-zhanchang
caise-zhanchang <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g caise-zhanchang
caise-zhanchang <port>
# 访问 http://localhost:{port} 查看文档
```
scratch-pad-py3 0.0.1
python logger libary
Requires Python: >=3.9
Keywords: logger

# scratch-pad-py

## Projects that have been ported below.
https://github.com/polonaiz/scratch-pad


mind blowing python toolset. why not pr?


# Logger interface
```
from .logger_interface import LoggerInterface

class Logger(LoggerInterface):
    logger: LoggerInterface = None

    @classmethod
    def setLogger(cls, logger: LoggerInterface):
        cls.logger = logger

    @classmethod
    def getLogger(cls) -> LoggerInterface:
        return cls.logger

    @classmethod
    def info(cls, message: dict, option: dict = {}):
        cls.logger.info(message, option)

    @classmethod
    def notice(cls, message: dict, option: dict = {}):
        cls.logger.notice(message, option)

    @classmethod
    def warning(cls, message: dict, option: dict = {}):
        cls.logger.warning(message, option)

    @classmethod
    def error(cls, message: dict, option: dict = {}):
        cls.logger.error(message, option)

    @classmethod
    def critical(cls, message: dict, option: dict = {}):
        cls.logger.critical(message, option)
```



# Usage
FileLogger
```
filePath = "/tmp/scratch-pad-python.log"
logger = FileLogger(
    config={
        "filePath": filePath,
        "truncate": True
    }
)
message = {
    "type": "file",
    "message": "hello world"
}
logger.info(message)
```
CompositeLogger
```
consoleLogger = ConsoleLogger(
        config={
        "appendNewLine": 1
    }
)
memoryLogger = MemoryLogger()
memoryLoggerCompositeFilter = CompositeLogger.getSelectorLevel(["info", "error"])

message = {
    "type": "composite",
    "message": "hello world"
}

compositLogger = CompositeLogger(
    config={
        "defaults": {
            "datetime": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
            "program": "scratch-pad-python",
        },
        "loggerFilterPairs": [
            {
                "logger": consoleLogger,
                "filter": None
            },
            {
                "logger": memoryLogger,
                "filter": memoryLoggerCompositeFilter
            }
        ],
    }
)

compositLogger.info(message)
```

JandiLogger
```
url = "url"
logger = JandiLogger(
    url=url
)

message = {
    "type": "jandi",
    "message": "hello world"
}

logger.info(message)
```

TelegramLogger
```
token = "telegram"
chat_id = 1234

message = {
    "type": "telegram",
    "message": "hello world",
}

logger = TelegramLogger(
    chat_id=chat_id,
    token=token,
)

logger.info(message)
```

FluentLogger
```
logger = FluentLogger()
message = {
        "type": "fluent",
        "message": "hello world"
    }

logger.info(message)
```

#
stuff) 


scribe-docker for ScribeLogger : https://hub.docker.com/r/polonaiz/facebook-scribe


fluent-docker for FluentLogger : https://github.com/chirichidi/fluent-docker/tree/main
aiqing-yinmoulun 2022.7.27.0
奸的好人11-爱情阴谋论
Requires Python: >=3.6

# 奸的好人11-爱情阴谋论

## 下载

### Docker

```
docker pull apachecn0/aiqing-yinmoulun
docker run -tid -p <port>:80 apachecn0/aiqing-yinmoulun
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install aiqing-yinmoulun
aiqing-yinmoulun <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g aiqing-yinmoulun
aiqing-yinmoulun <port>
# 访问 http://localhost:{port} 查看文档
```
convertible 0.1.0
Value-to-value conversion in Python
Requires Python: >=3.7

# Convertible

Value-to-value conversion in Python.

# Usage

## Convertible

First, let's create a model for conversion. The model can be any class.

For convenience, let's take `dataclass`:

```python
from dataclasses import dataclass
from convertible import Convertible

@dataclass
class User(Convertible):
    name: str
    age: int
```

Now `User` has conversion methods `try_from` and `try_into`. But we haven't
implemented any converter. Let's do this.

## `From` Converter

```python
from typing import Tuple
from convertible import From

class UserFromTuple(From[tuple[str, int], User]):
    def try_from(self, value: tuple[str, int]) -> User:
        return User(name=value[0], age=value[1])
```

Now we can instantiate `User` from `tuple`:

```python
user = User.try_from(("John", 23))
assert user.age == 23
```

## `Into` Converter

We can convert user into another type. Let's define the converter:

```python
# note that User is now the first parameter:
class UserIntoDict(From[User, dict]):
    def try_from(self, user: User) -> dict:
        return {
            "username": user.name,
            "age": user.age
        }

data = user.try_into(dict)
assert data["username"] == user.name
```

## Cross conversion

Implementing `From` for two `Convertible` classes automatically provides the
second `Convertible` with an implementation for `try_into`:

```python
@dataclass
class Admin(Convertible):
    name: str


class AdminFromUser(From[User, Admin]):
    def try_from(self, user: User) -> Admin:
        return Admin(name=user.name)


# these are equivalent
assert user.try_into(Admin) == Admin.try_from(user)
```

## Manual converter registration

You may need to define converters for types that are not `Convertible`.
This can be done using the `register_converter` function:

```python
class IntFromString:
    def try_from(self, value: str) -> int:
        return int(value)

From[int, str].register_converter(IntFromString)

value = From[int, str].try_from("123")
assert value == 123
```