<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kushal Dulani on Medium]]></title>
        <description><![CDATA[Stories by Kushal Dulani on Medium]]></description>
        <link>https://medium.com/@kushaldulani?source=rss-8224ab5532b9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Da0N6xjOfwZh1SdKyRvPpw.png</url>
            <title>Stories by Kushal Dulani on Medium</title>
            <link>https://medium.com/@kushaldulani?source=rss-8224ab5532b9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 01:39:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kushaldulani/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Nvidia Nemotron Outperforms GPT-4o and Claude Sonnet 3.5: Host It Yourself for Less than $1/Hour]]></title>
            <link>https://medium.com/@kushaldulani/nvidia-nemotron-outperforms-gpt-4o-and-claude-sonnet-3-5-host-it-yourself-for-less-than-1-hour-a83fd76c1ef0?source=rss-8224ab5532b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a83fd76c1ef0</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[nvidia]]></category>
            <dc:creator><![CDATA[Kushal Dulani]]></dc:creator>
            <pubDate>Thu, 17 Oct 2024 11:02:26 GMT</pubDate>
            <atom:updated>2024-10-17T11:02:26.849Z</atom:updated>
            <content:encoded><![CDATA[<p>Llama-3.1-Nemotron-70B-Instruct is a large language model customized by NVIDIA to improve the helpfulness of LLM generated responses to user queries.</p><blockquote>It outperformed <strong>Claude 3.5 Sonnet</strong> and <strong>GPT 4o</strong> to set a new benchmark for AI performance.💡</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*5eUwxd4EsbtVSusRJ082Lw.png" /></figure><p>You can try this model here <a href="https://build.nvidia.com/nvidia/llama-3_1-nemotron-70b-instruct">https://build.nvidia.com/nvidia/llama-3_1-nemotron-70b-instruct</a></p><p>You can download weights from Huggingface 🤗 <a href="https://huggingface.co/nvidia/Llama-3.1-Nemotron-70B-Instruct-HF">https://huggingface.co/nvidia/Llama-3.1-Nemotron-70B-Instruct-HF</a></p><p>Also it is smart and intelligent to answer how many ‘r’ in ‘strawberry’ 😂</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rz1AO4YUW35Yyiy33jmJOg.png" /><figcaption>OpenAI Gpt 4o</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dCOiRb58D98SFaGkzxVcIQ.png" /><figcaption>Claude 3.5 Sonnet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*B6Vc0S2OwkoYePAm9AMYiw.png" /><figcaption>Nvidia Nemotron</figcaption></figure><p>You can host this LLM at less than $1/hour 🤯</p><p>Here is step by step tutorial how you can host your own Nemotron.</p><p>We will be using below tech stacks</p><ul><li>Vast.ai for GPU Renting</li><li>Ollama for model inference</li><li>Open-webui for Chat UI of our chatbot</li></ul><p>Create account vast.ai and goto console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEqPsdmz11g5mjiizpS_ug.png" /></figure><p>Goto Templates -&gt; Search Ollama -&gt; Select this image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3C7jGNrarfnPnFa9nIvoOA.png" /></figure><p>Select type of GPUs as per your choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6I_oKG92ItefYT-M4ofoQ.png" /></figure><p>You can select Nvidia’s 1 X A100 SXM4 or 1 X H100 NVL for enterprise grade GPU. I tried both to check performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GVX8EN1g3T8IWHfbv1h9tw.png" /></figure><p>Now click on open and you’ll be redirected to UI screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTsQRGKKam1Q8jobetEwog.png" /></figure><p>Now select on user icon and goto admin panel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmukp9gKCdVRSWzT-n1F_w.png" /></figure><p>Goto models and past model id here</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IN4e6Ben5gm-EHELKhW4sA.png" /></figure><p>You can find model id from Ollama <a href="https://ollama.com/library/nemotron">https://ollama.com/library/nemotron</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5_zenkjyYoRJ0higQPOyHA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sz5b_ZCo157XxWOKhKuCOQ.png" /></figure><p>Once model is downloaded goto home screen and select model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dHUQ5b6vNptpOhC-5wXaVA.png" /></figure><p>Voilà! now you can start chatting with your own llm in multi languages. 🥳</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sJ8rFFNPGOKEwaqbkbtfmw.png" /></figure><blockquote>In next blog I’ll teach you how to deploy on AWS Cloud and how to use like OpenAI API in your Python code 🎊</blockquote><p><strong><em>Clap 50 times</em></strong> if you like this content and you can read more blogs on medium <a href="https://medium.com/@kushaldulani">https://medium.com/@kushaldulani</a></p><p>You can reach me on <a href="https://kushaldulani.com/">https://kushaldulani.com</a> and can follow me on Linkedin <a href="https://www.linkedin.com/in/kushaldulani/">https://www.linkedin.com/in/kushaldulani/</a> for more such updates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*eS3Zrj0SX5oe36Ul.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a83fd76c1ef0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Language Models with AWS Bedrock and LangChain ️Framework for Generative AI…]]></title>
            <link>https://medium.com/into-the-ai-frontier-navigating-genai-computer/mastering-language-models-with-aws-bedrock-and-langchain-%EF%B8%8Fframework-for-generative-ai-e7f786c5e10c?source=rss-8224ab5532b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7f786c5e10c</guid>
            <category><![CDATA[machie-learning]]></category>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[bedrock]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Kushal Dulani]]></dc:creator>
            <pubDate>Tue, 12 Dec 2023 13:05:14 GMT</pubDate>
            <atom:updated>2023-12-12T13:05:14.729Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering Language Models with AWS Bedrock and LangChain 🦜️Framework for Generative AI Applications Part-1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fMD4ZoN1qGmNaNTDrgThlA.png" /><figcaption><a href="https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/06_CodeGeneration/images/bedrock-code-gen-langchain.png?raw=true">Image Source</a></figcaption></figure><p>In this series of blogs, we’ll learn how to create generative AI applications using AWS Bedrock service and Langchain Framework.</p><p>Let’s start with an introduction to Bedrock and Langchain.</p><h3><strong>What is AWS Bedrock?</strong></h3><p>AWS Bedrock is a fully managed service offering multiple models from leading AI companies like AI21 Labs, Anthropic, Cohere, Meta, Stability AI, and Amazon via a single API endpoint.</p><h3><strong>What is Langchain? </strong>🦜️</h3><p>LangChain is a framework for developing applications powered by language models. it’s designed to simplify the creation of applications using large language models.</p><p><em>With the help of using both, we can create AI-powered chat applications for text generation, summarization, question answering, code creation, etc.</em></p><p><strong>Requirements</strong> to develop this.<br>AWS Account, Computer connected to the internet, and eagerness to learn.</p><h3>Setup Bedrock access in AWS.</h3><p>Login into your AWS account, search “bedrock” and select this service.</p><p>Currently, bedrock is available only in the regions below,</p><ul><li><a href="https://us-west-2.console.aws.amazon.com/bedrock/home?region=us-west-2">US West (Oregon)</a></li><li><a href="https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1">US East (N. Virginia)</a></li><li><a href="https://ap-northeast-1.console.aws.amazon.com/bedrock/home?region=ap-northeast-1">Asia Pacific (Tokyo)</a></li><li><a href="https://ap-southeast-1.console.aws.amazon.com/bedrock/home?region=ap-southeast-1">Asia Pacific (Singapore)</a></li><li><a href="https://eu-central-1.console.aws.amazon.com/bedrock/home?region=eu-central-1">Europe (Frankfurt)</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vTCir3N5ncj7c8xPLZEOpg.png" /></figure><p>Before we go ahead with bedrock, we need to enable <strong>Model Access</strong> in AWS.<br>in the left sidebar, we can see the model access option. Currently, there are 19 different kinds of text, embeddings and image models available in AWS Bedrock. I’m enabling all the models for now.</p><p>Goto Model Access-&gt; Manage model access -&gt; Select all models -&gt; Request Model access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wyQ2cxWxS2nP60N6Gz62Yg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A-j7aOSrOoInIyRC81RXbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yEkziEEmcZFpUlIsIWh3Ig.png" /></figure><p>Llama 2 13B and 70B without chat models are Available on requests, else we got access to all 17 models.</p><p>Before using LLMs in the code, you can try these models in the Playground section. You can select from the left sidebar.</p><p>Chat -&gt; Select Model -&gt; Anthropic -&gt; Claude 2.1 -&gt; Apply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cIwlLRrtZoF15TCa2nPClg.png" /></figure><p>You can play with any of the models, in this example, I have selected the Claude V2.1 model.</p><p>Now we’ll learn how to integrate AWS Bedrock models with Langchain.</p><h3>Get Access to Bedrock Models in your Python Code.</h3><p>We need access keys to get access to AWS Bedrock models into your code with the boto3 library in Python.</p><p>Client on right top corner -&gt; Security Credentials -&gt; Access keys -&gt; create access key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zuJjMgP-Oj6y5JvgKbmh7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0RnzuG8-u16G1n0khrQ3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WKtEBM9jyQuTuB-iDyiOGA.png" /></figure><p>Download the .csv file to save your credentials.</p><p>Now we have our Access key and Secret access key.</p><pre>ACCESS_KEY = &quot;AKIAXJ4RZQQHME5AOGF4&quot;<br>SECRET_ACCESS_KEY = &quot;wfq5CDFxANLeV8Wza9A8PQIvMMuYQPst9tiEvYC5&quot;</pre><h3><strong>Integrate AWS Bedrock into Python &amp; Langchain</strong></h3><p>First, we need to install some libraries.</p><pre>pip install langchain boto3</pre><p>importing libraries.</p><pre>import os<br>import boto3</pre><p>Defining AWS Access key, Secret access key, and Region.</p><pre>ACCESS_KEY = &quot;AKIAXJ4RZQQHME5AOGF4&quot;<br>SECRET_ACCESS_KEY = &quot;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&quot;<br>AWS_REGION = &quot;us-west-2&quot;</pre><p>Below we created a class called BedrockLLM which has multiple functions named get_client and get_bedrock_client.</p><p>The below functions are connecting AWS using boto3 sdk with ACCESS_KEY, SECRET_ACCESS_KEY, and AWS_REGION variables.</p><pre>class BedrockLLM:<br><br>    @staticmethod<br>    def get_bedrock_client():<br>      &quot;&quot;&quot; <br>      This function will return the bedrock client.<br>      &quot;&quot;&quot;<br>      bedrock_client = boto3.client(<br>          &#39;bedrock&#39;,<br>          region_name=AWS_REGION,<br>          aws_access_key_id=ACCESS_KEY,<br>          aws_secret_access_key=SECRET_ACCESS_KEY<br>      )<br><br>      return bedrock_client<br><br><br>    @staticmethod<br>    def get_bedrock_runtime_client():<br>      <br>      &quot;&quot;&quot; <br>      This function will return the bedrock runtime client.<br>      &quot;&quot;&quot;<br>      bedrock_runtime_client = boto3.client(<br>          &#39;bedrock-runtime&#39;,<br>          region_name=AWS_REGION,<br>          aws_access_key_id=ACCESS_KEY,<br>          aws_secret_access_key=SECRET_ACCESS_KEY<br>      )<br><br>      return bedrock_runtime_client</pre><p>Here we get a bedrock client and list down all foundational models that we enabled earlier.</p><pre>bedrock_client = BedrockLLM.get_bedrock_client()<br>FM_list = bedrock_client.list_foundation_models()<br>print(FM_list)</pre><p>if you get the long JSON list, voila you have connected your AWS Bedrock successfully with your Python Code.</p><p>Now we’ll connect AWS Bedrock into the Langchain framework and ask some questions to LLMs.</p><p>importing Langchain and from llms import Bedrock.</p><pre>import langchain<br>from langchain.llms.bedrock import Bedrock</pre><p>We’ll make a new function in the BedrockLLM class. We’ll be using Anthropic’s Claude instant v1 model, we can change to v2, v2.1, etc just by changing the model id.</p><pre>class BedrockLLM:<br><br>    @staticmethod<br>    def get_bedrock_llm(<br>          model_id:str = &quot;anthropic.claude-instant-v1&quot;,<br>          max_tokens_to_sample:int = 300,<br>          temperature:float = 0.0,<br>          top_k:int = 250,<br>          top_p:int = 1<br>        ):<br>        &quot;&quot;&quot;<br>        This function will take multiple arguments and return llm<br>        <br>        input args: model_id, maximum token to sample, temprature, top k and top p value.<br><br>        output: return bedrock llm<br>        &quot;&quot;&quot;<br>        params = {<br>            &quot;max_tokens_to_sample&quot;: max_tokens_to_sample,<br>            &quot;temperature&quot;: temperature,<br>            &quot;top_k&quot;: top_k,<br>            &quot;top_p&quot;: top_p<br>        }<br><br>        bedrock_llm = Bedrock(<br>            model_id=model_id,<br>            client=BedrockLLM.get_bedrock_runtime_client(),<br>            model_kwargs=params,<br>        )<br><br>        return bedrock_llm</pre><blockquote>Top P: A parameter that sets a probability threshold for word selection. It limits choices based on the cumulative probability of potential words, excluding less likely options.</blockquote><blockquote>Top K: A parameter specifying the maximum number of high-probability words to consider for the next sequence. It filters out less probable words beyond this limit.</blockquote><blockquote>Temperature: A parameter influencing the randomness of word selection in language models. Lower values make the model more deterministic and focused on high-probability words, while higher values introduce more randomness by considering lower-probability options.</blockquote><pre>llm = BedrockLLM.get_bedrock_llm()</pre><pre>result = llm.invoke(input=&quot;Human: Hello, how are you?&quot;)<br>print(result)<br># &quot;I&#39;m doing well, thanks for asking!&quot;</pre><p>Here we invoked Claude’s instant-v1 model and got the output<br> “ I’m doing well, thanks for asking!”</p><p>Let’s ask any other question to our llm.</p><pre>result = llm.invoke(input=&quot;Human: explain me newton&#39;s 3rd law&quot;)<br>print(result)</pre><pre># Newton&#39;s Third Law of Motion states that for every action, there is an equal and opposite reaction.<br><br># In more details:<br><br># - It is one of the fundamental laws of physics, originally formulated by Isaac Newton.<br><br># - It explains the interactions between two objects that are in contact or that exert forces on each other. <br><br># - The law states that the force one object exerts on a second object is equal in strength to the force that the second object exerts back on the first.<br><br># - For example, when you push on a wall with your hand, the wall pushes back on your hand with an equal force in the opposite direction. <br><br># - Another example is when a rocket engine fires, it exerts a forward force on the exhaust gases, and the exhaust gases exert an equal and opposite backward force on the rocket, causing it to accelerate forward.<br><br># - The forces always come in pairs - there is no such thing as a single force that acts on an object. </pre><p>LLMs are very bad at mathematics, when I saw this kind of answer I was also shocked. Great work by Anthropic.</p><pre>result = llm.invoke(input=&quot;Human: what is 2 * 3904&quot;)<br>print(result)</pre><pre># Okay, here are the step-by-step workings:<br># 2 * 3904<br># = 2 * (3000 + 900 + 4)<br># = 2 * 3000 + 2 * 900 + 2 * 4<br># = 6000 + 1800 + 8<br># = 7808<br><br># So, 2 * 3904 = 7808.</pre><p>Here is the complete code below.</p><pre>import os<br>import boto3<br>import langchain<br>from langchain.llms.bedrock import Bedrock<br><br>ACCESS_KEY = &quot;AKIAZRURNAEVKZN75BGV&quot;<br>SECRET_ACCESS_KEY = &quot;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&quot;<br>AWS_REGION = &quot;us-west-2&quot;<br><br>class BedrockLLM:<br><br>    @staticmethod<br>    def get_bedrock_client():<br>      &quot;&quot;&quot; <br>      This function will return bedrock client.<br>      &quot;&quot;&quot;<br>      bedrock_client = boto3.client(<br>          &#39;bedrock&#39;,<br>          region_name=AWS_REGION,<br>          aws_access_key_id=ACCESS_KEY,<br>          aws_secret_access_key=SECRET_ACCESS_KEY<br>      )<br><br>        return bedrock_client<br><br><br>    @staticmethod<br>    def get_bedrock_runtime_client():<br>      <br>      &quot;&quot;&quot; <br>      This function will return bedrock runtime client.<br>      &quot;&quot;&quot;<br>      bedrock_runtime_client = boto3.client(<br>          &#39;bedrock-runtime&#39;,<br>          region_name=AWS_REGION,<br>          aws_access_key_id=ACCESS_KEY,<br>          aws_secret_access_key=SECRET_ACCESS_KEY<br>      )<br><br>        return bedrock_runtime_client<br><br>    @staticmethod<br>    def get_bedrock_llm(<br>          model_id:str = &quot;anthropic.claude-instant-v1&quot;,<br>          max_tokens_to_sample:int = 300,<br>          temperature:float = 0.0,<br>          top_k:int = 250,<br>          top_p:int = 1<br>        ):<br>        &quot;&quot;&quot;<br>        This function will take multiple arguments and give<br>        <br>        input args: model_id, maximum token to sample, temprature, top k and top p value.<br><br>        output: return bedrock llm<br>        &quot;&quot;&quot;<br>        params = {<br>            &quot;max_tokens_to_sample&quot;: max_tokens_to_sample,<br>            &quot;temperature&quot;: temperature,<br>            &quot;top_k&quot;: top_k,<br>            &quot;top_p&quot;: top_p<br>        }<br><br>        bedrock_llm = Bedrock(<br>            model_id=model_id,<br>            client=BedrockLLM.get_bedrock_runtime_client(),<br>            model_kwargs=params,<br>        )<br><br>        return bedrock_llm<br><br><br>bedrock_client = BedrockLLM.get_bedrock_client()<br>FM_list = bedrock_client.list_foundation_models()<br>print(FM_list)<br><br>llm = BedrockLLM.get_bedrock_llm()<br><br>result = llm.invoke(input=&quot;Human: Hello, how are you? AI: &quot;)<br>print(result)<br><br>result = llm.invoke(input=&quot;Human: explain me newton&#39;s 3rd law AI: &quot;)<br>print(result)<br><br>result = llm.invoke(input=&quot;Human: what is 2 * 3904&quot;)<br>print(result)<br></pre><p>In Part 2 we’ll walk through how we can chat with our documents <br>(Pdf, CSV, text, etc) with Bedrock and Langchain.</p><p>You can follow me on <a href="https://www.linkedin.com/in/kushaldulani/">Linkedin</a> 👨‍💻 to be updated on the latest technology.</p><p>Thank You.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7f786c5e10c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/into-the-ai-frontier-navigating-genai-computer/mastering-language-models-with-aws-bedrock-and-langchain-%EF%B8%8Fframework-for-generative-ai-e7f786c5e10c">Mastering Language Models with AWS Bedrock and LangChain 🦜️Framework for Generative AI…</a> was originally published in <a href="https://medium.com/into-the-ai-frontier-navigating-genai-computer">Tech Beyond Tomorrow: GenAI, Computer Vision, Future Horizons</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5-minute guide to creating your own Python package: simplify code sharing and reuse with this quick…]]></title>
            <link>https://medium.com/@kushaldulani/5-minute-guide-to-creating-your-own-python-package-simplify-code-sharing-and-reuse-with-this-quick-ff0f2ead2e71?source=rss-8224ab5532b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff0f2ead2e71</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[package]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[libraries]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Kushal Dulani]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 10:31:54 GMT</pubDate>
            <atom:updated>2022-12-30T10:31:54.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>5-minute guide to creating your own Python package: simplify code sharing and reuse with this quick tutorial</h3><p>In this tutorial, I’ll show you how can you create your own python package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*2z0RSxxC5bfAOPec450vsg.png" /></figure><h3><strong>What is a Python Package?</strong></h3><p>A Python package is a collection of modules that have been bundled together and distributed as a single unit. Packages are used to structure and organize Python code, making it easier to reuse and maintain.</p><p>Here is a list of popular python packages,<br>* NumPy:- used for multidimensional arrays<br>* Pandas:- used for data analysis<br>* Pillow:- used for image processing</p><h3>How to install Python Package?</h3><p>You can install python packages using the “pip” command.</p><pre>pip install greethelloworld</pre><h3><strong>How to create a Package in Python?</strong></h3><p>Step 1:- Go to <a href="https://pypi.org/">https://pypi.org/</a> and check whether your package name already exists or not. In our case Package Name is “ greethelloworld ”.</p><p>Step 2:- After finalizing your name, create a folder in your system and name it your package name.</p><p>Step 3:- Create files “hello.py” and “__init__.py” in the folder.</p><p>Step 4:- Make a function in “hello.py”</p><pre>def sayHello(yourname=&quot;World&quot;):<br> return &quot;Hello &quot; + yourname</pre><p>In the above code, we made a function called “ sayHello ” and passed the “yourname” parameter which has a default value of “ world ”.<br>we are returning “ Hello + yourname ”. if we don’t pass any value it’ll return “ Hello World”.</p><p>Step 5:- Call the sayHello function into “ __init__.py ”.</p><pre>from greethelloworld.hello import sayHello</pre><blockquote><strong><em>But Kushal why we are calling function in __init__.py and why we made this?<br></em></strong>In Python, the __init__.py file is used to define the contents of a package. It is typically used to specify the package&#39;s initialization code and to define the package&#39;s global variables and functions.</blockquote><p>Till now our directory structure looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*W6DmDmQXtJuBLBPu2PQTeg.png" /></figure><p>Now our Package is ready to publish.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F17252607&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fdo-not-touch-it-programmer-walking-cow-coding-gif-17252607&amp;image=https%3A%2F%2Fmedia.tenor.com%2FfJAoBHWymY4AAAAC%2Fdo-not-touch-it-programmer.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/253ccef45511fe2cf5fa7cc931ff9996/href">https://medium.com/media/253ccef45511fe2cf5fa7cc931ff9996/href</a></iframe><blockquote>Before you publish your package to PyPI, I will recommend you push your code on GitHub, It’ll be helpful to your Package updates and Version Controls.</blockquote><h3>How to publish this package to PyPI?</h3><p>Step 6:- make a new file called setup.py and paste this code.</p><pre>from setuptools import setup, find_packages<br><br>VERSION = &#39;1.0.0&#39;<br>DESCRIPTION = &#39;Greeting Hello World&#39;<br>LONG_DESCRIPTION = &#39;A demo package that greet you hello world.&#39;<br><br># Setting up<br>setup(<br>    name=&quot;greethelloworld&quot;,<br>    version=VERSION,<br>    author=&quot;Kushal Dulani&quot;,<br>    author_email=&quot;&lt;youremail@domain.com&gt;&quot;,<br>    description=DESCRIPTION,<br>    long_description_content_type=&quot;text/markdown&quot;,<br>    long_description=LONG_DESCRIPTION,<br>    packages=find_packages(),<br>    install_requires=[],<br>    keywords=[&#39;python&#39;, &#39;helloworld&#39;, &#39;greethelloworld&#39;, &#39;greethellow&#39;, &#39;greetinghelloworld&#39;],<br>    classifiers=[<br>        &quot;Development Status :: 1 - Planning&quot;,<br>        &quot;Intended Audience :: Developers&quot;,<br>        &quot;Programming Language :: Python :: 3&quot;,<br>        &quot;Operating System :: Unix&quot;,<br>        &quot;Operating System :: MacOS :: MacOS X&quot;,<br>        &quot;Operating System :: Microsoft :: Windows&quot;,<br>    ]<br>)</pre><p>In the above code, we have imported setup and find_packages from setuptools. Then we defined Version for the our Package, Description and Long Description.</p><p>After that, we are calling setup functions and pass necessary parameters like Name, Version Author, Author_Email, Description, Keywords related to our package, and Classifiers which we included for the type and Supported Plateform of the package.</p><blockquote>Note:- Currently, our Package is not dependent on any other package. If your code depends on any other package like Numpy, Pandas, Tensorflow, or Pytorch. You can add new parameters in setup() called “install_requires”.</blockquote><blockquote>install_requires = [&quot;numpy&quot;, &quot;pandas&quot;, &quot;tensorflow&quot;, &quot;pytorch&quot;]</blockquote><p>Step 7:- Run this command.</p><pre>python3 setup.py sdist bdist_wheel </pre><p>It’ll build your package in “.tar.gz” and “.whl ” format.</p><p>Step 8:- To publish your Package into PyPI you’ll need one package called “twine”. You can install “twine” from the following code.</p><p>Till now our directory structure looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*oI7pzrkxzH7wBj-rmD-Pgg.png" /></figure><pre>pip install twine</pre><p>Step 8:- Run this command and it’ll publish your Package. It’ll ask for your PyPI username and Password for authentication.</p><pre>twine upload dist/*</pre><p>Congratulations!, You have created your Package in Published to PyPI.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F26254840&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fminions-gif-26254840&amp;image=https%3A%2F%2Fmedia.tenor.com%2FsZAFBih2R54AAAAC%2Fminions.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a1cdf510d022e14582d6522e9fada87/href">https://medium.com/media/4a1cdf510d022e14582d6522e9fada87/href</a></iframe><h3>It’s time for the test.</h3><p>Install our package from the following code.</p><pre>pip install greethelloworld</pre><p>make a new file and name it whatever you like. In my case, I’m naming to “test.py” and pasting the following code.</p><pre>from greethelloworld import sayHello<br>print(sayHello())<br>print(sayHello(&quot;Kushal&quot;))<br><br>#Hello World<br>#Hello Kushal</pre><p>In the above code, we have imported the “sayHello” function from “greethelloworld” package. <br>we are calling without passing any parameter and Its returns “Hello World”, the second time we have passed name = “Kushal” and Its returns “Hello Kushal”.</p><p>GitHub Link:-</p><p><a href="https://github.com/kushu9999/greethelloworld-package.git">GitHub - kushu9999/greethelloworld-package: Demo PyPI Package for greeting.</a></p><p>You can follow me on Medium @<a href="https://medium.com/u/8224ab5532b9">Kushal Dulani</a> and on LinkedIn.</p><p><a href="https://www.linkedin.com/in/kushal-dulani-28145a189/">LinkedIn</a>:- <a href="https://www.linkedin.com/in/kushal-dulani-28145a189/">https://www.linkedin.com/in/kushal-dulani-28145a189/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff0f2ead2e71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The One-Stop Guide to OOP in Python: Learn Everything You Need to Know With Examples.]]></title>
            <link>https://medium.com/@kushaldulani/the-one-stop-guide-to-oop-in-python-learn-everything-you-need-to-know-with-examples-932f85933e11?source=rss-8224ab5532b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/932f85933e11</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[oop]]></category>
            <category><![CDATA[object-oriented]]></category>
            <dc:creator><![CDATA[Kushal Dulani]]></dc:creator>
            <pubDate>Tue, 27 Dec 2022 14:42:17 GMT</pubDate>
            <atom:updated>2022-12-29T05:05:03.416Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PgY3AZPv7dHZImz3tAMMVA.png" /></figure><p>In this tutorial, we will learn about object-oriented programming in python in the simplest way with examples and we will do library management projects.</p><p><strong>Prerequisites</strong></p><ul><li>Basic Python Knowledge</li></ul><h3>Let’s start the OOP journey with Python.</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F4469250&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fbugs-bunny-race-run-running-exercise-gif-4469250&amp;image=https%3A%2F%2Fmedia.tenor.com%2FIrwiUh_zsNUAAAAC%2Fbugs-bunny-race.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec46fc637ee77236a034c1c7261d7628/href">https://medium.com/media/ec46fc637ee77236a034c1c7261d7628/href</a></iframe><h3>Main Concepts of Object-Oriented Programming (OOP)</h3><ul><li>Class</li><li>Objects</li><li>Method</li><li>Inheritance</li><li>Polymorphism</li><li>Encapsulation</li><li>Data Abstraction</li></ul><h3><strong>What is OOP in Python?</strong></h3><p>Object-oriented programming (OOP) is a programming paradigm that is based on the concept of “objects”, which can contain data and code that operates on that data. In Python, an object is an instance of a class. A class is a template or blueprint for creating objects.</p><p><em>Now many of you say but Kushal what is class and what is an object?</em></p><p>Don’t worry guys, we have just started. I will explain it to you.</p><p><strong>What is a class and how to define a class in Python?</strong></p><p>In simple terms, a class is a template of code that can be used for creating objects.</p><p><strong>How to define a class in python?</strong></p><p>to define a class, we will start with the keyword class, followed by the name of the class and colon “:”</p><pre>class Cat:<br>  pass</pre><p>In the above example, Cat is the class name, a class name should start with a capital letter. Currently, we have used a pass keyword which is used as a placeholder indicating where the code will go.</p><p>Now we will define some properties of Cat including name, age, and color.<br>All the properties of a cat must be defined in a method called __init__().</p><p>In Python, the __init__(). method is a special method that is called when an instance of a class is created. It is commonly known as the &quot;constructor&quot; method, as it is responsible for initializing the attributes of an object when it is created.</p><pre>class Cat:<br>  def __init__(self, name, age, color, breed):<br>    self.name = name<br>    self.age = age<br>    self.color = color<br>    self.breed = breed<br></pre><p>We successfully created a class named Cat and which has 4 attributes name, age, color, and breed.</p><p><strong>Why we are using the self keyword again and again?</strong></p><p>In Python, the “self” keyword is used to refer to the current instance of a class. It is a convention to use “self” as the first parameter in the definition of an instance method and to use it to access the attributes and methods of the instance from within the method. You can use any other name instead of “self”, it must be in the first place.</p><p><strong>Now, how do I initialize the class?</strong></p><p>You can initialize the class by writing a class name and called with parentheses ().</p><pre>Cat()</pre><p>But you can’t see anything now because we haven&#39;t created an object of the class and doesn’t pass any attributes of the class like name, age, etc.</p><p><strong>What is an Object?</strong></p><p>An object is an instance of a class, and you can create multiple objects from a single class. Each object has its own set of attributes and can use the methods of the class to operate on those attributes.</p><pre>a = Cat(&quot;Luna&quot;, 3, &quot;golden&quot;, &quot;British Shorthair&quot;)</pre><p>In the above example, we have created an object called “A”, which has the name “Luna”, the age “3” months, the color “golden”, and the breed “British Shorthair”.</p><p>We can make multiple objects of the class.</p><pre>a = Cat(&quot;Luna&quot;, 3, &quot;golden&quot;, &quot;British Shorthair&quot;)<br>b = Cat(&quot;Leo&quot;, 6, &quot;golden&quot;, &quot;Maine Coon&quot;)<br>c = Cat(&quot;Simba&quot;, 4, &quot;golden&quot;, &quot;Persian cat&quot;)</pre><p>Now we can get attributes of an object like this.</p><pre>print(a.name)<br># Luna<br>print(b.name)<br># 6</pre><p>We can define a method in a class that can print all the information about cats.</p><pre>class Cat:<br>  def __init__(self, name, age, color, breed):<br>    self.name = name<br>    self.age = age<br>    self.color = color<br>    self.breed = breed<br><br>  def print_info(self):<br>    print(f&quot;Name of the cat is {self.name}, it&#39;s age is {self.age}, <br>          cat&#39;s color is {self.color} and breed of the cat is {self.breed}&quot;)</pre><pre>a = Cat(&quot;Luna&quot;, 3, &quot;golden&quot;, &quot;British Shorthair&quot;)</pre><pre>print(a.print_info())<br># Name of the cat is Luna, it&#39;s age is 3, cat&#39;s color is golden and the breed of the cat is British Shorthair</pre><p>We have created the class and its objects.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F25960405&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fcheers-scott-forrester-fbi-international-toast-lets-drink-gif-25960405&amp;image=https%3A%2F%2Fmedia.tenor.com%2F5JpiFtW84woAAAAC%2Fcheers-scott-forrester.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/a1e8939e5bbcc01a7c13b3f18a992b52/href">https://medium.com/media/a1e8939e5bbcc01a7c13b3f18a992b52/href</a></iframe><h3><strong>Now We will learn a new topic in OOP called the Methods.</strong></h3><p><strong>What is a class method?</strong></p><p>In Python, a class method is a method that is bound to the class and not the instance of the class. A class method is defined using the “ @classmethod ” decorator, which is placed before the method definition.</p><pre>class Employee:<br>    raise_amount = 1.10<br>    <br>    def __init__(self, emp_name, emp_salary):<br>        self.emp_name = emp_name<br>        self.emp_salary = emp_salary<br>    <br>    @classmethod<br>    def set_raise_amount(cls, amount):<br>        cls.raise_amount = amount<br>    <br>    def give_raise(self):<br>        self.emp_salary *= self.raise_amount<br><br>a = Employee(&quot;Kushal&quot;,100000)<br>b = Employee(&quot;Piyush&quot;,100000)<br><br>print(a.salary)<br># 10000<br>print(b.salary)<br># 10000<br><br>a.give_raise()<br>print(a.salary)<br># 110000<br><br>b.set_raise_amount(1.20)<br>b.give_raise()<br>print(b.salary)<br># 120000</pre><p>In the above code, the class name is Employee and it has 2 methods “set_raise_amount” and “give_raise”.<br>Also, we have a class attribute called “raise_amount”.</p><p>a and b are 2 objects of a class. if you see it properly so we can see that both employees have the same salary and the base increment is 10%.<br>a has given a base increment and its salary is now 110k which was 100k before.</p><p>But B had worked harder this year and the boss wants to give a 20% increment to b. before calling the “give_raise” method we called “set_raise_amount”, which will change the default value of the Employee class attribute “raise_amount” and then raise the salary. so incremented salary of b is now 120k which was 100k before.</p><p><strong>What is a static method?</strong></p><p>In Python, a static method is a method that is bound to the class and not the instance of the class. It is defined using the “ @staticmethod ”decorator, which is placed before the method definition.</p><pre>class Employee:<br>    raise_amount = 1.10<br>    <br>    def __init__(self, emp_name, emp_salary):<br>        self.emp_name = emp_name<br>        self.emp_salary = emp_salary<br>    <br>    @classmethod<br>    def set_raise_amount(cls, amount):<br>        cls.raise_amount = amount<br>    <br>    def give_raise(self):<br>        self.emp_salary *= self.raise_amount<br><br>    @staticmethod<br>    def is_workday(day):<br>        if day == &quot;saturday&quot; or day== &quot;sunday&quot;:<br>            return False<br>        return True<br><br>a = Employee(&quot;Kushal&quot;,100000)<br>b = Employee(&quot;Piyush&quot;,100000)<br><br>print(a.is_workday(&#39;sunday&#39;)<br># False<br>print(b.is_workday(&#39;tuesday&#39;)<br># True<br></pre><p>In the above code, “ is_workday ” is not bound to class or instance and it doesn’t pass any self or class argument.<br>we can also use this method directly using class (Employee)without making any objects.</p><pre>print(Employee.is_workday(&#39;monday&#39;))<br># True</pre><h3><strong>Method Overloading and Overriding</strong></h3><p><strong>what is method Overloading?</strong></p><p>Method Overloading is the same class method that has the same name and different parameters.<br>In Python, Method Overloading is not supported.</p><pre>class Sum:<br>    def add_sum(self, value1, value2):<br>        return value1 + value2<br>    def add_sum(self, value1, value2, value3):<br>        return value1 + value2 + value3<br><br>a = Sum()<br>a.add_sum(5,5)<br># TypeError: Sum.add_sum() missing 1 required positional argument: &#39;value3&#39;</pre><p>As you can see in the above code, the “add_sum” method will require a ‘value3’ parameter, if 2 the same name methods were found, it’ll replace the older one.</p><p><strong>what is method Overriding?</strong></p><p>Method overriding is a subclass method that has the same name and parameters. When we override the method subclass method will be called instead of the parent class.</p><pre>class Birds():<br>    def fly(self):<br>        return True<br><br>class Parrot(Birds):<br>    def fly(self):<br>        return True<br>    <br>class Penguin(Birds):<br>    def fly(self):<br>        return False<br>    <br>a = Parrot()<br>b = Penguin()<br><br>a.fly()<br># True<br>b.fly()<br># False</pre><p>As you can see in the above code, the ‘fly’ method overrides for “Penguin” class.</p><h3><strong><em>Inheritance</em></strong></h3><h4>what is Inheritance?</h4><p>Inheritance is a concept in object-oriented programming (OOP) that allows one class to inherit properties and methods from another class. It allows you to create a new class that is a modified version of an existing class, without having to rewrite the code in the new class.</p><pre>class Vehicle:<br>    def __init__(self, make, model, year):<br>        self.make = make<br>        self.model = model<br>        self.year = year<br>        <br>    def get_description(self):<br>        return f&quot;{self.year} {self.make} {self.model}&quot;<br>    <br>class Car(Vehicle):<br>    def __init__(self, make, model, year, num_doors):<br>        super().__init__(make, model, year)<br>        self.num_doors = num_doors<br>        <br>class Truck(Vehicle):<br>    def __init__(self, make, model, year, national_permit):<br>        super().__init__(make, model, year)<br>        self.national_permit = national_permit<br>    <br>    def get_description(self):<br>        return f&quot;{self.year} {self.make} {self.model} {self.national_permit}&quot;<br>        <br>my_car = Car(&quot;Audi&quot;, &quot;Q7&quot;, 2020, 4)<br>print(my_car.get_description())<br># 2020 Audi Q7<br><br>my_truck = Truck(&quot;TATA&quot;, &quot;407&quot;, 2021, True)<br>print(my_truck.get_description())<br># 2021 TATA 407 True</pre><p>In the above code, we have created 3 classes called Vehicle, Car, and Truck.<br>class Car and Truck Inherited from the Vehicle class.<br>Vehicle class has 3 attributes make, model, and year along with 1 method “ get_description ”.<br>Both inherited classes used attributes make, name, and year using the super() keyword. The class Truck is overriding the “ get_description ” method because it wants to print the “national_permit” also.</p><h3><strong>Polymorphism</strong></h3><p><strong>what is Polymorphism?</strong></p><p>Polymorphism is a concept in object-oriented programming that allows you to write code that can work with multiple different types of objects, without needing to know exactly what type of object it is working with.</p><p>Method overloading is the ability to define multiple methods with the same name but different parameters. Python does not have built-in support for method overloading, but you can achieve a similar effect using default arguments and method overloading.</p><pre>class HomeButton:<br>    def tap(self):<br>        print(&quot;Home Screen&quot;)<br><br>class DoubleTap(HomeButton):<br>    def tap(self):<br>        print(&quot;Took Screenshot&quot;)<br>    <br>class TripleTap(VeganOrNot):<br>    def tap(self):<br>        print(&quot;Screen Lock&quot;)<br><br>a = HomeButton()       <br>b = DoubleTap()<br>c = TripleTap()<br><br>a.tap()<br># Home Screen<br>b.tap()<br># Took Screenshot<br>c.tap()<br># Screen Lock</pre><p>In the above code, the tap method is overriding.<br> we took the example of the iphone6’s home button.<br>If we press a single time it’ll go to the home screen, if we tap 2 times it’ll take a screenshot and if we tap 3 times it’ll lock the screen.</p><h3><strong>Encapsulation</strong></h3><p><strong>what is Encapsulation?</strong></p><p>Encapsulation is used to hide the implementation details of a class from other classes, and to restrict access to the data and methods of the class.</p><pre>class MobilePhone:<br>    def __init__(self, brand, model, price):<br>        self.brand = brand<br>        self.model = model<br>        self.price = price<br>        self.__discount = &quot;10%&quot;<br>        <br>    def details(self):<br>        print(f&quot;{self.brand} {self.model} {self.price} {self.__discount}&quot;)<br><br>a = MobilePhone(&quot;Apple&quot;, &quot;Iphone 14 Pro Max&quot;, &quot;140k&quot;)<br><br>a.details()<br># Apple Iphone 14 Pro Max 140k 10%<br>a.__discount<br># AttributeError: &#39;MobilePhone&#39; object has no attribute &#39;__discount&#39;</pre><p>In the above code, __discount() can be accessed within the class but it can&#39;t be accessible in the object.</p><h3>Abstraction</h3><p><strong>what is Abstraction?</strong></p><p>In Python, abstraction is often achieved through the use of abstract classes and abstract methods. An abstract class is a class that contains one or more abstract methods, which are methods that are declared but not implemented. Abstract methods are used to define a template for subclasses to follow, and to ensure that subclasses implement certain methods.</p><pre>from abc import ABC, abstractmethod<br><br>class Animal(ABC):<br>    @abstractmethod<br>    def make_sound(self):<br>        pass<br>    <br>class Dog(Animal):<br>    def make_sound(self):<br>        print(&quot;Bark&quot;)<br>        <br>class Cat(Animal):<br>    def make_sound(self):<br>        print(&quot;Meow&quot;)<br>        <br>class Cow(Animal):<br>    def make_sound(self):<br>        print(&quot;Moo&quot;)<br><br>animals = [Dog(), Cat(), Cow()]<br>for animal in animals:<br>    animal.make_sound()<br><br># Output:<br># Bark<br># Meow<br># Moo</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F25636997&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fwedding-crasher-hro-gif-25636997&amp;image=https%3A%2F%2Fmedia.tenor.com%2F0Sh7u1lRsyEAAAAC%2Fwedding-crasher-hro.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/acfe194988e22bfd8e49c733e1b9bea9/href">https://medium.com/media/acfe194988e22bfd8e49c733e1b9bea9/href</a></iframe><p>It’s time to celebrate! We have completed OOP in Python.</p><p>If you like this type of content, follow me on Medium. @<a href="https://medium.com/u/8224ab5532b9">Kushal Dulani</a>.</p><p><a href="https://www.linkedin.com/in/kushal-dulani-28145a189/">LinkedIn</a>:- <a href="https://www.linkedin.com/in/kushal-dulani-28145a189/">https://www.linkedin.com/in/kushal-dulani-28145a189/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=932f85933e11" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>