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
# 只需要userid 或者 账号密码
asyncio.run(PyGrassClient(user_id="${userid}", user_name="${user_name}", password="${password}",proxy_url='${proxy_url}').connect_ws())
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 - 如果不知道
user_id, 就用账号和密码----格式为test@qq.com---Aa@password
-
配置代理
- 如果使用代理则在后面加上
==代理连接----格式为5242367b-d366-1258-987a-9ebd303fa8f5==socks5://proxy.com:1080
- 如果使用代理则在后面加上
-
例如:
5242367b-d366-1234-987a-9ebd303fa8f5==http://proxy.com:8080
5242367b-d366-1234-987a-9ebd303fa8f5
test@qq.com---Aa@password
5242367b-d366-1258-987a-9ebd303fa8f5==socks5://proxy.com:1080
5.获取 UserID
from PyGrassClient import PyGrassClient
PyGrassClient(user_name="example@gmail.com", password='your—password').get_user_id()
Metadata
Release files for PyGrassClient 2.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyGrassClient-2.0.6.tar.gz | 10.9 kB | Without provenance | Details for PyGrassClient-2.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PyGrassClient-2.0.6-py3-none-any.whl | Python 3 | none | any | Details for PyGrassClient-2.0.6-py3-none-any.whl |
Total release size: 23.0 kB
Release files / PyGrassClient-2.0.6.tar.gz
| Download URL | PyGrassClient-2.0.6.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a91ddac6a067703a50fd7a0325e1f85953be89a5ce04cacb8ea3496fd5cbbb7a
|
|
BLAKE2b-256 checksum How to use checksums |
ae5c50ed1c34924ad606a704b493108c8c96420dfb4dce0e9e1fdc4b5a931d99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / PyGrassClient-2.0.6-py3-none-any.whl
| Download URL | PyGrassClient-2.0.6-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1f681a45d6f5f0f084ee4e69963d29215c2c850b14f2072a233d4f547f4f6bd
|
|
BLAKE2b-256 checksum How to use checksums |
bf590b92356fbdefc4f77cc53eafc0e55584f6354a4beddc606450273bf2c617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for PyGrassClient 2.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.