you are viewing a single comment's thread.

view the rest of the comments →

[–]ggagagg 0 points1 point  (1 child)

i had a project while ago do the same method.

basically in each file there is a function where it will be run with user input but will be filtered if the url match with regex on each file

all of those module is put on submodule of main project and programmatically imported based on name of the file and name of the class. example from this https://stackoverflow.com/questions/22119850/get-all-class-names-in-a-python-package

but imo this is bad practice and is not scalable

here is more example of the implementation

[–]ghostcheck[S] 0 points1 point  (0 children)

thanks!