azomDev / pen

An easy-to-use tool for effortlessly managing virtual environments with specific Python versions
MIT License
1 stars 0 forks source link

add support for more generic python versions #6

Open azomDev opened 6 days ago

azomDev commented 6 days ago

for example if the user enters 3.11, it means the latest 3.11 version (which i think is 3.11.9???)

azomDev commented 6 days ago

I found a website with a neat api. https://endoflife.date/api/python.json With this, we can easily get the latest version of a generic version.

Another way is web scraping the python website, but that's a bit more complicated

azomDev commented 4 days ago

also do what #14 is, when not specifying a version, use the latest one using the api mentionned in the above comment

azomDev commented 4 days ago

also add a setting file (with #1) so that when no version is specified, the user can set if they want to use the latest version or the version installed system wide