使用flashcard学习的小型cli工具
python-flashcards的Python项目详细描述
使用fl学习的小型cli工具
- 免费软件:BSD许可证
安装
pip3 install python-flashcards
什么是抽认卡
A flashcard or flash card is a set of cards bearing information, as words or numbers, on either or both sides, used in classroom drills or in private study. One writes a question on a card and an answer overleaf. [Wikipedia]
这是如何工作的
python-flashcards是一个小工具,它从YAML文件接收卡片,并以随机顺序显示它们,以便您练习。
YAML格式:
-topic:The topic I will say out loudcontent:The information I'll check after saying out loud what I knowkeywords:reference, words-topic:Pythoncontent:Is a widely used high-level programming language for general-purpose programming,created by Guido van Rossum and first released in 1991.keywords:programming, language
唯一的选择是keyword。
用法
让我们来看看anatomy.yaml是包含解剖学相关信息的文件。
flashcards anatomy.yaml
如果您想让卡片排列整齐:
flashcards --ordered meds.yaml
如果要显示隐藏主题而不是内容:
flashcards --inverted meds.yaml
有关更多帮助:
flashcards -h
开发
要运行所有测试,请运行:
tox
注意,要合并来自所有tox环境的覆盖率数据,请运行:
Windows | ^{pr 8}$ |
---|---|
Other | ^{pr 9}$ |
更改日志
0.3.0(2018-11-27)
- 添加隐藏主题而不是内容的功能。
0.1.0(2017-03-31)
- pypi上的第一个版本。