Introduction
批改网写作助手,根据配置自动生成并提交英语作文。
Requirements
- google-chrome
- Python3.7+
Usage
项目依赖 google-chrome 运行,请确保你的计算机已装有谷歌浏览器。
-
拉取 PyPi Package
pip install pigai-gpt2
-
跨越次元的相遇
from typing import Union, List from pigai import runner # [√] 账号信息 username, password = "", "" # [√] 作文号 pids: Union[str, List[str]] = ["2107818"] # [*] 班级名全称 错误或不存在不影响程序运行 class_name: str = "春田花花幼稚园" # [*] 文本词汇量 实际生成量会略多于此值 content_length: int = 200 if __name__ == '__main__': runner( username=username, password=password, pids=pids, class_name=class_name, content_length=content_length, save_action_memory=True, check_result=True )
Advanced
-
操作历史
首次运行后,可在工程目录下的
database/action_history.csv中查看格式化的操作历史数据。 -
评测快照
首次运行后,程序会保存评测页面二点快照,可将页面中的所有富文本信息保存成
.mhtml文件并存储在工程目录下的databse/paper_score/。该格式文件可用主流的浏览器访问。 -
文本长度
在
src/config.py文件中可修改变量TEXT_LENGTH的数值,其表示文章长度的左区间值,既文本生成后,文章长度会超过20 至 80 个词。TEXT_LENGTH的默认值为 320。
Metadata
Release files for pigai-gpt2 0.0.3
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 | |
|---|---|---|---|---|
| pigai-gpt2-0.0.3.tar.gz | 23.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pigai_gpt2-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.2 kB
Release files / pigai-gpt2-0.0.3.tar.gz
| Download URL | pigai-gpt2-0.0.3.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5547f7b43cf654e8eeffc77446a15ee7572302f478b1c23d37e97e84797be07a
|
|
BLAKE2b-256 checksum How to use checksums |
a8ebfcae7c3e9f41eda19d21e2e0baa5a657f67e3e26aaec207f8a7f460a4964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
|
Release files / pigai_gpt2-0.0.3-py3-none-any.whl
| Download URL | pigai_gpt2-0.0.3-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e0565b0f92121514579c535fb75931d5dc14af0184f0340cace7dbcc8772d77
|
|
BLAKE2b-256 checksum How to use checksums |
40a2b1eb2a4f0fc57b93ac05d003b7c791d0ad6c0b14319ec1474fb08b21fe70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
|
Security for pigai-gpt2 0.0.3
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.