Category: Python
-
Updated
mitmproxy: proxy any network traffic through your local machine
Category: DevOps, Python, Web Development
mitmproxy is a free and open source interactive HTTPS proxy.
-
Updated
Integrate with Google Cloud API in Python
Category: Python, Web Development
google-cloud, Python idiomatic clients for Google Cloud Platform services. There is an older Python library also officially supported by Google, google-api-python-client, which is in maintenance mode.
-
Updated
Pipenv and Pipfile: The officially recommended Python packaging tool
Category: Python
You no longer need to use pip and virtualenv separately. Use pipenv instead.
-
Updated
Print traceback call stack in Python
Category: Python
Print Python stack traces without raising an exception.
-
Updated
Find circular imports in Python
Category: Python
You could use python -vv to inspect import relations.
-
Updated
Dot notation (obj.x.y.z) for nested objects and dictionaries in Python
Category: Python
Simple implementations of nested_getattr(obj, attr, default), nested_setattr(obj, attr, val) and nested_dict_get(dictionary, dotted_key).
-
Updated
Remotely debug a Python app inside a Docker container in Visual Studio Code
Category: Python, Web Development
In this article, we are going to debug a Flask app inside a local Docker container through VS Code's fancy debugger, and simultaneously we are still able to leverage Flask's auto-reloading mechanism. It should apply to other Python apps.
-
Updated
MongoDB cookbook: Queries and Aggregations
Category: Database, JavaScript, Python
Frequently accessed items are cached in memory, so that MongoDB can provide optimal response time.
-
Updated
Run a Celery task at a specific time
Category: Python, Web Development
You are able to run any Celery task at a specific time through eta (means "Estimated Time of Arrival") parameter.
-
Updated
Timezone in Python: Offset-naive and Offset-aware datetimes
Category: Python
You should always store datetimes in UTC and convert to proper timezone on display.