index
Project · Archived · no longer maintained

latino

A Python library for Latin lookup — lemmas, grammatical paradigms, and full declension / conjugation tables — plus a Discord bot that puts the library at every Latin student's fingertips during homework.

Language
Python 3.8+
Registry
PyPI · pip install latino
Source
dizionario-latino.com
License
MIT
Status
Unmaintained

Every year of liceo scientifico includes hours of Latin homework and a stack of dictionaries. The library is a thin, structured front-end to an online Latin dictionary; the Discord bot turns that into a lookup that takes two seconds instead of two minutes. No longer maintained — preserved here as early work.

The library

# pip install latino
from latino import Translator

t = Translator("en")
r = t.translate("puella")[0]

r.lemma         # 'puella, -ae'
r.grammatica    # 'sostantivo femminile, 1ª declinazione'
r.paradigma     # 'puella, puellae'
r.traduzione    # ['girl', 'maiden', ...]
r.table()       # full declension table

Three output languages (it, en, fr). Two shipped releases on PyPI.

The bot

?lat traduci

Up to five translations per word with grammatical paradigms. Accepts multi-word input: ?lat traduci puella pulcra.

?lat cerca

Phrase search, bidirectional Latin ↔ Italian. Returns up to ten numbered results; the user picks.

?lat random

Draws from a curated set of 100 Latin phrases with translations — a small joy between exercises.

Deployment

Built with discord.py, added via OAuth2. The dictionary primitives in latin/latin.py are the stable core; the bot is the polish on top.

Notes

This was my first shipped Python package. I learned versioning, release pipelines, and the uncomfortable discipline of keeping a public API stable across versions — things no classroom exercise actually teaches you.

→ latino on PyPI
→ Library on GitHub
→ Discord bot on GitHub