Skip to content

Python · Machine Learning

From the kitchen

Quality, author-led articles on Python & machine learning. Learn how to eat through topics, calmly, deeply, and without the noise.

145 articles Community authors Always free

More from the kitchen

Fresh articles, served often.

web development

Build A Note App In Flask As Fast As It Can Get (Using Shopyo)

Shopyo is a framework to get started with Flask really quick. It includes several libraries to get started by default. In this tutorial we will build…

Abdur-Rahmaan Janhangeer

Chef

software engineering

Notes of Get your resources faster, with importlib.resources by Barry Warsaw

Talk notes thepkg/ # is a package since has __init__.py __init__.py a.py b.py data/ …

Abdur-Rahmaan Janhangeer

Chef

web development

How to Integrate Tinymce 5 with Flask (with csrf)

This article shows how to integrate Tinymce 5 with Flask even including csrf protection! Text area <textarea id="content"></textarea> …

Abdur-Rahmaan Janhangeer

Chef

software engineering

Python Engineering Articles

This page lists the very best Python engineering articles of the internet, hand-picked to give hours and hours of pure reading joy. It is especially designed for onboarding new members on your Pyt…

Abdur-Rahmaan Janhangeer

Chef

software engineering

Python: Making Imports Callable

I wanted to do import module module() I thought this did not exist in Python but Chris Angelico, a P…

Abdur-Rahmaan Janhangeer

Chef

linux

How to install Python-efl on Ubuntu or Linux Mint

Python-efl is the binding for EFL, an awesome and performance-obcessed set of libraries. EFL stands for Enlightment Foundation Libraries. It was started for the …

Abdur-Rahmaan Janhangeer

Chef

distributed systems

How to solve celery task has no attribute AsyncResult

I was looking through Grinberg’s tuto on celery and flask. I saw querying tasks by …

Abdur-Rahmaan Janhangeer

Chef

distributed systems

How to query task by id in celery

Using celery 5.1.2 you can get the task id by the following code snippet: from celery import current_app as celery_app # in your function: celery_app.tasks['…

Abdur-Rahmaan Janhangeer

Chef

distributed systems

How to set task id in celery

Here’s a convenient way to set task id in celery: import uuid # in-built in Python task_id = str(uuid.uuid1()) task_dosomething.apply_async(task_id=task_id) …

Abdur-Rahmaan Janhangeer

Chef

web development

How to get server response from DropzoneJs for chunk uploads

After much struggling, here’s the magical formula we got for getting the server response back for chunck uploads: var myDropzone = new Dropzone(document.body,…

Abdur-Rahmaan Janhangeer

Chef

web development

Why Choose Flask Over FastAPI

FastAPI positions itself as one of the best choices for API development in Python. The project is polished for sure, the …

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning Part 12: Association Analysis Explained

Association Analysis is an unsupervised learning technique used to discover interesting relationships hidden in large datasets. It’s most famous for its use in “Market Basket Analy…

Abdur-Rahmaan Janhangeer

Chef