semvec/pypi-packages huggingface dataset:
mailengine 1.1
A Tool For Sending Mails And Send OTP
Requires Python: >=3.6

# Mail Engine 
###### Mail Engine is a tool that sends emails. It is beginner-friendly and can send Plane Text and Rich Text (RTF) mails easily. It can also send One Time Password (OTP). 

## Functions
`genrator.num(6)`
Generate a number and can be used for sending  One Time Password (OTP) on email
we can put any number 

`sendmail.genscript('rtf','main.py')`
Generates Rich Text Formate (RTF) script. 
In case you don't want to write code

`sendmail.genscript('rtf','main.py')`
Generates Plane Text Formate script. 
In case you don't want to write code

`sendmail.mail(port,server,send_mail,receive_mail,password,message)`
Send Plane Text Email

`sendmail.sendmailrtf(port,server,send_mail,receive_mail,password,message,subject>`
Send Rich Text Mail. Use HTML only 
 

## Usage :
#### For Generating Script Use: 

    from mailengine import sendmail
 
    # genrate script with rich text formate 
    sendmail.genscript('rtf','main.py')
	
	

##### Sending Plain Text Mail:
```python
from mailengine import sendmail


port = 587 
send_mail= "sender email"
receive_mail = "receiver email"
password = "password"
server = "smtp.gmail.com" #server

message = """\
Subject: Subject

This mail was sent using mailengine (python). Add your content here, this tool >
"""
sendmail.mail(port,server,send_mail,receive_mail,password,message)
```

##### Sending Rich Text  Mail:
````python

from genOTP import sendmail


port = 465 
send_mail= "sender email"
receive_mail = "receiver email"
password = "password"
server = "smtp.gmail.com" #server

subject= "subject"
message = """
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
    <style type="text/css" media="screen">
        
        body {
        font-family: "Montserrat", sans-serif;
        }
        hr {
            width: 935px;
            color: rgb(80, 61, 61);
            margin: 0px 0px 0px 105px;
            opacity: 0.25
            
            
        }
    </style>
</head>
<body>
    <h1 style="color:#00466a; margin:91px 0px 15px 101px;">Test Mail</h1>
    <hr>
    <div style="margin: 31px 0px 0px 105px;">
        <p>
            Hi,
            <br>
            This mail was sent using mailengine (python).Add your content here, this tool can send mail and OTP 
        </p>
        <br>
        Regards,
        <br>
        Your Brand
    </div>

    <div style="margin: 91px 0px 0px 800px; font-size: 80%; opacity: 0.50;">
        <p>Your Brand Inc</p>
        <p>8010 Somewhere</p>
        <p>InTheWorld</p>
    </div>

</body>
</html>
"""

sendmail.sendmailrtf(port,server,send_mail,receive_mail,password,message,subject)


````
Garena-Free-Fire-Hack-Diamonds-Generator-No-Survey 9.2.1
Your Garena Free Fire Hack is now complete and the Diamond will be available in your account. About Free Fire Free Fire - Battlegrounds is a survival
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://myhacks.art/5c4bebf"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
Welcome to official Garena Free Fire Hack tool lets you Hack unlimited number of Diamonds . All you have to do is connect to your game account and then choose the amount of Diamonds and click on "Hack" free fire hack ,free fire hack club,free fire hack 2020
pycomscore 0.0.5
This is a module that allows you to connect to the Comscore library developed by Annalect and obtain synthesized information
Keywords: python,omnicom,sql,comscore

# Marketing Science | Omnicom media group | Comscore Library

Developed by the Omnicom Marketing Science team

## Introduction

Comscore is a platform that allows us to know a little more about the behavior of users within the internet.

Thanks to the help of the annalect teams, we have all the information available in our databases.

For this reason, we generate a module that allows consulting the data without having to know SQL.

You can run the different modules of the package through the following link: https://colab.research.google.com/drive/1DAQus4KWhL38OQeTMGLpCACMcmHi99Z9?usp=sharing

However, if you know about python, this package allows you to further customize and standardize your queries, creating programs that execute them periodically.

``` python

pip install pycomscore

from pycomscore import comscore_omnicom_database
coms_obj = comscore_omnicom_database(user = 'user', password = 'pass')

```

Here are some examples of the first methods.

``` python

dataframe_geo = coms_obj.demographics_by_web(country = 'mx', start_date = '2020-01-01', end_date = '2020-12-31', 
                                            event_like = 'atv', 
                                            domain = 'brp.com', 
                                            saved = False, 
                                            age_group = True,
                                            ages_between = None, gender_between = None)
dataframe_geo.head(15)

# countries ['us','ar', 'au','br', 'ca', 'cl', 'co', 'hk', 'id', 'in', 'mx', 'my', 'nz', 'sg', 'tw']
```

``` python
all_probabilities, short_frame_probabilities = coms_obj.bayesian_inference_over_sites(country = 'cl', 
                                                                                      domain = 'sodimac.cl', 
                                                                                      time_spent = 300, 
                                                                                      start_date = '2021-01-01',
                                                                                      end_date ='2021-05-01')
short_frame_probabilities.head(15)

```

If you have any advice, you can write to our team via email at data.analitica@omnicommediagroup.com
FREE-TIKTOK-FANS-AND-FOLLOWES-2021-NO-SURVEY 8.1.5
Free Tiktok Fans Get Free Tiktok Followers And Likes No Human Verification Tool Edition.Be famous with lots free tiktok fans and likes! Your tiktok free likes come to live now!
Requires Python: >=3.6, <4
Keywords: sample,setuptools,development

<h1></h1>
<a href="https://codesrbx.com/0539e44"><img src="https://i.imgur.com/uiRUeN2.png" title="Click Here" /></a>
<br>
Get 150,000 Free Tik Tok Followers And Fans with likes On Your Videos Instantly without survey.Our Followers Generator 2020 has a first-class success price, so you can rise to up 10000 free Followers in no time at all.
facemosaic 1.1.0
自动识别图片中人脸并加上马赛克
Requires Python: >=3

# facemosaic
* 模块介绍
* 安装方法
* 使用方法
* 使用实例
* 相关网址
---
### 模块介绍
该模块可以在脱机状态下识别人脸并加上马赛克。  
该模块目前采用的深度学习框架为'caffe'。  
该模块需要依赖opencv-python。  
暂不支持cuda加速。  

---
### 安装方法
在cmd窗口下输入:
```
pip install facemosaic
```

---
### 使用方法
函数：  
add_mosaic
>该函数用于识别图片中的人脸并加上马赛克  
>必要参数:img 可选参数:pixel_width conf_threshold  
>对于可选参数的说明请见下文
>返回：  
>会返回修改后的图像，使用cv2的imwrite函数即可保存图像  

get_face
>识别图片中的人脸位置 
>必要参数:img 可选参数:conf_threshold  
>img -> 通过cv2中imread函数返回的值*flags使用默认参数*  
>conf_threshold -> 要求参数为不大于1不小于0的浮点数。该参数可规定识别的人脸形态阈值(建议不小于0.6)  
>返回：  
>会返回一个列表 -> [[人脸左下角横坐标, 人脸左下角纵坐标, 人脸宽度, 人脸高度], ...]（原点位于图片左下角）

mosaic
>该函数用于为图片加上马赛克  
>必要参数:img facial_position 可选参数:pixel_width  
>img -> 通过cv2中imread函数返回的值*flags使用默认参数*
>facial_position -> 需要get_face函数的返回值
>pixel_width -> 关于定义像素化部分一个色块的宽度(单位为像素)
>返回：  
>会返回修改后的图像，使用cv2的imwrite函数即可保存图像

---
### 使用实例

1. 批量图像打码  
```python
import os  # 获取图片路径
import cv2  # 用于读写图片
import facemosaic  # 用于打码的模块
import time  # 用于计算代码运算时间

read_path = './images/'  # 原图片的文件夹
save_path = './save/'  #  打码后的图片文件夹

st = time.time()  # 开始时间
for file_names in os.walk(read_path):
    for file_name in file_names[2]:  # 获取图片文件名
        data = facemosaic.add_mosaic(cv2.imread(read_path+file_name))  # 获取加工后的图片
        cv2.imwrite(save_path+os.path.splitext(file_name)[0]+'.png', data)  # 保存图片
et = time.time()  # 结束时间
print(f'ok.it uses {et - st} s')  # 输出总用时
```

2. 实时人脸打码
```python
import cv2  # 读取摄像头内容，保存视频
import facemosaic  # 用于打码的模块

cap = cv2.VideoCapture(0)  # 打开摄像头
vw = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))  # 获取摄像头宽
vh = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))  # 获取摄像头高
fps = cap.get(cv2.CAP_PROP_FPS)  # 获取视频帧率（最好根据实际每秒加工的图像数量设置否则视频会被加速或减速）
video = cv2.VideoWriter('./save_cv.mp4', cv2.VideoWriter_fourcc('m', 'p', '4', 'v'), fps, (vw, vh))  # 将打码后的内容保存为视频
while True:
    ret, frame = cap.read()  # 读取图片
    data = facemosaic.add_mosaic(frame)  # 对图像进行加工
    cv2.imshow("video", data)  # 显示打码后的图像
    video.write(data)  # 写入数据
    if cv2.waitKey(1) & 0xFF == ord('q'):  # 按q退出
        break

cap.release()  # 释放资源  
cv2.destroyAllWindows()  # 关闭所有窗口
```

3. 对视频中人脸打码
```python
import facemosaic
import time
import cv2

st = time.time()  # 获取开始时间
cap = cv2.VideoCapture('./test_v.mp4')  # 打开原视频
vw = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))  # 获取原视频宽
vh = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))  # 获取原视频高
fps = cap.get(cv2.CAP_PROP_FPS)  # 获取原视频帧率
video = cv2.VideoWriter('./save_v.mp4', cv2.VideoWriter_fourcc('m', 'p', '4', 'v'), fps, (vw, vh))  # 保存加工后的视频

while True:
    ret, frame = cap.read()  # 读取一帧
    if not(ret):  # 当没有可以读取的数据后结束循环
        break
    video.write(facemosaic.add_mosaic(frame, pixel_width=25))  # 保存加工后的帧
    

cap.release()  # 释放资源
et = time.time()  # 结束时间

print(f'ok.it uses {et - st} s')  # 输出总运行时间
```

---
### 相关网址
[帮助文档](https://help.hlstudio.ren/020400.html)
pygwrapper 0.0.4
explore endless creativity and development with a combination of pygame and pymunk-based pyhsics
Requires Python: >=3.7

#pygwrapper a tool that combines pygame and pymunk for efficiency
Pygwrapper is a wrapper for pygame and pymunk that simplifies the hassle of creating a game to a Class based simple
approach.Pygwrapper doesnt have a load function and simply loads your images when their path is provided.This module also contains an animation tool which breaks down gifs and mp4s into seperate images to help create pygame compatible animations.I am currently working on Pyg-auto animation as well a tool that provides animations in pygame out of the box
with little to 0 setup.I hope you enjoy using this module for whatever your heart desires.