<?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 Sachin Dhumal on Medium]]></title>
        <description><![CDATA[Stories by Sachin Dhumal on Medium]]></description>
        <link>https://medium.com/@sachin.dhumal?source=rss-679e3b355c76------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*n6GJoRItaL0nrefE</url>
            <title>Stories by Sachin Dhumal on Medium</title>
            <link>https://medium.com/@sachin.dhumal?source=rss-679e3b355c76------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:32:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachin.dhumal/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[India- The Software Mining Country]]></title>
            <link>https://medium.com/@sachin.dhumal/india-the-software-mining-country-a4cc854344cb?source=rss-679e3b355c76------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4cc854344cb</guid>
            <category><![CDATA[software]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[world]]></category>
            <category><![CDATA[export]]></category>
            <dc:creator><![CDATA[Sachin Dhumal]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 17:38:53 GMT</pubDate>
            <atom:updated>2022-08-18T17:38:53.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YkAjeNzGCc6IiaxhB-3rVQ.png" /></figure><p>Over the last decade, India is too much progressing in the software or IT industry and I think the occasion of 15th August is good to know the progress of India in the IT world. So let&#39;s explore how India is growing in IT World.</p><p><strong>India</strong> is a developing country today. However, a few centuries ago, it was nicknamed ‘<em>Sone ki chidiya’ (The Golden Sparrow)</em>. It had everything including agriculture, minerals, nature, intellect, and beauty. India was known to be the wealthiest country in the world but nowadays India can be nicknamed ‘The Software Mining Country’ the reasons behind this are as follows.</p><p>The exponential growth of the IT industry in India in the last two decades has changed the perception of the whole world about India’s storehouse of knowledge and skills and powered economic growth. The swift advancement within the IT industry and liberalization policies such as reducing trade barriers and eliminating import duties on technology products by the Government of India are instrumental in the evolution of this industry. Also, various other government initiatives like setting up Software Technology Parks (STP), Export Oriented Units (EOU), Special Economic Zones (SEZ) and foreign direct investment (FDI) have helped this industry in attaining a leading position in the world IT industry.</p><p>In the present time, when the COVID-19 pandemic has grappled the whole world and economies have been hard hit. The Indian IT industry is still showing positive signs and has the ability to overcome this exceptional catastrophe. It has arisen as a global economic force and a major contributor to the Indian economy in particular and the world in general.</p><p>According to the <strong>Times Of India, </strong>India is expected to have a digital economy of $1 Trillion by 2025</p><p>One of the largest electronics markets in the world anticipated reaching $400 Billion by 2025</p><p>The current wave of Indian software entrepreneurs is focusing on building platforms and products for Indian and global markets. This has led to the creation of more than 7,000 tech startups in India. India was already home to 18 unicorns (start-ups valued in excess of US$1 billion) in 2019, and another 20 will be added by the end of 2022.Following graph published by the <strong>Economic Times</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*wGXP6ioExvaru9ouMqtr0g.png" /></figure><p>According to the <strong>Times Of India “</strong><em>Indian IT sector growing at almost twice the rate of the economy</em>” following news published in Times of India which shows the predicted growth of the Indian Software Industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*oEt2FSAvW3GIpoXb_h7wTw.png" /></figure><p>And last but not least I would like to tell one more fact: In the year 2021 Saudi Arabia exported oil worth 113 Billion Dollars and in the same year, India exported software worth 133 Billion Dollars. So That&#39;s why India is <strong><em>The Software Mining Country</em></strong></p><blockquote><em>Here to make the community stronger by sharing our knowledge. </em><a href="https://medium.com/@sachin.dhumal"><em>Follow me</em></a><em> and </em><a href="https://medium.com/nonstopio"><em>my team</em></a><em> to stay updated on the latest and greatest in the web &amp; mobile tech world.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4cc854344cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Well Handling Of Cloudinary with Python DRF API]]></title>
            <link>https://blog.nonstopio.com/well-handling-of-cloudinary-with-python-drf-api-28271575e21f?source=rss-679e3b355c76------2</link>
            <guid isPermaLink="false">https://medium.com/p/28271575e21f</guid>
            <category><![CDATA[django-rest-framework]]></category>
            <category><![CDATA[cloudinary]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Sachin Dhumal]]></dc:creator>
            <pubDate>Wed, 10 Aug 2022 11:39:34 GMT</pubDate>
            <atom:updated>2022-08-10T11:39:34.588Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCbbjGHK9Trieb6MzfmCYw.png" /></figure><p>As a Backend developer, we know that it&#39;s not a good idea to store all images, documents, or sometimes videos in the database because it will increase the cost of the server and also affect the performance, so it is always a good idea to store your media files or documents on the cloud. You need not worry about the hardware and maintenance part of your cloud. this means most of the unpleasant burdens of installing, maintaining, backing up, planning/testing disaster recovery, etc. all become <em>somebody else’s problem.</em></p><p>In the simplest case, a cloud database is managed by a provider who assumes responsibility for the hardware, software, maintenance, support staff, etc. Users can simply connect and work with it. A wide range of such services are available.</p><p>So in this blog, we are going to discuss and implement one of the most used, affordable, and easy cloud services which is <strong>Cloudinary</strong> and we will also see how to use Cloudinary with<strong> Python DRF.</strong></p><p>I recently used Cloudinary in one of the python projects and it was so good to experience so I thought it should share with all of you, believe me, it’s easy and straightforward like other PiPs in python, so let’s begin.</p><h4>Prerequisites</h4><ul><li>Python3 Should be installed on your machine</li><li>You should have basic knowledge of Python Django it will help you to more understand</li><li>And obviously, you should have registered an account on Cloudinary</li></ul><p><strong><em>Let&#39;s Start with the installation and configuration</em></strong></p><p>install Django using the following command:</p><pre><em>$ pip install django</em></pre><p>Install the Cloudinary module using the following command:</p><pre><em>$ pip install cloudinary</em></pre><p>Let’s Create Django project <em>cloudinaryproj</em> by using the following command</p><pre><em>$ django-admin startproject cloudinaryproj</em></pre><p><em>Create Django App by Using Fallowing command</em></p><pre><em>$ django-admin startapp cloudinaryapp</em></pre><p><em>Let’s add our app to the list of installed apps. Navigate to the </em><strong><em>cloudinaryproj</em></strong><em> directory and edit the </em>settings.py <em>file. Add your app name to it</em></p><pre>INSTALLED_APPS = [<br>    &#39;django.contrib.admin&#39;,<br>    &#39;django.contrib.auth&#39;,<br>    &#39;django.contrib.contenttypes&#39;,<br>    &#39;django.contrib.sessions&#39;,<br>    &#39;django.contrib.messages&#39;,<br>    &#39;django.contrib.staticfiles&#39;,<br>    &#39;<em>cloudinaryapp</em>&#39;<br>    ]</pre><p><em>Now go the </em><a href="https://cloudinary.com/"><em>https://cloudinary.com/</em></a><em> login to your account after that from Cloudinary Dashboard you will get </em>cloud_name<em>, </em>api_key<em>, and </em>api_secret<em> copy these all the values and add in </em><strong><em>cloudinaryproj/</em></strong>settings.py as fallow</p><pre># adding config<br>cloudinary.config( <br>  cloud_name = &quot;YOUR_CLOUD_NAME&quot;, <br>  api_key = &quot;YOUR_API_KEY&quot;, <br>  api_secret = &quot;YOUR_API_SECRET&quot; <br>)</pre><pre># don’t forget to add <em>import cloudinary</em> in settings.py</pre><p>Then we will create one model/table to store the <strong>url</strong> and uploaded_date in database add fallowing code in</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/25917a332e776b516f33cf50a407ff82/href">https://medium.com/media/25917a332e776b516f33cf50a407ff82/href</a></iframe><p>Now, let’s migrate our model to the database by running the commands below:</p><pre># migrating the app and database changes<br>$ python manage.py makemigrations</pre><pre># final migrations<br>$ python manage.py migrate</pre><p>A superuser has the permissions to create, edit, update, and delete data in Django admin. We create a superuser by running the command below:</p><pre>$ python manage.py createsuperuser</pre><p>Now let’s register the model of <em>FileRecord </em>in the admin.py file, so we can modify it in the Django admin section.</p><pre>from django.contrib import admin<br>from .models import  <em>FileRecord</em></pre><pre>admin.site.register(<em>FileRecord</em>)</pre><p><em>Now, we can log in to the admin page.</em></p><p>To login to the admin section, go to this link localhost:8000/admin and log in with our just created superuser details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*B4uodp0E49dD5LePOaJe8Q.png" /></figure><p><em>after login, you will see the model you created</em></p><p><em>Now we will create Python DRF APIs to handle the culinary operation, these APIs will be created in cloudinaryapp/views.py</em></p><p><em>following is the code to create API</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e982f67efeefdc7dfb62f7e560c0923e/href">https://medium.com/media/e982f67efeefdc7dfb62f7e560c0923e/href</a></iframe><p>In the above code, we created an API in CloudinaryViewset class which is inherited from ModelViewset so we can use all the DRF methods by default but here I override some default methods like update, create, list and return 404 so it will get not called, I override create() method also and create my own API <em>uploading </em>by using post method, so here we have to just pass the file which you want to upload in Cloudinary and it will upload in Cloudinary.</p><p>we are also using serializer_class to get and set the response in the form JSON, I made one serialzer.py file in <em>cloudinaryapp directory, and the following</em> is the code for serializer</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/478dc7fc90c8ffd5ab071029453ade78/href">https://medium.com/media/478dc7fc90c8ffd5ab071029453ade78/href</a></iframe><p>To Call the above APIs here we are using the <strong><em>Postman </em></strong>tool, so need to install the postman too on your machine, following are steps to run API in postman</p><p>Firstly we will call the POST method to upload the file<br>* Add your request URL API in postman choose POST method from the left side in the body tab add ‘file’ in <strong>Key</strong> Column and choose the <strong>file</strong> option from the drop-down of key column to choose the file or image which you want to upload and press on <strong>send</strong> button and your file will be uploaded on Cloudinary and you will get a response in postman as fallow</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mesA8PwH1sPB-DOdBBRlKQ.png" /></figure><p>As above you can also call GET and DELETE methods also.</p><p>Thank You For Reading My Story.</p><blockquote>Here to make the community stronger by sharing our knowledge. <a href="https://medium.com/@sachin.dhumal">Fallow me</a> and <a href="https://medium.com/nonstopio">my team</a> to stay updated on the latest and greatest in the web &amp; mobile tech world.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28271575e21f" width="1" height="1" alt=""><hr><p><a href="https://blog.nonstopio.com/well-handling-of-cloudinary-with-python-drf-api-28271575e21f">Well Handling Of Cloudinary with Python DRF API</a> was originally published in <a href="https://blog.nonstopio.com/">nonstopio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>