This is a quick and easy recipe to add a
to any Python project with a
tqdm is a nice way to add progress
bars in the command line or in a jupyter notebook.
from tqdm import tqdm
for i in tqdm(range(100)):
This is a quick note on proxying a local python application (e.g. flask)
to a subdirectory in Apache. This assumes that the file wsgi.py contains
a WSGI application with the name application. Hence, wsgi:application.
RequestHeader set SCRIPT_NAME "/myapp/"
Developing a python module and publishing it on Github is cool, but most of the times you want others to download and use it easily. That is the role of PyPi, the python package repository. In this post I show you how to publish your package in less than 10 minutes.
As part of the OpeNER hackathon we decided to build a prototype that would allow us to compare how different countries feel about several topics. We used the OpeNER pipeline to get the sentiment from a set of newspaper articles we gathered from media in several languages. Then we aggregated those articles by category and country (using the source of the article or the language it was written in), obtaining the “overall feeling” of each country about each topic.