Skip to main content

Toisto is a command-line app to practice languages.

Project description

Toisto

Command-line app to practice languages. Toisto is Finnish and means reiteration, playback, repetition, reproduction.

Toisto is alpha software at the moment. It comes with a limited set of words and phrases in Dutch, English, and Finnish.

User guide

How to install

Make sure you have these prequisities installed:

Install Toisto as follows:

$ pipx install Toisto

If you have already installed Toisto and a newer version is available, upgrade Toisto as follows:

$ pipx upgrade Toisto

How to use

Start Toisto as follows, giving the language you want to practice and your language as arguments:

$ toisto fi en

To practice a specific topic, pass it as follows:

$ toisto fi en --topic colors

Add --help or -h to get help information:

$ toisto --help

Example sessions

gif

$ toisto fi nl
👋 Welcome to Toisto v0.0.8!

Practice as many words and phrases as you like, for as long as you like.
Hit Ctrl-C or Ctrl-D to quit.

Toisto tracks how many times you correctly translate words and phrases.
When you correctly translate a word or phrase multiple times in a row,
Toisto will not quiz you on it for a while. The more correct translations
in a row, the longer words and phrases are silenced.

Translate into Dutch:
Punainen
> rood
✅ Correct.

Translate into Dutch:
Harmaa
> bruin
⚠️ Incorrect. Please try again.
> grijs
✅ Correct.

Translate into Finnish:
Paars
> violetti
✅ Correct.

Translate into Finnish:
Groen
> virea
⚠️ Incorrect. Please try again.
> vihrea
❌ Incorrect. The correct answer is "Vihreä".

How it works

Toisto quizzes you repeatably on words and phrases in the language you want to practice. At the moment, Toisto has three types of quizzes:

  • Translate a word or phrase from your practice language to your native language or the other way around,
  • Give a singular version of a plural noun,
  • Give a plural version of a singular noun.

For each quiz, Toisto counts how often in a row you answered it correctly. So each quiz has its own streak. When you answer a quiz correctly multiple times, Toisto will silence the quiz for a while. The longer the streak, the longer a quiz is silenced. This starts at a few minutes, but then increases rapidly when you keep answering correctly: a streak of 13 correct answers silences a quiz for 24 hours, a streak of 18 silences the quiz for 10 days, and a streak of 20 silences it for 20 days. The maximum amount of time a quiz is silenced is roughly three months.

When you stop the program (hit Ctrl-C or Ctrl-D), progress is saved in a file named .toisto-progress.json in your home folder.

Further documentation

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

Toisto-0.0.10.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

Toisto-0.0.10-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file Toisto-0.0.10.tar.gz.

File metadata

  • Download URL: Toisto-0.0.10.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for Toisto-0.0.10.tar.gz
Algorithm Hash digest
SHA256 a95dc44271dad2a47d73e6bdb3da74f82b11e33cd2024fe16fb8ea602fc85d2c
MD5 2ed5d25e820d261f45abb55af3112d88
BLAKE2b-256 6c2898bacd9df922e4c778153cde0d997e45a399e57821c3a5ce5d9441372cf2

See more details on using hashes here.

File details

Details for the file Toisto-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: Toisto-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for Toisto-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 32a3ea440abef8c3d3e32b4409170aa2dfac60379b78f30c3e5a0e67df90e668
MD5 d51e62416ab3703d53ab30072ccc9a00
BLAKE2b-256 b99737f915522463a29648eee60d85ea4874df6bcd707fe9ab9e8661ddeefe35

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