Skip to main content

Terminal flashcards from Markdown

Project description

lightcards

Terminal flashcards from Markdown.

Installation

Lightcards is only tested and maintained on Linux. Support for other Unix-like operating systems such as MacOS and the various BSDs is likely, although untested. Windows support may be possible with windows-curses or the like, however much of the program makes the assumption that there is a Unix-like file hierarchy, which may break on Windows. Nontrivial patches will not be accepted to improve Windows support, although may be for MacOS or BSD.

Lightcards requires Python 3.9

From PyPI

pip install lightcards

From Git

Main branch (stable)

pip install git+https://git.sr.ht/~armaan/lightcards

Development branch

pip install git+https://git.sr.ht/~armaan/lightcards@devel

Usage

See lightcards --help or man lightcards for usage information.

Input file

contrib/example.md is an example input file. Lightcards takes all of the tables from a valid Markdown or HTML file. Each row is a card, and the two columns are the front and back.

Configuration

Copy the config file at /etc/lightcards/config.py to ~/.config/lightcards/config.py or ~/${XDG_CONFIG_HOME}/lightcards/config.py and edit.

License

Copyright Armaan Bhojwani 2021, MIT license

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

lightcards-0.7.0.tar.gz (11.1 kB view details)

Uploaded Source

File details

Details for the file lightcards-0.7.0.tar.gz.

File metadata

  • Download URL: lightcards-0.7.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for lightcards-0.7.0.tar.gz
Algorithm Hash digest
SHA256 73e20e08fd8e99e9347f2bb775eef45d035e4a9edb42d41fa958188c6fa30916
MD5 c9a864d65ede0f7e2c9cac5ddf0c18b0
BLAKE2b-256 e7468e3d0c0091d289e0bba8f8be3f1231b18aa12dca132f2f5668e645054a2d

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