Rolling back from flask-restplus reqparse to native flask request to parse inputs
flask-restplus' (or flask-restx) reqparse module is deprecated, so I decided to use the native flask request object to parse the incoming inputs.
flask-restplus' (or flask-restx) reqparse module is deprecated, so I decided to use the native flask request object to parse the incoming inputs.
This post is for manually fixing an ipython Windows ConEmu only bug (from prompt_toolkit): Exception ''MouseEventType.MOUSE_DOWN'' is not a valid MouseEventType.
Flattening a nested dict/json with list as some keys' value.
A quick tutorial for installing Python from its official source on Ubuntu with sqlite3 support.
If I'm not wrong, the SQLAlchemy official doc provides some examples to explain how to share a set of common columns, some common table options, or other mapped properties, across many classes. But I cannot find how to share common methods (e.g. your customized to_dict() method). This post will just show you a POC to achieve this goal by using Python Mixin.
Python has several tools to upload packages to PyPi or some private Artifactory locations. The mostly used one should be twine. Although twine is not a Python originate tool, but it's officially recommended by Python.org.
Pandas dataframe is like a small database, we can use it to inject some data and do some in-memory filtering without any external SQL. This post is much like a summary of this StackOverflow thread.