Skip to main content

Wordy 中文仿作生成系統

[力求保留原文篇章架構,最像人的仿作生成系統]

Wordy Website

Document

WordyAPI

安裝方法

pip3 install -U WordyAPI

使用方法

Wordy

from WordyAPI import Wordy
inputSTR = "" 		#這邊填入您想仿寫的內容,需要是 string 格式。
username = "" 		#這裡填入您在 https://api.droidtown.co 使用的帳號 email。不得為空字串
wordy_key = "" 		#這裡填入您在 https://api.droidtown.co 登入後取得的 api Key。不得為空字串
max_num = 72 		#這邊輸入您想要的仿寫的篇數,預設為72篇
user_defined = {} 	#這邊輸入使用者自定替換詞典,必須是 dictionary 格式。非必要參數。
fixed_term = [] 	#這邊輸入禁止替換的詞組列表,必須是 list 格式。非必要參數。

wd = Wordy(username, wordy_key)
wd.rewrite(inputSTR, max_num=16, user_defined, fixed_term) 

回傳結果

您的 16 篇文章改寫正在準備中,等改寫完成後,我們會再寄通知到 {您的信箱}

環境需求

Python 3.6+

Metadata

Release files for WordyAPI 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WordyAPI 1.0.1
File Size Uploaded Provenance Actions
WordyAPI-1.0.1.tar.gz 4.0 kB Without provenance Details for WordyAPI-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for WordyAPI 1.0.1
File Interpreter ABI Platform Actions
WordyAPI-1.0.1-py3-none-any.whl Python 3 none any Details for WordyAPI-1.0.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / WordyAPI-1.0.1.tar.gz

Download URL WordyAPI-1.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7cd83ff0922c62854c552b53b789785b78ec059f3655f058f7498675c4b7ea04
BLAKE2b-256 checksum
How to use checksums
992a78ac10bfeaf6bd8d23c777aefd3f591781754587fe25b8c1f79e4f6ed0fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

Release files / WordyAPI-1.0.1-py3-none-any.whl

Download URL WordyAPI-1.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18c020a81c27b25c7c9b6594fdd2473123350a6a4274438c351324b27483a8c8
BLAKE2b-256 checksum
How to use checksums
c329a0caaad4dc0ba75db119f9ca006df6a5747633ee24e45eeeb9d3a5c994e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

Security for WordyAPI 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page