Skip to main content

Learn a set of flashcards

Project description

flashcards-cli

Command line program to learn sets of flash cards.

Useful for learning vocabulary of a new language.

Installation

From pypi: pip install python-flashcards

Usage

usage: flashcards_cli [-h] [-s] [-r] [-v] path [path ...]

positional arguments:
  path           path to flashcard csv file(s)

optional arguments:
  -h, --help     show this help message and exit
  -s, --shuffle  shuffle order of flashcards in the set
  -r, --reverse  reverse answering, answer with term rather than definition
  -v, --version  show program's version number and exit

Flashcard Sets

Currently only loads flashcards stored in a CSV file with the format:

Term Description
I
You
我们 We;us

Note, the first row of the CSV file is skipped so make sure you have a term/definition header otherwise a flashcard will go missing!

Validation is case insensitive and if there are multiple possible answers like above, separate them with a semi-colon and if the answer provided matches just one of the options it will be counted as correct.
If the answer is incorrect the correct answer is shown.

Multiple files can be given and they will all be combined.
The wildcard (*) symbol can also be used for the argument.

I will implement some other formats to load flashcard sets from if I find there is a universal standard or more common format. However, if you have a flashcard set in Quizlet it can be exported and you can choose it to export in the format above (csv).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flashcards_cli-1.3.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flashcards_cli-1.3.7-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file flashcards_cli-1.3.7.tar.gz.

File metadata

  • Download URL: flashcards_cli-1.3.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for flashcards_cli-1.3.7.tar.gz
Algorithm Hash digest
SHA256 76da8ebc637592a7d2e9e703fa0b1aa0faccd31de5a2a27440158b5b6b8d03cf
MD5 fb8c6090edb84de70911c6f50d2d6146
BLAKE2b-256 43b11352eb901dc6ba51f9daa79c774fbe0b545cf08dc0e1bdac68c399fbc78a

See more details on using hashes here.

File details

Details for the file flashcards_cli-1.3.7-py3-none-any.whl.

File metadata

  • Download URL: flashcards_cli-1.3.7-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for flashcards_cli-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a77f4e69e4d88636d0d501dfef764ba2c0800e83650ce15b602768f9f5173ed0
MD5 32f0c40f111852169d5b079da03a1548
BLAKE2b-256 0ca8a814124954db57a7c39c0add0c770dd5dd129d5e34d235c29cbce684b46d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page