PyEPoet 0.1.3
介绍
刘慈欣电子诗人Python版
安装
(python -m) pip install pyepoet
函数
#生成一首诗,并输出到file
genpoem(verse = 5, line = 10, rhyme = None, file = sys.stdout)
#生成一首诗,并返回一个字符串
gpoem_string(verse = 5, line = 10, rhyme = None)
速度
押韵:约45000行/秒
不押韵:约1100行/秒
示例
from pyepoet import *
genpoem()
print()
genpoem(rhyme = "a")
print()
print(gpoem_string())
更新历史
版本0.1.3 (2021/3/13)
- 修复导入输出问题
版本0.1.2 (2021/2/11)
- 初始版本
Release files for pyepoet 0.1.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 | |
|---|---|---|---|
| pyepoet-0.1.3.tar.gz | 45.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyepoet-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 90.6 kB
Release files / pyepoet-0.1.3.tar.gz
| Download URL | pyepoet-0.1.3.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a61d2e2168936c25d2855e07e3c989139bcccde803770cf348ec983c38d033fb
|
|
BLAKE2b-256 checksum How to use checksums |
a36c49e45a9071a1d251f1f86b97a9c36688ee3b8a5c83f7fe542e8b711e061b
|
| 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / pyepoet-0.1.3-py3-none-any.whl
| Download URL | pyepoet-0.1.3-py3-none-any.whl |
|---|---|
| Size | 45.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
667000b77e5ae83e4fc96d68493023c2764ad988916d3da8cceb632725bd877e
|
|
BLAKE2b-256 checksum How to use checksums |
b05cc390c6aac3358d4eff1f17074246043b18f27d002bd387d64cac7794b1c7
|
| 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|