Get Grass Python Package
Project description
Get Grass Python Package
This is a python package for get grass score.
1. 安装
pip3 install PyGrassClient
2. 使用
1. 单账号运行
#!/usr/bin/env python
from PyGrassClient import PyGrassClient
PyGrassClient(user_id="${userid}", proxy_url='${proxy_url}').run()
2. 多账号运行
#!/usr/bin/env python
from PyGrassClient import run_by_file
run_by_file('accounts.txt')
3. Docker运行
git clone https://github.com/Confusion-ymc/PyGrassClient.git
- 添加
account.txt
文件 docker compose up --build -d
4. account.txt 文件格式
每一行是一个账号,如果使用代理则在后面加上==代理连接
, 没有代理则直接是user_id
为一行
5242367b-d366-1234-987a-9ebd303fa8f5==http://proxy.com:8080
5242367b-d366-1234-987a-9ebd303fa8f5
5242367b-d366-1258-987a-9ebd303fa8f5==socks5://proxy.com:1080
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyGrassClient-1.1.5.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for PyGrassClient-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62ee46adcd6569948ab5d82e10f016e97eeb5b81c40a4d01e711dd61653989ca |
|
MD5 | c0fb2495ff0ec9aadd6ba168794e3d2e |
|
BLAKE2b-256 | 4475a864c0cf330fdc9e9c97073f2d9cebdbe2e9d867732da6e3bb0ba77b15e5 |