semvec/pypi-packages huggingface dataset:
py-admetric 0.0.1
Provide calculation methods often used in digital advertising industry
Requires Python: >=3.9.5

# py-admetric

## What is py-admetric?
Provide calculation methods often used in digital advertising industry

## What does py-admetric provide?
1. CPI (Cost Per Impression)
2. CPM (Cost Per Thousand Impressions (Cost Per Mille))
3. CPC (Cost Per Click)
4. CPA (Cost Per Action (Cost Per Acquisition))
5. CPV (Cost Per View)
6. CTR (Click Through Rate)
7. VTR (View Through Rate)
8. CVR (Conversion Rate)

## Installation
```shell
$ pip install py-admetric
```

## Usage and Example
### Example: CPM
```python
from py_admetric import py_admetric
cpm = py_admetric.cpm(50000, 1000)
```
selenium-youtube-firefox 0.0.2
selenium_youtube_firefox
Requires Python: >=3.4

# selenium_youtube_firefox

![PyPI - package version](https://img.shields.io/pypi/v/selenium_youtube_firefox?logo=pypi&style=flat-square)
![PyPI - license](https://img.shields.io/pypi/l/selenium_youtube_firefox?label=package%20license&style=flat-square)
![PyPI - python version](https://img.shields.io/pypi/pyversions/selenium_youtube_firefox?logo=pypi&style=flat-square)
![PyPI - downloads](https://img.shields.io/pypi/dm/selenium_youtube_firefox?logo=pypi&style=flat-square)

![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/selenium_youtube_firefox?style=flat-square)
![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/selenium_youtube_firefox?style=flat-square)

![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/selenium_youtube_firefox?style=flat-square)
![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/selenium_youtube_firefox?style=flat-square)
![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/selenium_youtube_firefox?style=flat-square)

![GitHub - license](https://img.shields.io/github/license/kkristof200/selenium_youtube_firefox?label=repo%20license&style=flat-square)

## Description

Youtube with selenium firefox

## Install

~~~~bash
pip install selenium_youtube_firefox
# or
pip3 install selenium_youtube_firefox
~~~~

## Usage

~~~~python
from selenium_youtube_firefox import Youtube

youtube = Youtube()
upload_result = youtube.upload('path_to_video', 'title', 'description', ['tag1', 'tag2'])
~~~~

## Dependencies

[kproxy](https://pypi.org/project/kproxy), [selenium-firefox](https://pypi.org/project/selenium-firefox), [selenium-youtube](https://pypi.org/project/selenium-youtube)
swmtools 3.0.1
util tools for daily dev
Keywords: daily work setup tools

# 前言
  自己常用的函数平常是在是太多了，经常会重复性编写

  索性就自己编写一个python包

  create by swm 2018/11/20

[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)

### 2018/11/20
增加判断操作系统的方法

修改名字为swmtools

help(swmtools.manytools)查看目前已有方法

### 2019/03/26
新增了xml，xlsx，csv文件的读取方法，help(readmanyfile)查看具体使用

新增了时间的处理方法，增加了一个计算当前方法运行时间的装饰器，使用help(timeformat)查看具体使用

### 2021/06/16
新增了单例日志方法，在logging的基础上完成

使用方法
```python
from swmtools import MyLogger
import threading
import time
from datetime import datetime


def ddd():
    logger = MyLogger()
    # print(logger.get_instance())
    # logger.logger.info()
    logger.info(f"Now time is {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")


for i in range(0, 10):
    t = threading.Thread(target=ddd, args=())
    time.sleep(5)
    t.start()
```



### 使用方法
线下安装：python setup.py bdist_wheel

线上安装：

    测试版:
            pip install -i https://test.pypi.org/simple/swmtools

    正式版：
            pip install swmtools

### 开源许可
当初在大学学习编程时，可以通宵不睡，可以连续3天吃喝都在实验室，那个时候完全感觉不到累，
996不应该是企业强制加给我们的，而是我们在追求自己喜欢的生活中愿意花时间在上面的，
当生存花费了我们太多时间，我们必然是没有时间去提升自己的。