Metadata-Version: 2.4
Name: cm_story
Version: 1.0.0
Summary: 计算概论C课程随机故事、标题和模板文本生成工具
Author: Chen Mo
Author-email: chenmoemail@126.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Intended Audience :: Education
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-python
Dynamic: summary

# cm_story

随机故事、标题和模板文本生成工具。适合列表、字符串、随机数之后使用。

```bash
pip install cm_story
```

```python
import cm_story

print(cm_story.random_title())
print(cm_story.random_sentence())

my_words = {
    'person': ['小陈', '小王'],
    'place': ['教室', '图书馆'],
    'object': ['一张纸条'],
    'event': ['写出了一段循环代码'],
    'feeling': ['开心'],
    'ending': ['大家都笑了起来'],
}

print(cm_story.random_story(words=my_words))
```

学生可以修改词库和模板，练习列表、字典、字符串格式化和文件保存。
