批改网写作助手,根据配置自动生成并提交英语作文。
Project description
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。
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
pigai-gpt2-0.0.1.post2.tar.gz
(22.3 kB
view hashes)
Built Distribution
Close
Hashes for pigai_gpt2-0.0.1.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a611a2a5aa5745dcf830e3e82c76f88b67e66d8d45b81df4bbf8fffe16d7f9 |
|
MD5 | cc27f69a3323ad5730ccc13652585282 |
|
BLAKE2b-256 | ea983f2a70ac858a123d09ec03112101e6fc7f8151064b46600dc1fbfa2bef0b |