fbpx

Python with Flask RESTful Django or SQLAlechemy with WordPress authentication

(Last Updated On: May 21, 2020)

As I keep testing this bot, a major part of the communication failed. This makes it unreliable so I started looking at alternative for more stable solutions. This includes in developing with WordPress authentication.

Free books https://quantlabs.net/ or learn algo trading https://quantlabs.net/dvd

My pick also comes down to if I can install whatever Python onto my remote cloud server.

If you look at this Python 2019 survey, it seems that Flask is slightly more popular than Django. As a result I go with Flask for now.

Django vs Flask

https://hub.packtpub.com/which-python-framework-is-best-for-building-restful-apis-django-or-flask/amp/

https://www.jetbrains.com/lp/python-developers-survey-2019/

It seems SQLAlchemy as an ORM (like Java Hibernate) might be useful but compared to other options, this might be more overkill

https://auth0.com/blog/amp/sqlalchemy-orm-tutorial-for-python-developers/

https://stackoverflow.com/questions/30405549/is-it-possible-to-run-a-python-app-on-a-wordpress-site

There WordPress API Python package

https://pypi.org/project/wordpress-api/

As for Flask, this is the most sensible to go with since it is much simpler to set up. I like the curl and request package options.

https://flask-restful.readthedocs.io/en/latest/quickstart.html

Here is a more advanced example

https://programminghistorian.org/en/lessons/creating-apis-with-python-and-flask

Flask offers real time notifications to https://flask-notifications.readthedocs.io/en/latest/

https://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask

This seems to work https://flask-socketio.readthedocs.io/en/latest/

https://amunategui.github.io/rest-api/index.html

There is also Flask Sockets options as well

View at Medium.com

Note these other packages:

It is only matter of taste – 200 sessions (even all active) it is not a challenge either for Tornado, aiohttp, gevent. I personally prefer Tornado and aiohttp over gevent, Twisted…

https://stackoverflow.com/questions/34862020/how-do-i-poll-concurrently-to-another-server-on-receiving-multiple-long-poll-req
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Subscribe For Latest Updates

Sign up to best of business news, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top