Python with Flask RESTful Django or SQLAlechemy with WordPress authentication

(Last Updated On: May 21, 2020)
Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address

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!
This entry was posted in Quant Development, Uncategorized on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs