Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doitian/studies
https://github.com/doitian/studies
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/doitian/studies
- Owner: doitian
- Created: 2018-09-11T06:52:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T01:21:17.000Z (6 months ago)
- Last Synced: 2024-06-02T02:42:09.764Z (6 months ago)
- Language: Python
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scripts for Studies
The archive format specification of `StudyArch`, which is supported by
Studies, can be found [here](http://www.studiesapp.com/studyarch/).This repository is a collection of scripts to create Studies stacks.
First copy the example `.env` file and edit it.
cp env.example .env
Create a virtual environment
python3 -m venv .venv
source .venv/bin/activateThen install dependencies using `pip`
pip install -r requirements.txt
## English Words
Create `out/Words.studyarch` from a words file.
.venv/bin/python gen_dict.py words.txt
Where each line in the words file is a word to learn. An example can be added
by separated it with ` :` from the word. See the `words.txt` as an example.There is also a script to extract words from Kindle vocabulary builder
.venv/bin/python gen_kindle_vocabulary.py
The generated words file is in `out/kindle_vocabulary.txt`