Development in Python en PHP, WordPress



I have written an interesting algorithm in Python that I would like to use on my WordPress website.
The user can fill in some textboxes on my website. The algorithm uses that input to do some calculations and then the algorithm returns the outcome on the website.

What I’m looking for is, someone that is able to create a connection between my WordPress site and the python algorithm. The variables from the textboxes on the website are sent to Python and that the Python algorithm returns the values to WordPress and will be visible on the website.

My WordPress page is running on AWS