semvec/pypi-packages huggingface dataset:
JiweiCommonUtil 0.1.0
自己常用的一些包，为了使用方便封装起来传到pypi

## Introduction 
1、pypi的测试服和正式服不是同一个数据库，需要注册两次账号

2、pypi 存放python依赖库

3、sphinx 文档自动生成工具

### 封装一些自己常用的函数，放到pypi方便直接pip安装使用
### 如何操作参考教程： 
https://packaging.python.org/tutorials/packaging-projects/

### Procedure Reference
https://zhuanlan.zhihu.com/p/79164800

### pypi test and formal page
https://test.pypi.org/project/JiweiCommonUtil/0.0.1/

https://pypi.org/project/JiweiCommonUtil/0.0.2/

## how to install
pip install JiweiCommonUtil==0.0.3

## How to Use -- > API
./doc/_build/index.html

from JiweiCommonUtil.imageprocess import readMatFile,cv2Bgr2Rgb

from JiweiCommonUtil.imgshow import showLineImg

from JiweiCommonUtil.util import getNowTime

## How to rebuild project and generate doc file
1、edit setup.py version

2、package proejct: python setup.py sdist bdist_wheel

3、upload proejct to pypi server: python -m twine upload dist/*

4、sphinx-apidoc -F -o ./doc ./JiweiCommonUtil
LoL.py 0.0.17
A tiny Riot-league of legends Api wrapper
Requires Python: >=3.6

# LoL.py
A **Tiny** League Of Legends API Wrapper

`pip install LoL.py`

```python
lol = LoL(api_key, region)
#region can be [na, euw, eune, tr, ru, kr, jp, br, lan, las, oce]
```

```python
from LoL import LoL

api_key = "API TOKEN" # https://developer.riotgames.com/

lol = LoL(api_key, "euw")

user_data = lol.get_summoner("summoner_name")

summonerId = user_data['id'] # grab summoner id
puuid = user_data['puuid'] # grab ppuid

matches = lol. get_matches_by_puuid(puuid)

single_match = matches[0]

print(lol.get_all_champions())

print(lol.get_summoner(accountId="acc_id"))

print(lol.get_summoner(puuid="puuid"))

print(lol.get_summoner(summonerid="summoner_id"))

print(lol.get_champion_rotations())

print(lol.get_patch_version())

print(lol.get_champions_mastery_by_summonerId(summonerId))

print(lol.get_champion_mastery_by_summonerId_and_championId(summonerId,17))

print(lol. get_matches_by_puuid(puuid))

print(lol.get_match_by_matchid(single_match))
```