Custom SQL In Django MigrationIn my project, one use case came with custom SQL migration. Step1: Create the empty migration python manage.py makemigrations <project_name> --empty -n <relevant message> # python manage.py makemigrations app --empty -n creating_users Step 2: Open c...Sep 10, 2023·1 min read·14
MySQL Multiple rows update in Single QueryWe will discuss based on the use cases Why do we need to write in a single query? I am using the AWS lambda function. it will trigger on the s3 event, whenever a new file is inserted into the s3 file system our lambda function will be called, here I ...Apr 8, 2021·2 min read·146
Python create a packageTopics we discuss here Why we need a package ? How to create a package? Package? Consider you have a bunch of files which is having the common functionality or logic implemented in it , when we want to use it in our existing code either we need...Nov 22, 2020·3 min read·40
Dynamic Import in PythonIn this we will discuss how to import function or classes in dynamic way. Scenario: You have a flask end point which is containing the filename and function_name, when ever the user gives different filename and different function_name it needs to pro...Nov 11, 2020·2 min read·92
Reading large csv files in PandasPandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language. In this article we talk about Introduction to pandas. Installation. Handle large data files . ...Nov 8, 2020·2 min read·41
Python Serverless Microframework for AWS (Chalice)If you’re into serverless stuff, you already know what is AWS Lambda. But many people use the aws web console to create the lambda functions and write the python code over there Why Chalice? For creating the lambda functions Test in locally You ca...Nov 8, 2020·1 min read·24