DEV Community

Medea
Medea

Posted on

Latin x Python - The Start

I'm a Python developer who is really interested in learning Latin.

So while I learn Latin, I've decided to start a project where it can easily generate questions like English-Latin, Latin-English or grammar questions (eg. what case a word is in).
This should be a better alternative to websites like Quizlet or Blooket, where you have to enter your own questions and set your own answers.

I started on the project a few days ago and have decided to record my progress.


Features I have added

  • A function to convert a english noun to latin, with the arguments case, word and number
  • This function uses words from the word list, and the words are in the 1st, 2nd or 4th declension
  • A function to convert an english verb to latin, with the arguments word, person, number and tense
  • This function also only uses words from the word list, and the words can be any tense and also any conjugation

Demos

Here is a demo of the noun function so far:
noun demo

And here is a demo of the verb function:
verb demo


Thanks for reading.
If you want to support me with this project, make sure to follow me and like this post!

Top comments (18)

Collapse
 
__masashi__ profile image
Masashi

uhh....this might be a little bit irrelevant, but you seem approachable.
Basically, I created a web framework named willpyre inspired mostly from ExpressJS and FastAPI There are plans for Flask-ish features (such as render()).

It supports:

  • Cookies
  • Multipart forms (file upload)
  • Modify and set HTTP headers
  • Variables in URL, get query params
  • Nested routers.
  • Auto documentation (using OpenAPI | Experimental)
  • and more...

The docs are at willpyre.readthedocs.org/.

Thanks for reading this :). Really thanks.
It is

Collapse
 
vulcanwm profile image
Medea

this is amazing! you made it yourself-?

Collapse
 
__masashi__ profile image
Masashi

Thanks for seeing it .

Collapse
 
__masashi__ profile image
Masashi

Yup. Completely. I started from this article and then added features.

Collapse
 
__masashi__ profile image
Masashi

Could you maybe use this to make a casual app? Tiny one.
I have some examples. This framework is useful since:
-> It can use SocketIO.
-> It is faster than Flask (2x appx) and a bit faster than FastAPI (no pun intended). I don't have the benchmarks right now, will surely add later.
-> It has an easy to use API.
-> It is well documented (imo).

I will also write some code (if needed) for the "casual app".
Can you please 🥺 create an app in this?

Willpyre docs.

Collapse
 
thecheapaudiophile profile image
Griff Polk

Just wanted to tell u that I just released the 3rd release of my big game in JS, FPS! Thought u’d like it if you want to try you can play here

Collapse
 
vulcanwm profile image
Medea

nice game!

Collapse
 
thecheapaudiophile profile image
Griff Polk

:) thanks I asked b/c i am huge fan and if someone like vulcanwm played my game itd feel amazing! Thanks, cant wait to see what you do next.

Thread Thread
 
vulcanwm profile image
Medea

thanks dude!

Collapse
 
speratus profile image
Andrew Luchuk

As someone with many years of studying Latin in the past, this project is really interesting to me!

Do you have code somewhere public where I could take a look at it and maybe contribute?

Collapse
 
vulcanwm profile image
Medea

Thanks for the support!
I’m keeping the Repo private while I’m working on the code.
I’ll let you know once I make the code open source!

Collapse
 
speratus profile image
Andrew Luchuk

I look forward to hearing more!

Collapse
 
stcollier profile image
Samuel Collier

Hey, I've taken Latin before and this project seems really cool! Can't wait to see more updates!

Collapse
 
vulcanwm profile image
Medea

Thanks! It’s great to know someone supports my idea

Collapse
 
thecheapaudiophile profile image
Griff Polk

Hey Medea! Awesome to see another replit user here! (I’m grey41, btw), really great!

Collapse
 
vulcanwm profile image
Medea

hey! welcome to dev.to

Collapse
 
thecheapaudiophile profile image
Griff Polk

Thanks for replit follow!

Thread Thread
 
vulcanwm profile image
Medea

Np! Thanks for the follow back!