MCPcopy Index your code
hub / github.com/LuteOrg/lute-v3

github.com/LuteOrg/lute-v3 @3.10.2.b1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.10.2.b1 ↗ · + Follow
1,711 symbols 6,987 edges 239 files 1,188 documented · 69%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

lute3

Learning Using Texts v3.

Lute is for learning foreign languages through reading. lute3 is a rewrite of the original Lute PHP application in Python and Flask. See the Lute manual for more detail, and notes about installation.

Requirements

Python 3.8+ (tested with python 3.8 through 3.11)

Japanese learners will also need to install MeCab.

Install

lute3 installs various dependencies, so you should install it in a virtual environment. For example, using venv:

Create a new folder (e.g. lute3) anywhere on your system.

# Set up the virtual environment
python3.8 -m venv myenv

# Activate it (Mac or *nix)
source myenv/bin/activate

# (on Windows: myenv\Scripts\activate)

# Install everything.  Note the package name is lute3!
pip install lute3

# Start lute
python -m lute.main

# Open your web browser to http://localhost:5001
# When done, hit Ctl-C

# Stop the virtual environment.
deactivate

Once everything is installed, for future runs you'll just need to go into lute3 folder created above and:

source myenv/bin/activate
python -m lute.main

Core symbols most depended-on inside this repo

commit
called by 308
lute/book/model.py
add
called by 275
lute/book/model.py
assert_sql_result
called by 154
tests/dbasserts.py
assert_record_count_equals
called by 64
tests/dbasserts.py
add_terms
called by 47
tests/utils.py
set_value
called by 34
lute/models/repositories.py
get_value
called by 31
lute/models/repositories.py
get_popup_data
called by 28
lute/read/service.py

Shape

Function 1,018
Method 473
Route 111
Class 109

Languages

Python90%
TypeScript10%

Modules by API surface

lute/static/js/lute.js84 symbols
tests/acceptance/conftest.py56 symbols
tests/unit/term/test_Repository.py48 symbols
lute/models/repositories.py39 symbols
lute/term/model.py38 symbols
tests/acceptance/lute_test_client.py37 symbols
lute/models/book.py36 symbols
lute/term/routes.py34 symbols
lute/read/routes.py34 symbols
lute/static/js/dict-tabs.js31 symbols
lute/dev_api/routes.py30 symbols
lute/app_factory.py27 symbols

For agents

$ claude mcp add lute-v3 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact