Skip to main content

TexFlash

A web app to parse flash cards from Latex file and learn.

⚠️ This app is in alpha stage: There are definitely many bugs. The code is not clean at all. Features are very limited.

Install

Cloning the repo

git clone git@github.com:ListIndexOutOfRange/TexFlash.git
cd TexFlash/
pip install requirements.txt

Pip install

pip install texflash

Launch the app

cd TexFlash/
streamlit run texflash/app.py 

How to use

TexFlash is intended to be extremely easy to use.

1. Add tags to your tex file

Anywhere in a .tex file, you can add commented line with the following tags:

  • % <BCT>: Begin Card Title
  • % <ECT>: End Card Title
  • % <BCC>: Begin Card Content
  • % <ECC>: End Card Content

2. Use the app

Once the app is launched you can proceed as follows:

  1. Add a new "source" (i.e. a .tex file): the file structure and cards will be parsed automatically.
  2. Select cards by tags or by sources.
  3. Run training.
  4. Get training statistics.

Sources are stored as pickle files on a hidden folder named .data/.

Note that newcommands are parsed so that equation using them will be rendered !

demo.webm

Metadata

Release files for texflash 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for texflash 0.1.1
File Size Uploaded
texflash-0.1.1.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for texflash 0.1.1
File Interpreter ABI Platform
texflash-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 51.8 kB

Release files / texflash-0.1.1.tar.gz

Download URL texflash-0.1.1.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ed505e1c2e58107dc44f151b898fa4aa539609a71867f17e8cb42366ca690f6e
BLAKE2b-256 checksum
How to use checksums
2184ad12844ce45d257e187952c28483a66f9e33fc3ea257894f66d4e7bb0afe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.1 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

Release files / texflash-0.1.1-py3-none-any.whl

Download URL texflash-0.1.1-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
341b3fcea52dafd3057bb513fc665ab4f1748cb6e3c38f338674d3719d14fa7e
BLAKE2b-256 checksum
How to use checksums
73c7163658d7fb5e6a3284ec3522e835b6c1afb1e767fcbf0a8a13c2b14b2829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.1 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page