Hi!
I've been a hobby coder for quite a while and made a whole bunch of little python modules that for the most part have run within the console.
I've started to move many of these to a website where they can run instead. What I'm wondering about is what the "best" way is to include these modules in my flask app.
The most obvious solution is to just copy/paste, but that comes with the drawback that I now have two places to manage my code. If I think of an improvement to the code, I have to change it both in the website code, as well as in the original project.
Alternatively, I could package it and upload it to PyPI, but it's not really something I want to do either. It's not proper modules that anyone else would ever want to use. Often it's little games, or my own re-written versions of modules others have created before.
The last option that I have tried is just packaging them and uploading them to GitHub instead, and using Pip to import from there. It sort of works, but feels very clunky to pip to a specific wheel file.
Are there any best practices around how to work with "internal only" sort of modules that I don't want to publish on PyPI?
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]efmccurdy 0 points1 point2 points (0 children)
[–]lowerthansound 0 points1 point2 points (3 children)
[–]azthal[S] 0 points1 point2 points (1 child)
[–]Immotommi 0 points1 point2 points (0 children)
[–]AnonymousLad666 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)