semvec/pypi-packages huggingface dataset:
validate-extension-file 0.0.3
Libs check filetype

##  Thư viện kiểm tra extension file.

### Cài đặt:

```bash
 $ pip3 install validate-extension-file
 ```

### Sử dụng
```python
from truestrive.libs.filetypes.file import File
from truestrive.libs.filetypes.common import ExtensionImage

File.check_filetype_by_file_extensions(
    file_binary=file, # Check filetype của định dạng file binary.Mặc định None
    file_path=file_path, # Check filetype của path file
    extensions=[ExtensionImage.PNG] # Danh sách extension cần check.
)

```

#### Lấy extensions support
- Extension Image:
```python
from truestrive.libs.filetypes.common import ExtensionImage
ExtensionImage.LIST_EXTENSION_SUPPORTED
```
- Extension Document:
```python
from truestrive.libs.filetypes.common import ExtensionDocument
ExtensionDocument.LIST_EXTENSION_SUPPORTED
```
- Extension Audio:
```python
from truestrive.libs.filetypes.common import ExtensionAudio
ExtensionAudio.LIST_EXTENSION_SUPPORTED
```
Report-of-Monaco 0.0.4
A small example package
Requires Python: >=3.6

# Report-of-Monaco
To install the function you need to execute a command:

"pip install Report-of-Monaco"

This function read data from 2 files, order racers by time and print report that shows the top 15 racers and the rest after underline.

To define unique characters, run python and import the package:
"from Functions import main"
"main.main()"
zhongji-miansha 2022.5.25.0
终极免杀
Requires Python: >=3.6

# 终极免杀

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g zhongji-miansha
zhongji-miansha <port>
# 访问 http://localhost:{port} 查看文档
```
wangyou-heike-baodian 2022.5.25.0
网游黑客宝典
Requires Python: >=3.6

# 网游黑客宝典

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g wangyou-heike-baodian
wangyou-heike-baodian <port>
# 访问 http://localhost:{port} 查看文档
```
wangba-heike-baodian 2022.5.25.0
网吧黑客宝典
Requires Python: >=3.6

# 网吧黑客宝典

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g wangba-heike-baodian
wangba-heike-baodian <port>
# 访问 http://localhost:{port} 查看文档
```
shagua-heike-vol2 2022.5.25.0
傻瓜黑客2
Requires Python: >=3.6

# 傻瓜黑客2

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g shagua-heike-vol2
shagua-heike-vol2 <port>
# 访问 http://localhost:{port} 查看文档
```
shagua-heike-vol1 2022.5.25.0
傻瓜黑客1
Requires Python: >=3.6

# 傻瓜黑客1

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g shagua-heike-vol1
shagua-heike-vol1 <port>
# 访问 http://localhost:{port} 查看文档
```
shagua-heike-lv 2022.5.25.0
傻瓜黑客绿
Requires Python: >=3.6

# 傻瓜黑客绿

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g shagua-heike-lv
shagua-heike-lv <port>
# 访问 http://localhost:{port} 查看文档
```
shagua-heike-lan 2022.5.25.0
傻瓜黑客蓝
Requires Python: >=3.6

# 傻瓜黑客蓝

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g shagua-heike-lan
shagua-heike-lan <port>
# 访问 http://localhost:{port} 查看文档
```
smip-trends-crawling 0.0.4
Crawling for trends data
Requires Python: >=3.9

# Sandbox MIP Trend Crawler module

python으로 google, naver의 trend 검색결과를 crawling하기 위한 프로젝트 입니다.


## Config

- 필요한 파일
  - naver search api 통신을 위한 json 혹은 sh 파일

필요한 파일들을 담당자 혹은 팀리드에게 받아 아래 위치에 저장합니다.

```bash
trends/.secrets/crawler_secrets.json
```

crawler_secrets.json.json 샘플

```json
{
  "NAVER_API_KEY": "abc",
  "NAVER_SECRET_KEY": "abc",
  "NAVER_CUSTOMER_ID": 111
}
```


## How to run

### Naver Ad Search

```bash
python main.py --type="a" --key="도티" --out="./result/out2.json"
```

#### 필수 
- type: j
- key: 검색 keyword
- out: 결과를 저장할 json 파일 경로


### Naver Trend

```bash
python main.py --type="j" --key="도티" --out="./result/out2.json" --period="date" --start="2022-01-15" --end="2022-03-21"
```

#### 필수 
- type: j
- key: 검색 keyword
- out: 결과를 저장할 json 파일 경로
- start: 기간 시작일 (period 옵션이 주간 혹은 월간인 경우, 일을 제외한 월 단위로 검색 함)
- end: 기간 종료일 (period 옵션이 주간 혹은 월간인 경우, 일을 제외한 월 단위로 검색 함)

#### 옵션 
- period: 기간 검색 타입 (기본 값은 date)
  - 일간: date
  - 주간: week
  - 월간: month
- gender: 성별
  - 남성: m
  - 여성: f
- age: 나이 (여러 개의 값을 요청할 경우 `,`로 구분)
  - 1: ~12
  - 2: 13~18
  - 3: 19~24
  - 4: 25~29
  - 5: 30~34
  - 6: 35~39
  - 7: 40~44
  - 8: 45~49
  - 9: 50~54
  - 10: 55~60
  - 11: 60~


### Naver Total Search

```bash
python main.py --type="n" --key="도티" --out="./result/out2.json" --start="2020-02-20" --end="2022-03-20"
```

#### 필수
- type: n
- key: keyword
- out: 결과를 저장할 json 파일 경로
- start: 검색 기간 시작일
- end: 검색 기간 종료일 

네이버 통합 검색, 첫 페이지(15개 항목) 결과의 제목과 링크를 조회합니다.

### Google Trend

```bash
python main.py --type="t" --key="도티" --out="./result/out.json"
```

#### 필수
- type: t
- key: keyword
- out: 결과를 저장할 json 파일 경로

#### 옵션 

- time: time -> '12-m', '1-H', '1-m', '12-d'
  - 각 조회 시점을 조절
  - 12-m : 현재 시점부터 12개월 전
  - 1-H: 현재 시간으로 부터 1시간 전
  - 1-d: 현재 시점으로 부터 1일전
- ncode: 국가 코드
- tz: timezone, 단 분(min)으로 사용해야 되면 한국는 -540
- gcode: 위치 코드 한국 "KR"


현재 날짜로 부터 12개월 내의 topic, query, timeseries
  - topic: 관련 주제
  - query: 관련 검색어 
  - timeseries: 시간 흐름에 따른 관심도 그래프 값


### Google Total Search

```bash
python main.py --type="g" --key="도티" --start="2022-04-01" --end="2022-04-17" --out="./result/out2.json"
```

#### 필수
- type: g
- key: keyword
- out: 결과를 저장할 json 파일 경로
- start: 검색 기간 시작일
- end: 검색 기간 종료일 

구글 통합 검색, 첫 페이지(10개 내외) 결과의 제목과 링크를 조회합니다.
shagua-heike-huang 2022.5.25.0
傻瓜黑客黄
Requires Python: >=3.6

# 傻瓜黑客黄

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g shagua-heike-huang
shagua-heike-huang <port>
# 访问 http://localhost:{port} 查看文档
```
qq-baodian-vol3 2022.5.25.0
QQ宝典3
Requires Python: >=3.6

# QQ宝典3

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g qq-baodian-vol3
qq-baodian-vol3 <port>
# 访问 http://localhost:{port} 查看文档
```
bite-grads 0.0.1
For reading GrADS format data.
Requires Python: >=3.5

# BiteGrADS

For reading GrADS format data.

## Install

```shell
pip install bite_grads
```

Requires `xarray; dask; pyproj; numpy; pandas`.

## Supported ctl entries

[Components of a GrADS Data Descriptor File](http://cola.gmu.edu/grads/gadoc/descriptorfile.html)

- DTYPE
  - [x] gridded binary
  - [ ] station
  - [ ] ...
- OPTIONS
  - [x] byte order
  - [ ] template
  - [ ] ...
- [x] UNDEF
- PDEF
  - [x] lcc
  - [ ] ...
- [x] XDEF
- YDEF
  - [x] LINEAR
  - [x] LEVELS
  - [ ] GAUS*
- [x] ZDEF
- [x] TDEF
- VARS
  - [x] varname
  - [x] levs
  - [x] units
  - [ ] additional_codes
  - [x] description
- ATTRIBUTE METADATA
  - [x] varname
  - [ ] attribute_type
  - [x] attribute_name
  - [x] attribute_value
- [x] COMMENTS
- [ ] ...

## Features

- Lazy loading
- Manual correction of `TDEF`
- Manual correction of `PDEF`
- Projection information following CF-Conventions

## Else

Use [xgrads](https://github.com/miniufo/xgrads) for more features.

Use nc or other modern formats to store you data.
qq-baodian-vol2 2022.5.25.0
QQ宝典2
Requires Python: >=3.6

# QQ宝典2

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g qq-baodian-vol2
qq-baodian-vol2 <port>
# 访问 http://localhost:{port} 查看文档
```
qq-baodian-vol1 2022.5.25.0
QQ宝典1
Requires Python: >=3.6

# QQ宝典1

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g qq-baodian-vol1
qq-baodian-vol1 <port>
# 访问 http://localhost:{port} 查看文档
```
loudong-ruqin-jingcui 2022.5.25.0
漏洞入侵精粹
Requires Python: >=3.6

# 漏洞入侵精粹

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g loudong-ruqin-jingcui
loudong-ruqin-jingcui <port>
# 访问 http://localhost:{port} 查看文档
```
linux-heike-rumen 2022.5.25.0
Linux黑客入门
Requires Python: >=3.6

# Linux黑客入门

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g linux-heike-rumen
linux-heike-rumen <port>
# 访问 http://localhost:{port} 查看文档
```
jiami-jiemi-jishu 2022.5.25.0
加密解密技术
Requires Python: >=3.6

# 加密解密技术

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g jiami-jiemi-jishu
jiami-jiemi-jishu <port>
# 访问 http://localhost:{port} 查看文档
```