Articles tagged “python”
5 articles
- Streaming input and output in Flask I always found Flask painful to use when it comes to streaming binary data, such as when I need to send a binary file or receive one. The official documentation is very sparse, explaining how to receive files submitted through a form, how to send a…
- Streaming large uploads to a backend API When it comes to uploading large files to a Flask application, the subject seems to be well documented. Flask (or rather Werkzeug) has lots of features to stream not only downloads, but also uploads themselves, in order to receive huge files with…
- Workflows, ETLs, and pure magic Five years ago, I wrote a rather opinionated and very critical article about Nintex Workflows, a perfectly useless product which makes your life miserable while you're paying for it. Nintex is sold as a solution to allow non-technical persons to…
- Non-blocking reading from stdin in Python One of my projects relies heavily on multiprocessing. Some of its components are chained through the Linux pipes in order to process data. A common way to read from stdin is to use…
- Stopping Python program from Supervisor I was quite puzzled recently by a following problem. I needed to run a Python program that had an infinite loop: every N seconds, the script would perform a task. In order to ensure that the script…