small cli tool to study using fl
Free software: BSD license
Installation
pip3 install python-flashcards
What flashcards are
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]
How does this work
python-flashcards is a small tool, which receives cards from a YAML file, and shows them in a random order so you can practice.
YAML format:
-
topic: The topic I will say out loud
content: The information I'll check after saying out loud what I know
keywords: reference, words
-
topic: Python
content: 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
Being keyword the only optional.
Usage
Let’s supouse anatomy.yaml is your file with information related to anatomy.
flashcards anatomy.yaml
If you want the cards in order:
flashcards --ordered meds.yaml
If you want to show the hide the topic instead of the content:
flashcards --inverted meds.yaml
For more help:
flashcards -h
Documentation
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.3.0 (2018-11-27)
Add ability to hide topic instead of content.
0.1.0 (2017-03-31)
First release on PyPI.
Release files for python-flashcards 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-flashcards-0.3.0.tar.gz | 74.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_flashcards-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 84.8 kB
Release files / python-flashcards-0.3.0.tar.gz
| Download URL | python-flashcards-0.3.0.tar.gz |
|---|---|
| Size | 74.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b466a773a32c88c6cbff6f7d66b331e3ed2568c6dfd65993c5d206cd7f5fcc72
|
|
BLAKE2b-256 checksum How to use checksums |
8a1dd12af771b92990cb2eae6dcd22310a9747d82c2f0ccb7651f3bbcc2ea85a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / python_flashcards-0.3.0-py2.py3-none-any.whl
| Download URL | python_flashcards-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8973f41b5fa12ce47e3dda7760f6d56ef12a60eb0f7f55d0d34d25ac70a6d12b
|
|
BLAKE2b-256 checksum How to use checksums |
b1ec80646c6e1638240515e7c855b9ea743ff339f9a4a6f9e167d0dc0c82bc6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|