<?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"><channel><title><![CDATA[Ayushi Rawat - The official blog of Ayushi Rawat]]></title><description><![CDATA[I am a Software Developer and a YouTuber who likes to write Technical Blogs and contribute to Open Source.
The Blog content will be mostly about Technical guide and my recent learnings and experience.]]></description><link>https://ayushirawat.com</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 23:53:38 GMT</lastBuildDate><atom:link href="https://ayushirawat.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Beginner's guide to Hacktoberfest 2021]]></title><description><![CDATA[Hi there,
Buckle up folks, Hacktoberfest is round the corner and registrations are now open. Hacktoberfest will be hosted by Digital Ocean for the 8th year in a row in partnership with GitHub and other companies, yes you read it right. In this articl...]]></description><link>https://ayushirawat.com/beginners-guide-to-hacktoberfest-2021</link><guid isPermaLink="true">https://ayushirawat.com/beginners-guide-to-hacktoberfest-2021</guid><category><![CDATA[#hacktoberfest ]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Thu, 30 Sep 2021 04:52:49 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1632976797875/8W2PQcsdd.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hi there,</p>
<p>Buckle up folks, Hacktoberfest is round the corner and registrations are now open. Hacktoberfest will be hosted by Digital Ocean for the 8th year in a row in partnership with GitHub and other companies, yes you read it right. In this article, I will share, how to participate in Hacktoberfest 2021 and other important details that you must know before you start contributing. </p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=xBPFzXa9Fio">https://www.youtube.com/watch?v=xBPFzXa9Fio</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> Hacktoberfest?
<span class="hljs-number">2.</span> How does it work? 
<span class="hljs-number">3.</span> How can you Join?
<span class="hljs-number">4.</span> When can you join
<span class="hljs-number">5.</span> How to earn a Swag kit?
<span class="hljs-number">6.</span> Rules
<span class="hljs-number">7.</span> What <span class="hljs-keyword">not</span> to do!
<span class="hljs-number">8.</span> FAQs
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-hacktoberfest">What is Hacktoberfest ?</h2>
<p>Hacktoberfest is a month-long challenge. It happens every year in the month of October. </p>
<p>Hacktoberfest is open to everyone and it marks the celebration of Open Source. It's the biggest Open Source event that encourages newbies to participate in Open Source and create their 1st meaningful PR. </p>
<p>If you wish to know about it in detail, you can refer to this video, where I have covered everything. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=N7mCkGjX6vk">https://www.youtube.com/watch?v=N7mCkGjX6vk</a></div>
<h2 id="how-does-it-work">How does it work?</h2>
<ul>
<li>Maintainers determine if their open-source projects participate.</li>
<li><a target="_blank" href="https://hacktoberfest.digitalocean.com/resources/qualitystandards">Quality pull requests</a> submitted on GitHub and GitLab are rewarded.</li>
<li><a target="_blank" href="https://hacktoberfest.digitalocean.com/resources/maintainers">Engaged maintenance</a> of Hacktoberfest tagged repositories are rewarded.</li>
</ul>
<h2 id="how-can-you-join">How can you Join?</h2>
<h3 id="step-1">Step - 1:</h3>
<p>Create a GitHub account, if you don't already have one. Need help? Here are some resources to help you set up your GitHub account:</p>
<ul>
<li>https://ayushirawat.com/what-is-git-and-github-or-git-vs-github</li>
<li>https://www.youtube.com/playlist?list=PLjaO05BrsbIPUT76gpBmUxV7YSPWFephT</li>
<li>https://www.youtube.com/playlist?list=PLseEp7p6EwiZgLPknY4ITJxfoo75wqxph</li>
</ul>
<h3 id="step-2">Step - 2:</h3>
<p><strong>Register for Hacktoberfest</strong>: Navigate to <a target="_blank" href="https://hacktoberfest.digitalocean.com/register">the Hacktoberfest registration page</a> and follow the instructions. But, read the rules carefully before you do and then sign In using your GitHub credentials.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632976938514/zzAIWsuXz.png" alt="hacktoberfest-register.png" /></p>
<h3 id="step-3">Step - 3:</h3>
<p>Find good projects worth contributing on the GitHub page. You can type <strong>label:hactoberfest is:issue is:open</strong></p>
<ul>
<li>You can add a language label of your choice to filter open issues. If you are a beginner and can’t find good issues then there’s tag label:good first issue which filters out issues for beginners who want to contribute.</li>
</ul>
<p>Here's something beginner-friendly for you:</p>
<ul>
<li>https://www.firsttimersonly.com/</li>
<li>https://github.com/mungell/awesome-for-beginners</li>
</ul>
<h3 id="step-4">Step - 4:</h3>
<p><strong>Submit PRs:</strong> Try and submit at least 4 PRs and wait for it to be verified. Make sure to submit quality PRs.</p>
<h2 id="when-can-you-join">When can you join</h2>
<p>Registrations are now open but you can sign up anytime between October 1 and October 31 in any time zone. Just be sure to sign up on the official Hacktoberfest website for your pull requests to count.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632978391674/a-vDShPna.jpeg" alt="Screenshot_2.jpg" /></p>
<h2 id="how-to-earn-a-swag-kit">How to earn a Swag kit:</h2>
<p>For your PR to count it must be:</p>
<ul>
<li>Submitted in a public repo, AND the PR is labelled as <code>hacktoberfest-accepted</code> by a maintainer. or</li>
<li>Submitted in a repo labelled 'hacktoberfest' , AND Merged, OR Approved</li>
</ul>
<p>Also,</p>
<ul>
<li>You can opt not to receive a t-shirt and stickers and you can choose to have a tree planted in your name and help make Hacktoberfest 2021 more carbon neutral.</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632976964796/GucImZLwe.jpeg" alt="Screenshot_4.jpg" /></p>
<ul>
<li>Let's have a look at my swag kit from Hacktoberfest 2020. you get some awesome goodies which include A limited-edition T-shirt for <strong><em>FREE!\</em></strong> and some stickers.</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632976984107/UwLuWyFsW.jpeg" alt="500079800676_70652.jpg" /></p>
<p>  T-shirts are awarded on a first-come, first-serve basis to the first 55,000 participants who successfully completed the Hacktoberfest challenge. You will be receiving mail when you have completed the challenge. Further details will be provided with the mail itself.</p>
<p>  In past years, shirts have arrived in December or January, depending on how far you live from San Francisco. The Digital Ocean team should eventually contact you asking for your shirt size and shipping address. (Keep in mind they are shipping thousands of shirts so this process will take a while.) </p>
<p>  Don’t miss this opportunity. Start contributing to open source and get a limited edition T-shirt for Free! </p>
<p>  Refer <a target="_blank" href="https://hacktoberfestswaglist.com/">Hackoberfest website for more</a></p>
<p>  Got anything to add? mention in the comment box below and I will update the list.</p>
<h2 id="rules">Rules</h2>
<ul>
<li>Pull requests can be submitted to any opted-in repository on GitHub or GitLab.</li>
<li>The pull request must contain commits you made yourself.</li>
<li>If a maintainer reports your pull request as 'spam' or 'invalid', it will not be counted toward your participation in Hacktoberfest.</li>
<li>If a maintainer reports behaviour that’s not in line with the project’s code of conduct, you will be ineligible to participate.</li>
<li>To get a shirt, you must make four approved pull requests (PRs) on opted-in projects between October 1-31 in any time zone.</li>
<li>This year, the first 55,000 participants can earn a T-shirt.</li>
</ul>
<h2 id="what-not-to-do">What not to do!</h2>
<p>In line with Hacktoberfest value “quantity is fun, quality is key”, here are examples of the PRs that we consider to be low-quality contributions (which are discouraged):</p>
<ul>
<li>PRs that are automated (e.g. scripted opening PRs to remove whitespace/optimize images)</li>
<li>PRs that are disruptive (e.g. taking someone else’s branch/commits and making a PR)</li>
<li>PRs that are regarded by a project maintainer as a hindrance vs. helping</li>
<li>Something that’s clearly an attempt to simply +1 your PR count for October</li>
<li>Last but not least, one PR to fix a typo is fine. 5 PRs to remove stray whitespace… it’s not.</li>
</ul>
<h3 id="pro-tip"><strong>Pro tip:</strong></h3>
<p>  You can join the Hacktoberfest discord server to connect with the community and network with other open-source enthusiasts, ask questions and find projects. <a target="_blank" href="https://discord.com/invite/hacktoberfest">click the link to navigate</a> to the server.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632977018318/lU6GvIzh4.jpeg" alt="Screenshot_3.jpg" /></p>
<h2 id="faqs">FAQs</h2>
<p>Let's look at some FAQs:</p>
<p><strong>Q.*What if my pull requests aren’t accepted**</strong>?*</p>
<p>A: Even if your pull requests aren’t accepted, as long as you open at least 4 pull requests, you’ll earn the shirt.</p>
<p>Have more FAQs unanswered, <a target="_blank" href="https://hacktoberfest.digitalocean.com/faq">check the FAQ section for the same</a>. FAQs are divided into 6 categories:</p>
<ul>
<li>General</li>
<li>Rules</li>
<li>Events</li>
<li>Maintainers</li>
<li>Swag &amp; Shipping</li>
<li>Troubleshooting</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632977465473/gi-BeC7H-.jpeg" alt="Screenshot_1.jpg" /></p>
<p>You can also check out <a target="_blank" href="https://hacktoberfest.digitalocean.com/events">the list of ongoing events of Hacktoberfest 2021</a>. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632977481522/o16sae6Aj.jpeg" alt="Screenshot_8.jpg" /></p>
<p>Interested to hear about my Hacktoberfest experience of 2020? You wouldn't wanna miss it, so. stay tuned for my upcoming blog. </p>
<p>That's all for this article and with that, it's a wrap! I hope you found the article useful. Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h3 id="resources-and-credits">Resources &amp; Credits:</h3>
<ul>
<li>https://hacktoberfest.digitalocean.com/</li>
<li>https://hacktoberfestswaglist.com/</li>
<li>https://hacktoberfest.digitalocean.com/events</li>
<li>https://tree-nation.com/profile/digitalocean</li>
</ul>
<p>Happy Contributing, See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[What is Hacktoberfest? Hacktoberfest 101]]></title><description><![CDATA[Hello reader! 
Well, Hacktoberfest is something, you are gonna hear a lot about in the coming month.  
You can refer to my YouTube video Tutorial to see a working tutorial for better understanding and a step-by-step guide of the same. 
https://www.yo...]]></description><link>https://ayushirawat.com/what-is-hacktoberfest</link><guid isPermaLink="true">https://ayushirawat.com/what-is-hacktoberfest</guid><category><![CDATA[#hacktoberfest ]]></category><category><![CDATA[hackathon]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[General Programming]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Mon, 27 Sep 2021 03:45:30 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1632652128801/Q__QIBWr9.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p>Well, Hacktoberfest is something, you are gonna hear a lot about in the coming month.  </p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=N7mCkGjX6vk">https://www.youtube.com/watch?v=N7mCkGjX6vk</a></div>
<p>Hacktoberfest will be hosted by Digital Ocean for the 8th year in a row in partnership with GitHub and other companies, yes you read it right. What I personally love about it is that it bring developers with the same mindset together from all over the world.</p>
<p>So, what is Hacktoberfest after all? We will learn all about it in the next few minutes.</p>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> Open Source?
<span class="hljs-number">2.</span> What <span class="hljs-keyword">is</span> Hacktoberfest?
<span class="hljs-number">3.</span> Who can Join?
<span class="hljs-number">4.</span> PERKS of participating
<span class="hljs-number">5.</span> Global Stats <span class="hljs-keyword">for</span> Hacktoberfest <span class="hljs-number">2020</span>
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-open-source">What is Open Source?</h2>
<p>According to <a target="_blank" href="https://en.wikipedia.org/wiki/Open_source">Wikipedia</a>,</p>
<blockquote>
<p><strong>Open-source</strong> is source code that is made freely available for possible modification and redistribution. </p>
<p>When some source code is made Open source, it includes permission to use, modify, contribute to the existing source code. The use of the term originated with the software but has expanded beyond the software sector to collaboration and contribution.</p>
</blockquote>
<p>Open-source projects that are hosted in public repositories benefit from contributions made by the broader developer community and are typically managed through Git. </p>
<p>Now that you have a basic idea about Open Source, we can talk about Hacktoberfest.</p>
<h2 id="what-is-hacktoberfest">What is Hacktoberfest ?</h2>
<p>Hacktoberfest is a month-long challenge. It happens every year in the month of October. </p>
<p>Hacktoberfest is open to everyone and it marks the celebration of Open Source. It's the biggest Open Source event that encourages newbies to participate in Open Source and create their 1st meaningful PR. Hacktoberfest encourages participation in giving back to the open-source community by completing pull requests, participating in events, and donating to open source projects. Also, <strong>all backgrounds and skills levels are encouraged to complete the challenge.</strong></p>
<p>Of course, to participate, you must have a GitHub account first. New to GitHub? Check out my GitHub Blog and Playlist to learn more.</p>
<h2 id="who-can-join">Who can Join?</h2>
<blockquote>
<p>contributors: Anyone around the globe who desires to help drive the growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to participate.</p>
<p>maintainers: Anyone that runs an open-source project on GitHub or GitLab and desires help from the community to improve their project can join Hacktoberfest.</p>
<p>companies: Encourage people to contribute to your company’s repositories, organize community events, and engage internal employees.</p>
<p>event organizers: Create events to bring people together for mentorship and code collaborations, so even more people around the world help support open source!</p>
</blockquote>
<p><strong>Registration opens on September 28th</strong>, wondering how to participate and things you must know before participating, well I will cover that in my next blog.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632651865650/pBvTmWVSz.png" alt="twitter-card.png" /></p>
<h2 id="perks">PERKS:</h2>
<ul>
<li><p>You get to work with seniors from the community.</p>
</li>
<li><p>Be it your 1st PR or 10thth, you will always learn something new.</p>
</li>
<li><p>You get to be a part of the biggest Open Source event.</p>
</li>
<li><p>And of course, the swag kit. </p>
<p>let's have a look at my swag kit from Hacktoberfest 2020. you get some awesome goodies which include A limited-edition T-shirt for <strong><em>FREE!\</em></strong> and some stickers.</p>
<p>Got anything to add? mention in the comment box below and I will update the list.</p>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632651949552/4WIFPX51p.jpeg" alt="500079800676_70652.jpg" /></p>
<p>In my upcoming blog, I will share, how to participate in Hacktoberfest 2021 and other important details that you must know before contributing. </p>
<h3 id="lets-have-a-look-at-the-global-stats-for-hacktoberfest-2020-shall-we"><strong>let's have a look at the Global Stats for Hacktoberfest 2020, shall we?</strong></h3>
<ul>
<li>169, 886 Participants</li>
<li>116, 361 Participating Repositories</li>
<li>135 Represented Countries</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632651915275/mjYQnucE8.jpeg" alt="3.jpg" /></p>
<h3 id="pro-tip"><strong>Pro tip:</strong></h3>
<p>  You can join the Hacktoberfest discord server to connect with the community and network with other open-source enthusiasts, ask questions and find projects. <a target="_blank" href="https://discord.com/invite/hacktoberfest">click the link to navigate</a> to the server.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1632651904362/-rHM24YKV.png" alt="2.png" /></p>
<p>Interested to hear about my Hacktoberfest experience of 2020? You wouldn't wanna miss it, so. stay tuned for my upcoming blog. </p>
<p>That's all for this article and with that, it's a wrap! I hope you found the article useful. Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h3 id="resources">Resources:</h3>
<ul>
<li>https://hacktoberfest.digitalocean.com/</li>
</ul>
<p>Happy Contributing, See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[12 Python Tips & Tricks You must know]]></title><description><![CDATA[Hello reader! 
In this Blog post, I will share some useful code snippets and functions in Python. Give it a read. 
Let's get started!
1. Memory
The method getsizeof can be used to retrieve the size of any object. Here's an example of the same.
import...]]></description><link>https://ayushirawat.com/12-python-tips-and-tricks-you-must-know</link><guid isPermaLink="true">https://ayushirawat.com/12-python-tips-and-tricks-you-must-know</guid><category><![CDATA[Python]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Sun, 25 Jul 2021 09:10:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1627204139740/tLF6QgqYR.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p>In this Blog post, I will share some useful code snippets and functions in Python. Give it a read. </p>
<p><em>Let's get started!</em></p>
<h2 id="1-memory">1. Memory</h2>
<p>The method <code>getsizeof</code> can be used to retrieve the size of any object. Here's an example of the same.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> sys 
number = <span class="hljs-number">100</span> 

print(sys.getsizeof(number)) 
<span class="hljs-comment">#output: 28</span>
</code></pre>
<h2 id="2-swapping">2. Swapping</h2>
<p>The easiest way to swap values without any third variable. This is how you can do it.</p>
<pre><code class="lang-python">a, b = <span class="hljs-number">10</span>, <span class="hljs-number">20</span>
a, b = b, a

<span class="hljs-comment">#output:</span>
print(a) <span class="hljs-comment"># 20</span>
print(b) <span class="hljs-comment"># 10</span>
</code></pre>
<h2 id="3-anagrams">3. Anagrams</h2>
<p>An <em>anagram</em> is a play on words created by rearranging the letters of the original word to make a new word or phrase. we can sort the string values using <code>sorted</code> method, which does not modify the original string. Here's an example of the same.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">anagram</span>(<span class="hljs-params">first, second</span>):</span>
    <span class="hljs-keyword">return</span> sorted(first)== sorted(second)

res = anagram(<span class="hljs-string">'heart'</span>, <span class="hljs-string">'earth'</span>)
print(res) <span class="hljs-comment">#True</span>
</code></pre>
<h2 id="4-shuffle">4. Shuffle</h2>
<p>In order to shuffle the elements of a list, <code>shuffle</code> method from <code>random</code> module can be used. Check out the implementation of the same.</p>
<pre><code class="lang-python"><span class="hljs-keyword">from</span> random <span class="hljs-keyword">import</span> shuffle

my_list = [<span class="hljs-number">7</span>, <span class="hljs-number">23</span>, <span class="hljs-number">9</span>, <span class="hljs-number">35</span>]
shuffle(my_list) 

print(my_list) <span class="hljs-comment">#[35, 7, 9, 23]</span>
</code></pre>
<h2 id="5-palindrome">5. Palindrome</h2>
<p>A palindrome is a word, number, phrase, or other sequences of characters that reads the same backward as forward. The code snippet will check for palindrome strings.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">check_palindrome</span>(<span class="hljs-params">value</span>):</span>
    <span class="hljs-keyword">return</span> value == value[::<span class="hljs-number">-1</span>]

res = check_palindrome(<span class="hljs-string">'level'</span>)
print(res) <span class="hljs-comment">#True</span>
</code></pre>
<h2 id="6-running-time">6. Running Time</h2>
<p><code>time</code> module can be used to calculate the actual running time amongst other methods. Refer to the implementation of the same.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> time

start_time = time.time()

num1 = <span class="hljs-number">12</span>
num2 = <span class="hljs-number">15</span>
num3 = num1 * num2
print(num3) <span class="hljs-comment">#180</span>

end_time = time.time()

total_time = end_time - start_time
print(<span class="hljs-string">"Time: "</span>, total_time)

<span class="hljs-comment"># (Time: 0.0005068778991699219)</span>
</code></pre>
<h2 id="7-most-frequent">7. Most frequent</h2>
<p>The <code>max</code> method returns the most frequently occurring element of the list.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">most_frequent</span>(<span class="hljs-params">my_list</span>):</span>
    <span class="hljs-keyword">return</span> max(set(my_list), key = my_list.count)

nums = [<span class="hljs-number">7</span>,<span class="hljs-number">10</span>,<span class="hljs-number">50</span>,<span class="hljs-number">35</span>,<span class="hljs-number">10</span>,<span class="hljs-number">50</span>,<span class="hljs-number">29</span>,<span class="hljs-number">10</span>,<span class="hljs-number">10</span>,<span class="hljs-number">50</span>,<span class="hljs-number">4</span>,<span class="hljs-number">10</span>]

res = most_frequent(nums) 
print(res) <span class="hljs-comment">#10</span>
</code></pre>
<h2 id="8-fetch-vowels">8. Fetch Vowels</h2>
<p>Function to return all the vowels occurring in the given string.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">vowels</span>(<span class="hljs-params">string</span>):</span>
    <span class="hljs-keyword">return</span> [each <span class="hljs-keyword">for</span> each <span class="hljs-keyword">in</span> string <span class="hljs-keyword">if</span> each <span class="hljs-keyword">in</span> <span class="hljs-string">'aeiou'</span>] 

res = vowels(<span class="hljs-string">'youtube'</span>)
print(res)  <span class="hljs-comment"># ['o', 'u', 'u', 'e']</span>
</code></pre>
<h2 id="9-convert-lists-into-dictionary">9. Convert Lists into Dictionary</h2>
<p><code>zip</code> method with <code>dict</code> helps to convert two lists into a dictionary. Here's an example of the same.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">convert</span>(<span class="hljs-params">key, value</span>):</span>
    <span class="hljs-keyword">return</span> dict(zip(key, value))

key = [<span class="hljs-string">"apple"</span>, <span class="hljs-string">"mango"</span>, <span class="hljs-string">"banana"</span>]    
value = [<span class="hljs-number">10</span>, <span class="hljs-number">20</span>, <span class="hljs-number">30</span>]

print(convert(key, value))
<span class="hljs-comment">#Output: {'apple': 10, 'mango': 20, 'banana': 30}</span>
</code></pre>
<h2 id="10-print-a-string-k-times">10. Print a string k times</h2>
<p>The following code snippet will show you how to display a string k times.</p>
<pre><code class="lang-python">value =<span class="hljs-string">"Python"</span>; 
k = <span class="hljs-number">3</span>

print(value * k) <span class="hljs-comment">#PythonPythonPython</span>
</code></pre>
<h2 id="11-has-duplicates">11. Has duplicates</h2>
<p>The following function will return False if any duplicate is found in the given list.</p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">has_duplicates</span>(<span class="hljs-params">my_list</span>):</span>
    <span class="hljs-keyword">return</span> len(my_list) != len(set(my_list))

my_list = [<span class="hljs-number">7</span>,<span class="hljs-number">23</span>,<span class="hljs-number">45</span>,<span class="hljs-number">7</span>,<span class="hljs-number">10</span>,<span class="hljs-number">23</span>,<span class="hljs-number">93</span>]

res = has_duplicates(my_list) 
print(res) <span class="hljs-comment">#True</span>
</code></pre>
<h2 id="12-chained-comparison">12. Chained Comparison</h2>
<p>In order to perform multiple comparisons in a single line, a chained comparison can be used.</p>
<pre><code class="lang-python">num1 = <span class="hljs-number">27</span>
num2 = <span class="hljs-number">45</span>

print(<span class="hljs-number">27</span> == num1 &lt; num2) <span class="hljs-comment">#True</span>
</code></pre>
<p>That's all for this Blog folks and with that, it's a wrap! I hope you found the article useful.</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[HTTP Status Codes that You must know]]></title><description><![CDATA[Hello reader! 
Whenever a client sends a request to the server, the response always contains a status code. You might not see it always but it's returned at every client-server interaction. Well, even if you are not a programmer, you would still know...]]></description><link>https://ayushirawat.com/http-status-codes-that-you-must-know</link><guid isPermaLink="true">https://ayushirawat.com/http-status-codes-that-you-must-know</guid><category><![CDATA[APIs]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[technology]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Wed, 14 Jul 2021 04:20:56 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1626235788751/g1TJihigu.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p>Whenever a client sends a request to the server, the response always contains a status code. You might not see it always but it's returned at every client-server interaction. Well, even if you are not a programmer, you would still know about the 404 Not Found error.</p>
<p>In this blog post, we will discuss all about HTTP and its response status codes. Consider this as a small cheat sheet, for your references, every time you encounter one.</p>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> HTTP?
<span class="hljs-number">2.</span> What <span class="hljs-keyword">is</span> Status code?
<span class="hljs-number">3.</span> <span class="hljs-number">1</span>XX - Informational codes
<span class="hljs-number">4.</span> <span class="hljs-number">2</span>XX - Success codes
<span class="hljs-number">5.</span> <span class="hljs-number">3</span>XX - Redirection codes
<span class="hljs-number">6.</span> <span class="hljs-number">4</span>XX - Client error codes 
<span class="hljs-number">7.</span> <span class="hljs-number">5</span>XX - Server error codes
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-http">What is HTTP?</h2>
<p>HTTP which stands for <strong>Hypertext Transfer Protocol</strong>. According to the Wikipedia definition:</p>
<blockquote>
<p>The Hypertext Transfer Protocol is an application layer protocol for distributed, collaborative, hypermedia information systems.</p>
</blockquote>
<p>HTTP is a client-server protocol, acts as the foundation of any data exchange on the Web. Each interaction between the client and server is called a message. HTTP messages are requests or responses. Client devices submit HTTP requests to servers, which reply by sending HTTP responses back to the clients.</p>
<h2 id="what-is-status-code">What is Status code?</h2>
<p>At every client request, the server responds with a code that helps to communicate the status of the request. It is a quick way to inspect if the request was successful or not without investing in the response body. </p>
<p>These codes are formed by three numbers indicating the status of a web element. There are basically five standard groups in which status codes are divided and they can be identified by the first digit of the code. They are as follows:</p>
<ol>
<li><strong>1XX - Informational codes</strong> </li>
<li><strong>2XX - Success codes</strong> </li>
<li><strong>3XX - Redirection codes</strong> </li>
<li><strong>4XX - Client error codes</strong> </li>
<li><strong>5XX - Server error codes</strong></li>
</ol>
<p>Let's have a look at each group briefly and discuss the most common status codes.</p>
<h2 id="1xx-informational-response">1XX - Informational Response</h2>
<p>An informational response indicates that the request was received and understood. It is issued on a provisional basis while request processing continues. </p>
<p><strong>100 - Continue:</strong> The server has received the request headers and the client should proceed to send the request body. It states that the client request is good and processing.</p>
<p><strong>101 - Switching Protocols</strong>: The requester has asked the server to switch protocols and the server has agreed to switch. Basically, the request may involve file operations, requiring a long time to complete the request.</p>
<p><strong>102 - Processing</strong>: This code indicates that the server has received and is processing the request, but no response is available yet.</p>
<p><strong>103 - Early Hints</strong>: Used to return some response headers before final HTTP message.</p>
<h2 id="2xx-success">2XX - Success</h2>
<p>This class of status codes indicates the action requested by the client was received, understood, and accepted.</p>
<p><strong>200 - OK: </strong>Standard response for successful HTTP requests. Everything's normal and the requested resource has been returned through the message body.</p>
<p><strong>201 - Created: </strong>The request has been fulfilled, resulting in the creation of a new resource and the server has acknowledged it. </p>
<p><strong>202 - Accepted:</strong> This code indicates that the server has received and is processing the request, but no response is available yet.</p>
<p><strong>204 - No Content:</strong> The server successfully processed the request, and is not returning any content. Generally, the PUT method is used for a 204 response.</p>
<h2 id="3xx-redirection">3XX - Redirection</h2>
<p>This group of status code indicates that the client must take additional action to complete the request.</p>
<p><strong>301 - Moved Permanently</strong>: This indicates that the URL has been moved once and for all. This is used to inform the browser that the requested file has been moved and can be used to redirect from a page that is no longer in existence.</p>
<p><strong>305 - Use Proxy</strong>: The requested resource is available only through a proxy, the address for which is provided in the response.</p>
<p><strong>307 - Temporary Redirect</strong>: In this scenario, the response code indicates that the requested resource has been temporarily moved to another URI. however, future requests should still use the original URI.</p>
<h2 id="4xx-client-errors">4XX - Client errors</h2>
<p>This class of status code is intended for situations in which the error seems to have been caused by the client.</p>
<p><strong>400 - Bad Request</strong>: The server cannot or will not process the request due to wrong syntax causing an error.</p>
<p><strong>401 - Unauthorized</strong>: Response is similar to <em>403 Forbidden</em>, but specifically for use when authentication is required and has failed or has not yet been provided. The requested file can be a protected one.</p>
<p><strong>403 - Forbidden</strong>: The request contained valid data and was understood by the server, but the server is refusing action. It's possible that the server might not have permission to share the file with the client.</p>
<p><strong>404 - Not Found</strong>: The requested resource could not be found or does not exist but may be available in the future.</p>
<p><strong>405 - Method Not Allowed:</strong> A request method is not supported for the requested resource; eg, a PUT request on a read-only resource.</p>
<p><strong>414 URI Too Long</strong>: The URI provided was too long for the server to process as a result of too much data being encoded as a query string of a GET request.</p>
<p><strong>429 Too Many Requests</strong>: The user has sent too many requests in a given amount of time, helps increase the security.</p>
<h2 id="5xx-server-errors">5XX - Server errors</h2>
<p>You can encounter a server error when the client has raised a valid request, The server failed to fulfill the request.</p>
<p><strong>500 - Internal Server Error</strong>: An error message, displayed when an unexpected situation was encountered that does not match any other class errors.</p>
<p><strong>501 - Not Implemented</strong>: The server either does not recognize the request method, or it lacks the ability to fulfill the request.</p>
<p><strong>502 - Bad Gateway</strong>: The server acts as a gateway and received an invalid response from the server while making the request.</p>
<p><strong>503 - Service Unavailable</strong>: The server cannot handle the request because it is overloaded or down for maintenance.</p>
<p>That's all for this article and with that, it's a wrap! I hope you found the article useful. Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h3 id="resources">Resources:</h3>
<ul>
<li>https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol</li>
<li>https://en.wikipedia.org/wiki/List_of_HTTP_status_codes</li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[GitHub Copilot: All you need to know]]></title><description><![CDATA[Hello reader! 
Microsoft subsidiary GitHub launched Copilot to power pair programming with AI. In this blog post, I will share all you need to know about it.
You can refer to my YouTube video Tutorial to see a working tutorial for better understandin...]]></description><link>https://ayushirawat.com/github-copilot-all-you-need-to-know</link><guid isPermaLink="true">https://ayushirawat.com/github-copilot-all-you-need-to-know</guid><category><![CDATA[Git]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 09 Jul 2021 06:51:03 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813162473/yhHx54Lzr.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p>Microsoft subsidiary GitHub launched Copilot to power pair programming with AI. In this blog post, I will share all you need to know about it.</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=RZmp6IPN0xw">https://www.youtube.com/watch?v=RZmp6IPN0xw</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> GitHub Copilot?
<span class="hljs-number">2.</span> How does GitHub Copilot work?
<span class="hljs-number">3.</span> How good <span class="hljs-keyword">is</span> GitHub Copilot?
<span class="hljs-number">4.</span> Does GitHub Copilot write perfect code?
<span class="hljs-number">5.</span> Will your private code be shared <span class="hljs-keyword">with</span> other users?
<span class="hljs-number">6.</span> Availability
<span class="hljs-number">7.</span> How can You contribute?
<span class="hljs-number">8.</span> Ownership
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-github-copilot">What is GitHub Copilot?</h2>
<p>GitHub Copilot is an AI pair programmer. GitHub Copilot is powered by a new AI system developed by OpenAI Codex and is coming soon to Visual Studio Code. It aims to help Programmers code faster. It basically draws context from the code you’re working on, suggesting whole lines or entire functions.</p>
<p>OpenAI Codex has a broad knowledge of how people use code and is significantly more capable than GPT-3 in code generation</p>
<h2 id="how-does-github-copilot-work">How does GitHub Copilot work?</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813279327/aoeDJjsCS.png" alt="github_copilot.png" />
It can suggest complete lines of code or entire functions by analyzing how you code. GitHub Copilot can assemble code from user comments and predicts your code by just reading the function name you have declared. It allows you to cycle through alternative suggestions and manually edit the suggested code. It autofill repetitive code, or create unit tests for your methods. </p>
<p>The GitHub Copilot editor extension sends your comments and code to the GitHub Copilot service, which then uses OpenAI Codex to synthesize and suggest code. it actually works by reading through all the open-source code on the GitHub repos worldwide and then collect the data and tries to find the best possible code related to it! It is said to work great with repetitive code patterns so users can let it generate the rest of the code. The AI assistant can also help you learn a new programming language.</p>
<h2 id="how-good-is-github-copilot">How good is GitHub Copilot?</h2>
<p>The technology is truly promising.</p>
<blockquote>
<p>Copilot helps developers to quickly discover alternative ways to solve problems, write tests, and explore new APIs without having to tediously tailor a search for answers on sites like Stack Overflow and across the internet,</p>
</blockquote>
<p>says Friedman.</p>
<p>It said to have been tested against a set of Python functions that have good test coverage in open source repos by blanking out the function bodies and asked GitHub Copilot to fill them in. The model got this right 43% of the time on the first try, and 57% of the time when allowed 10 attempts. And it’s getting smarter all the time.</p>
<h2 id="does-github-copilot-write-perfect-code">Does GitHub Copilot write perfect code?</h2>
<p>No. GitHub Copilot tries to understand your intent and to generate the best code it can, but the code it suggests may not always work or even make sense. “GitHub Copilot draws context from the code you’re working on, suggesting whole lines or entire functions,” GitHub CEO <a target="_blank" href="https://www.linkedin.com/in/natfriedman/">Nat Friedman</a> explained in a <a target="_blank" href="https://github.blog/2021-06-29-introducing-github-copilot-ai-pair-programmer/">blog post</a> introducing the technology. The algorithm consistently improves by recording whether each suggestion is accepted or not. </p>
<p>In order to make the most out of it, it is suggested to divide the code into smaller functions, provide meaningful function names, parameters, and docstrings.</p>
<h2 id="will-your-private-code-be-shared-with-other-users">Will your private code be shared with other users?</h2>
<p>No. They claim to use telemetry data, including information about which suggestions users accept or reject, to improve the model. </p>
<h2 id="availability">Availability</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813310374/II2ZmUf4t.png" alt="Screenshot_5.png" /></p>
<p>For now, GitHub Copilot will only be made available to use in Visual Studio Code and the access is limited to a small group of testers. The preview version is available for free. The preview version is already installed by 88,783 coders.</p>
<p>The technical preview works well for Python, JavaScript, TypeScript, Ruby and Go but the final version will work with a broader set of frameworks and languages. It will be used to learn how people use GitHub Copilot and what it takes to operate it at scale. </p>
<h2 id="how-can-you-contribute">How can You contribute?</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813391060/lqBeVXx5J.png" alt="Screenshot_3.png" /></p>
<p>The best way to contribute is to sign up for the technical preview. Access is limited to a small group of testers during the technical preview of GitHub Copilot, so you can Join the GitHub Copilot waitlist <a target="_blank" href="https://github.com/features/copilot/signup">here</a>.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813408515/r46S2eERc.png" alt="Screenshot_4.png" /></p>
<p>You only need to answer a simple question regarding how often do you use Visual Studio Code, accept the terms and conditions and you are good to go. The number of spots for the technical preview is limited, so sign up today!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625813417991/4vZWq1PI-.png" alt="Screenshot_2.png" /></p>
<p>GitHub states that the current preview phase is restricted because of the “state-of-the-art AI hardware” required for the project. Once the free preview phase is over, the company plans to build a commercial version, which should be “available as broadly as possible”. </p>
<p>About sharing code snippets on Social media, GitHub says:</p>
<blockquote>
<p>Please use <a target="_blank" href="https://twitter.com/hashtag/GitHubCopilot">#GitHubCopilot</a> when you post so we can see what you produce!</p>
</blockquote>
<h2 id="ownership">Ownership</h2>
<p>GitHub assigns rights to the person writing the code, so the user becomes responsible for the suggestions it generates and code created with Copilot. It belongs to you, and you obtain the sole ownership of the code.</p>
<h2 id="will-github-copilot-affect-developer-jobs">Will GitHub Copilot affect developer jobs?</h2>
<p> <a target="_blank" href="https://copilot.github.com/">Copilot</a> autocompletes code snippets, suggests new lines of code, and can even write whole functions based on the description provided. It adapts to the way you write code and helps you complete the work faster. The technology will enable existing engineers to be more productive, reducing manual tasks and helping them focus on interesting work. It only suggests a piece of code, it still needs to be reviewed and tested manually like you normally do with every other code. </p>
<p>It is very interesting to observe how events will now unfold and what the future holds for us but regardless, I do not think that it will replace developer jobs anytime soon. What do you think of this? Share your thoughts in the comment box below.</p>
<p>That's it. And with that, it's a wrap! I hope you found the article useful.</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h3 id="resources">Resources:</h3>
<ul>
<li>https://copilot.github.com/</li>
<li>https://marketplace.visualstudio.com/items?itemName=GitHub.copilot</li>
<li>https://github.blog/2021-06-29-introducing-github-copilot-ai-pair-programmer/</li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[What is an API? API-101]]></title><description><![CDATA[Hello reader! In this blog post, we will learn about API in plain English.
You can refer to my YouTube video Tutorial to see a working tutorial for better understanding and a step-by-step guide of the same. 
https://www.youtube.com/watch?v=NHVQiDDZ5T...]]></description><link>https://ayushirawat.com/what-is-an-api-api-101</link><guid isPermaLink="true">https://ayushirawat.com/what-is-an-api-api-101</guid><category><![CDATA[APIs]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Explain like I am five]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Sat, 03 Jul 2021 13:58:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1625319944556/UDAPXxT7O.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! In this blog post, we will learn about API in plain English.</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=NHVQiDDZ5TA">https://www.youtube.com/watch?v=NHVQiDDZ5TA</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span>    What <span class="hljs-keyword">is</span> an API?
<span class="hljs-number">2.</span>    What <span class="hljs-keyword">is</span> API endpoint?
<span class="hljs-number">3.</span>    What are API functionalities?
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-an-api">What is an API?</h2>
<p><strong>API</strong> stands for <em>Application Programming Interface</em>. The Wikipedia definition reads:</p>
<blockquote>
<p>An <strong>API</strong> is a connection between <a target="_blank" href="https://en.wikipedia.org/wiki/Computer">computers</a> or between <a target="_blank" href="https://en.wikipedia.org/wiki/Computer_program">computer programs</a>. It is a type of software <a target="_blank" href="https://en.wikipedia.org/wiki/Interface_(computing">interface</a>), offering a service to other pieces of <a target="_blank" href="https://en.wikipedia.org/wiki/Software">software</a>.</p>
</blockquote>
<p>In layman's terms, API is a messenger. Let's understand this with a very famous non-programming example. </p>
<p>Say, you visit a restaurant, the waiter presents you with the menu card. You decide what you want to eat. It could be pizza, pasta or fries. The waiter takes down your order and then shares it with the chef. Once your food is ready, he delivers the meal right to you.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625320465148/U62U7ZQdf.png" alt="1.png" /></p>
<p>This is a very simple process. You do not have to worry about how the food will be prepared or any other thing that takes place inside the kitchen for that matter. Here, the waiter acts as an API. He is the link that establishes connectivity between you and the kitchen. </p>
<p>There are different types of APIs, which we will see in the next blog.</p>
<p>Now. let's look at a real-world example. Whenever you create a new account on an application, you get an option to signup with Facebook or Google. Ever wondered how that works?</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625320615665/e2n8vhuPy.png" alt="Screenshot_1.png" /></p>
<p>Well, Facebook and Google already have your inputs, so instead of performing the tedious task of capturing every user's information and verifying the credentials, the app accesses their database through the API to verify your credentials. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625320635703/YLyOw-qDg.png" alt="Screenshot_3.png" /></p>
<p>Another very famous example is a weather app. If you want to build one, you cannot physically go and capture the readings from all over the world. Instead, you can use a third-party API to fetch the weather details. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625320628707/jRmCsG5Q4.png" alt="Screenshot_2.png" /></p>
<h2 id="what-is-api-endpoint">What is API endpoint?:</h2>
<p>API sets the rules for communication. You do not know what happens at the backend or how it happens, you just interact with the API interface and get the job done.</p>
<p>In the case of the restaurant example, you do not know the food recipe or anything that goes inside the kitchen, you interact with the waiter and he establishes the connection between you and the kitchen so, in this scenario, the waiter is your API endpoint.</p>
<p>Well, this also opens doors to security theft. So for this very reason API uses API keys to add a protection layer. An API key is used for identification and authorization which is nothing but a security code, used to keep a track of the users. Being said that, not every API has a key. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1625320652141/S6huz5zuO.png" alt="Screenshot_4.png" /></p>
<p>In order to communicate with systems, there are certain protocols to be followed when using an API endpoint. APIs also have documentation for the same. </p>
<h2 id="api-functionalities">API functionalities:</h2>
<ol>
<li>Establishes a connection between computer systems and enables data accessibility.</li>
<li>Allows monitoring users and their activity.</li>
<li>Increased security.</li>
<li>Hide complexity by eliminating the 'How' factor. </li>
</ol>
<p>That's it. And with that, it's a wrap! I hope you found the article useful and now you can start building some projects with API!</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Build a Break Scheduler using Python]]></title><description><![CDATA[Hello reader! 
Working from home is the new normal. and It is a must to ensure a healthy work-life balance. You cannot just grab a laptop and keep working all day long, it will affect your health drastically.
Schedule your breaks, by far the way out....]]></description><link>https://ayushirawat.com/build-a-break-scheduler-using-python</link><guid isPermaLink="true">https://ayushirawat.com/build-a-break-scheduler-using-python</guid><category><![CDATA[Python]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[Career]]></category><category><![CDATA[General Advice]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 18 Jun 2021 10:52:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1623849186082/eCMeI5Zav.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p><strong>Working from home is the new normal</strong>. and It is a must to ensure a healthy work-life balance. You cannot just grab a laptop and keep working all day long, it will affect your health drastically.</p>
<p>Schedule your breaks, by far the way out. It works out well for me. In this blog post, we will learn how to build a <strong>breaks Scheduler.</strong> We will see the implementation in <strong>Python</strong>.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub</a></div>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=qF8QG7Fr1Vk">https://www.youtube.com/watch?v=qF8QG7Fr1Vk</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span>    Why breaks are important &amp; how to Utilize them?
<span class="hljs-number">2.</span>    What <span class="hljs-keyword">is</span> webbrowser Module
<span class="hljs-number">3.</span>    How to build a simple breaks Scheduler using Python.
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="why-breaks-are-important-and-how-to-utilize-them">Why breaks are important &amp; how to Utilize them?</h2>
<p>Working from home can be a tiring desk job. You need to take care of your mental health. Well you can schedule your breaks to</p>
<ul>
<li><p>Take small five minutes break every hour</p>
</li>
<li><p>Drink water frequently.</p>
</li>
<li><p>Stretch your muscles.</p>
</li>
<li><p>Prepare Tea/Coffee or any healthy drink and take a small walk for few minutes.</p>
</li>
<li><p>When you receive a non-work call, again do a little walk and talk.</p>
<p>How do you Utilize and plan your breaks?</p>
</li>
</ul>
<h2 id="module-used">Module Used:</h2>
<h3 id="webbrowser-module">webbrowser Module:</h3>
<p>The <a target="_blank" href="https://docs.python.org/3/library/webbrowser.html#module-webbrowser"><code>webbrowser</code></a> module provides a high-level interface to allow displaying Web-based documents to users. Under most circumstances, simply calling the <code>open()</code> function from this module will do the right thing. The script <strong>webbrowser</strong> can be used as a command-line interface for the module. It accepts a URL as the argument. </p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://docs.python.org/3/library/webbrowser.html#module-webbrowser"><strong>webbrowser Module</strong> Documentation</a>.</p>
<p>Now that you are familiar with <em>Why breaks are important &amp; how to Utilize them?</em> and have acquired basic knowledge of <em>webbrowser  module,</em> we can move forward to <em>the coding section.</em></p>
<h2 id="time-to-code">Time to Code!</h2>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Break%20Scheduler">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1624018042376/imPMoj2F9.png" alt="carbon.png" />
In order to access the Python library, we need to import the package into our python script. Use the following command to do so.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> time 
<span class="hljs-keyword">import</span> webbrowser

<span class="hljs-keyword">from</span> random <span class="hljs-keyword">import</span> choice
</code></pre>
<p>Now that we have imported the library using the command <code>import requests</code>, let's proceed.</p>
<p>Let's display a welcome message.</p>
<pre><code class="lang-python">print(<span class="hljs-string">"Initiating the Break Scheduler!"</span>)
</code></pre>
<p>Let's ask the user to input the number of breaks he wishes to take or since you are running the script for yourself, you can also hardcode the value.</p>
<pre><code class="lang-python">breaks = input(<span class="hljs-string">'input the number of times you wish to take break today! '</span>)
print(breaks)

<span class="hljs-comment">#breaks = 2</span>
</code></pre>
<p>Now, you can set the break interval according to your need. I am setting the break interval as every hour for now.</p>
<pre><code class="lang-python">gap = <span class="hljs-number">60</span>*<span class="hljs-number">60</span>
</code></pre>
<p>Initially let's set the counter as zero</p>
<pre><code class="lang-python">counter = <span class="hljs-number">0</span>
</code></pre>
<p>Now, let's define the URL, you wish to open in the interval</p>
<pre><code class="lang-python">url = <span class="hljs-string">"https://www.youtube.com/c/AyushiRawat"</span>
</code></pre>
<p>Let's make use of <code>random</code> module to display a random message at every break interval. Let's store the messages to be displayed in <code>messages</code> for the same.</p>
<pre><code class="lang-python">messages = [<span class="hljs-string">"Time for a break!"</span>, <span class="hljs-string">"Let's take a break!"</span>]
</code></pre>
<p>Our resultant data is stored in <code>res</code>. We will make use of the <code>text</code> method to extract our desired weather details and let's display the result.</p>
<p>Now, let's run a while loop until the counter becomes equal to the number of desired breaks.</p>
<pre><code class="lang-python"><span class="hljs-keyword">while</span>(counter &lt; breaks):
    time.sleep(gap)

    <span class="hljs-comment">#Let's print the break message</span>
    print(choice(messages))

    <span class="hljs-comment">#opening the browser window.</span>
    webbrowser.open(url)
</code></pre>
<p>We will introduce <code>sleep</code> here to schedule the breaks. A random message will be displayed on the screen and the URL will open automatically at every interval.</p>
<p>At last, let's increase the counter by one.</p>
<pre><code class="lang-python">counter += <span class="hljs-number">1</span>
</code></pre>
<p>And finally, let's display the termination message when the scripts end.</p>
<pre><code class="lang-python">print(<span class="hljs-string">"Terminating the Break Scheduler!"</span>)
</code></pre>
<p>That's it. That all we have to do to build a simple break scheduler. And with that, it's a wrap!  I hope you found the article useful! Share in the comments below.</p>
<p>I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h4 id="resources">Resources:</h4>
<ul>
<li>https://docs.python.org/3/library/webbrowser.html</li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Forecast Weather using Python]]></title><description><![CDATA[Hello reader! 
Weather is the mix of events that happen each day in our atmosphere and is different in different parts of the world and changes over minutes, hours, days, and weeks. Rain and dull clouds, windy blue skies, cold snow, and sticky heat a...]]></description><link>https://ayushirawat.com/forecast-weather-using-python</link><guid isPermaLink="true">https://ayushirawat.com/forecast-weather-using-python</guid><category><![CDATA[Python]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Python 3]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 11 Jun 2021 11:48:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1623386245678/XXVlVhNFI.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p><strong>Weather</strong> is the mix of events that happen each day in our atmosphere and is different in different parts of the world and changes over minutes, hours, days, and weeks. Rain and dull clouds, windy blue skies, cold snow, and sticky heat are very different conditions, yet they are all-weather. According to the Wikipedia definition:</p>
<blockquote>
<p><strong>Weather</strong> is the state of the atmosphere. </p>
</blockquote>
<p>In this blog post, we will learn how to forecast weather details. We will see the implementation in Python with hardly a few lines of code.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub</a></div>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=jAVVtOzQ5ww">https://www.youtube.com/watch?v=jAVVtOzQ5ww</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span>    What <span class="hljs-keyword">is</span> wttr?
<span class="hljs-number">2.</span>    What <span class="hljs-keyword">is</span> requests Module
<span class="hljs-number">3.</span>    How to forecast the weather using Python
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-wttr">What is wttr?</h2>
<blockquote>
<p>wttr — the right way to check the weather!</p>
</blockquote>
<p>wttr.in is a console-oriented weather forecast service that supports various information representation methods like terminal-oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget), HTML for web browsers, or PNG for graphical viewers.</p>
<p>wttr.in uses <a target="_blank" href="http://github.com/schachmat/wego">wego</a> for visualization and various data sources for weather forecast information.</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://github.com/chubin/wttr.in"><strong>wttr's</strong> GitHub Repo</a>.</p>
<h2 id="module-used">Module Used:</h2>
<h3 id="requests-module">requests Module:</h3>
<p><strong>Requests</strong> is a simple, yet elegant HTTP library. It allows you to send HTTP/1.1 requests extremely easily. Requests officially support Python 2.7 &amp; 3.5+.</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://docs.python-requests.org/en/master/"><strong>Requests Module</strong> Documentation</a>.</p>
<p>Now that you are familiar with <em>Requests Module</em> basics and have acquired basic knowledge of <em>wttr,</em> we can move forward to <em>the coding section.</em></p>
<h2 id="time-to-code">Time to Code!</h2>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Weather%20Forecast">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1623385811809/P3sI8iBxw.png" alt="carbon (1).png" />
In order to access the Python library, you need to install it into your Python environment</p>
<pre><code class="lang-python">pip install requests
</code></pre>
<p>Now, we need to import the package into our python script. Use the following command to do so.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> requests
</code></pre>
<p>Now that we have imported the library using the command <code>import requests</code>, let's proceed.</p>
<p>Let's ask the user to input the city name for which he/she wishes to fetch the weather details. </p>
<pre><code class="lang-python">city = input(<span class="hljs-string">'input the city name'</span>)
print(city)
</code></pre>
<p>You can also hard-code the value if you will only check for yourself.</p>
<pre><code class="lang-python">city = <span class="hljs-string">'bhopal'</span>
</code></pre>
<p>Now, let's display a simple message.</p>
<pre><code class="lang-python">print(<span class="hljs-string">'Displaying Weather report for: '</span> + city)

<span class="hljs-comment">#output:</span>
Displaying Weather report <span class="hljs-keyword">for</span>: bhopal
</code></pre>
<p>Let's define the URL, We will make use of <code>format</code> to pass city as a parameter here.</p>
<pre><code class="lang-python">url = <span class="hljs-string">'https://wttr.in/{}'</span>.format(city)
</code></pre>
<p>It's time to make use of the <code>requests</code> module.</p>
<pre><code class="lang-python">res = requests.get(url)
</code></pre>
<p>Our resultant data is stored in <code>res</code>. We will make use of the <code>text</code> method to extract our desired weather details and let's display the result.</p>
<pre><code class="lang-python">print(res.text)
</code></pre>
<p>This is how the Weather Forecast will look like:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1623385775384/Hf5_78w-f.png" alt="output.png" /></p>
<p>Isn't it beautiful? And with that, it's a wrap!  I hope you found the article useful! Share in the comments below.
I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<h4 id="resources">Resources:</h4>
<ul>
<li>https://scied.ucar.edu/learning-zone/how-weather-works/weather</li>
<li>https://en.wikipedia.org/wiki/Weather</li>
<li>https://github.com/chubin/wttr.in</li>
<li>https://pypi.org/project/requests/</li>
<li>https://docs.python-requests.org/en/master/</li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[What is Git and Github? | Git vs GitHub]]></title><description><![CDATA[Hello reader! 
If you are a programmer, you must have heard about Git and GitHub. This article will not contain any code, We will first get familiar with the interface I will try and explain to you the basics of theory and concepts in plain English t...]]></description><link>https://ayushirawat.com/what-is-git-and-github-or-git-vs-github</link><guid isPermaLink="true">https://ayushirawat.com/what-is-git-and-github-or-git-vs-github</guid><category><![CDATA[GitHub]]></category><category><![CDATA[Git]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Sat, 22 May 2021 15:05:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1621694774264/sYqyNNRTP.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello reader! </p>
<p>If you are a programmer, you must have heard about Git and GitHub. This article will not contain any code, We will first get familiar with the interface I will try and explain to you the basics of theory and concepts in plain English to help you get started with Git. This is the 1st article in the Git and GitHub series.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub</a></div>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=nWIAc-9EFdg">https://www.youtube.com/watch?v=nWIAc-9EFdg</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span>    What <span class="hljs-keyword">is</span> Version Control System <span class="hljs-keyword">and</span> its Types
<span class="hljs-number">2.</span>    What <span class="hljs-keyword">is</span> Git?
<span class="hljs-number">3.</span>    What <span class="hljs-keyword">is</span> GitHub?
<span class="hljs-number">4.</span>    And the difference between the two.
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-version-control-system">What is Version Control System?</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621695195611/fw0EMg5MC.png" alt="image.png" />
Before jumping in for git let’s understand what version control is.</p>
<ul>
<li>VCS or version control is a management system that tracks changes in a computer file. </li>
<li>It is a software tool that records and manages changes to the source code over a period of time. </li>
</ul>
<p>So imagine that you are working with your friend on a shared document and two of you are making changes in the file at the same time, what will happen? How will you track the change and mark the owner of the same? Or maybe you are working in a large team, how will you manage then? </p>
<ul>
<li>It helps developers to work efficiently. </li>
</ul>
<p>Consider another scenario, If you are working on a project and modify or update your code on a regular basis and on one specific day, you wish to rollback and revert files back to a previous state or revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more, a version control system can do this for you. </p>
<h2 id="types-of-version-control">Types of Version control</h2>
<p>So basically there are three major types of VCS. </p>
<ol>
<li>Local Version Control Systems</li>
<li>Centralized Version Control Systems</li>
<li>Distributed Version Control Systems</li>
</ol>
<p>We will not get into too much detail about this in this article. </p>
<h2 id="what-is-git">What is Git?</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621695218160/mjNxSKPe7.png" alt="image.png" />
There are various Version control system in the market but Git is one of the most popular amongst them. </p>
<ul>
<li>Git was originally developed in 2005 by the creator of Linux.</li>
<li>Git is free and open-source software so, anyone can use it.</li>
</ul>
<p>You cannot remember every change that you make, quite obvious, right? But what you can do is remember a simple command. </p>
<ul>
<li>Honestly, it has made our life easier as It keeps track of the entire history of things that you are working on and allows us to revert back to a previous version no matter how many times you have made changes to your file. </li>
<li>It has simplified the process of working with other people and encourages collaboration among developers and makes working in a team really easy. </li>
<li>Git widely used by various organizations, businesses, and even startups to manage their code, it lets you watch the entire timeline. We will study this in detail when we will learn how to set up, install and use GitHub in the next part of this series.</li>
</ul>
<h2 id="what-is-github">What is GitHub?</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621695234127/7hz0nlwSa.png" alt="image.png" />
GitHub is one of the most advanced and developed hosting platforms for version control and collaboration. It is a web-based service for version control using Git has all the benefits of git and even more.</p>
<p>I have explained the look and feel and an overview of GitHub in the video. check it out for a detailed explanation.</p>
<h2 id="are-git-and-github-the-same">Are Git and GitHub the same?</h2>
<p>No, Git and GitHub are not the same. </p>
<p>Git is a version control system that lets you manage and keep track of your source code and history whereas GitHub is a cloud-based hosting service that lets you manage git repositories.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621695068928/kp1Qu_lTo.png" alt="Brown and Orange Neutral Delicate Organic Fashion Marketing Presentation.png" /></p>
<p>That’s Git and GitHub in a nutshell. Do you have a GitHub account? Share the link below. And with that, it's a wrap!  I hope you found the article useful! Share in the comments below.
I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/run-javascript-from-python">Run Javascript from Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-whatsapp-using-python">Automate WhatsApp using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python">Automate Cowin Vaccine slots Availability using Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide">What is Competitive Programming</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Best Podcasts for Python]]></title><description><![CDATA[Hello, Reader!
More and more people are turning to podcasts to gain insights into new topics and conversations. Podcasts keep you informed on the latest programming news. So in this Top 5 series, I am going to tell you the top 5 Podcasts for python. ...]]></description><link>https://ayushirawat.com/best-podcasts-for-python</link><guid isPermaLink="true">https://ayushirawat.com/best-podcasts-for-python</guid><category><![CDATA[Python]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Sun, 16 May 2021 07:11:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1621148760992/uT7XRTGbZ.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, Reader!</p>
<p>More and more people are turning to podcasts to gain insights into new topics and conversations. Podcasts keep you informed on the latest programming news. So in this Top 5 series, I am going to tell you the top 5 Podcasts for python. </p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> for better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=jAOkWehMF6E">https://www.youtube.com/watch?v=jAOkWehMF6E</a></div>
<p><em>Let's get started!</em></p>
<h3 id="1-talk-python-to-me">1. Talk Python To Me</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621148924966/j4ZhPoRNAJ.png" alt="Screenshot_22.png" /></p>
<ul>
<li><p>Since Mar 2015</p>
</li>
<li><p>Hosted By: Michael Kennedy</p>
</li>
<li><strong>Twitter:</strong> https://twitter.com/TalkPython</li>
<li><p><strong>Podcast Link:</strong> https://talkpython.fm/</p>
</li>
<li><p>Talk Python to Me is a weekly podcast. </p>
</li>
<li><p>The show covers a wide array of Python topics as well as many related topics ( e.g. MongoDB, AngularJS, DevOps)</p>
</li>
<li><p>Each episode features a new industry expert, software developers, or data scientist. </p>
</li>
<li><p>The format is a casual 45-minute conversation with the guest.</p>
</li>
</ul>
<h3 id="2-the-real-python-podcast">2. The Real Python Podcast</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621148934044/qM3wHGYTE.png" alt="Screenshot_2.png" /></p>
<ul>
<li><p>Since 2012</p>
</li>
<li><p>Hosted By: Christopher Bailey</p>
</li>
<li><strong>Twitter Link:</strong> https://twitter.com/realpython</li>
<li><p><strong>Podcast Link:</strong> https://realpython.com/podcasts/rpp/</p>
</li>
<li><p>The Real Python Podcast is a weekly podcast.</p>
</li>
<li><p>It covers interviews, coding tips, and conversations with guests from the Python community.</p>
</li>
<li><p>The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics </p>
</li>
</ul>
<h3 id="3-podcastinit">3.   Podcast.__init</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621149016943/MiuOKokoI.png" alt="Screenshot_3.png" /></p>
<ul>
<li><p>Since 2015</p>
</li>
<li><p><strong>Hosted By:</strong> Tobias Macey</p>
</li>
<li><strong>Twitter Link:</strong> https://twitter.com/Podcast<strong>init</strong></li>
<li><p><strong>Podcast Link:</strong> https://www.pythonpodcast.com/</p>
</li>
<li><p>Podcast._<em>init</em> is a weekly podcast.</p>
</li>
<li><p>It provides useful and informative insights into the projects, platforms, and practices that engineers, business leaders, and data scientists need to know about to learn and grow in their careers. </p>
</li>
<li><p>You get diverse knowledge of important topics in every domain and edge cases of real-world scenarios. Each interview explores the motivations, challenges, and experiences behind the software that you use every day. </p>
</li>
<li><p>It brings you stories of the people that make the Python community great. </p>
</li>
</ul>
<h3 id="4-python-bytes">4. Python Bytes</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621149026583/nPCKLUctK.png" alt="Screenshot_4.png" /></p>
<ul>
<li><p>Since 2016</p>
</li>
<li><p>Hosted By: Michael Kennedy and Brian Okken</p>
</li>
<li><strong>Twitter Link:</strong> https://twitter.com/pythonbytes</li>
<li><p><strong>Podcast Link:</strong> https://pythonbytes.fm/</p>
</li>
<li><p>Python Bytes is weekly podcast series.</p>
</li>
<li><p>Python Bytes podcast delivers headlines directly to your earbuds. </p>
</li>
<li><p>The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.</p>
</li>
</ul>
<h3 id="5-teaching-python">5. Teaching Python</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621149035136/_JHYK4FYy.png" alt="Screenshot_5.png" /></p>
<ul>
<li><p>Since 2018</p>
</li>
<li><p>Hosted By: Kelly Paredes and Sean Tibor</p>
</li>
<li><strong>Twitter Link:</strong> https://twitter.com/teachingpython</li>
<li><p><strong>Podcast Link:</strong> https://www.teachingpython.fm/</p>
</li>
<li><p>is a podcast by two teachers about their adventures teaching middle school computer science, problem-solving, handling failure, frustration, and success with teaching python programming.</p>
</li>
</ul>
<h4 id="bonus-podcast">BONUS Podcast:</h4>
<h3 id="test-and-code">Test &amp; Code</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1621148939223/7BOTU3EJz.png" alt="Screenshot_6.png" /></p>
<ul>
<li><p>Since 2015</p>
</li>
<li><p>Hosted By: Brian Okken·     </p>
</li>
<li><strong>Twitter Link:</strong> https://twitter.com/testpodcast</li>
<li><p><strong>Podcast Link:</strong> https://testandcode.com/</p>
</li>
<li><p>Test &amp; Code is a weekly podcast</p>
</li>
<li><p>The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics.</p>
</li>
</ul>
<p>And with that, it's a wrap! I hope you found the article useful! Which one is your favorite Podcast? Share in comments below.
I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=jAOkWehMF6E">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Automate Cowin Vaccine slots Availability using Python]]></title><description><![CDATA[Hello Reader! 
I hope you all are safe and sound and at home. Do not step out of your house unless it’s absolutely necessary with proper precautions.
Coronavirus cases are increasing day by day. The second wave has hit very badly in many areas. It’s ...]]></description><link>https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python</link><guid isPermaLink="true">https://ayushirawat.com/automate-cowin-vaccine-slots-availablity-using-python</guid><category><![CDATA[Python]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Thu, 13 May 2021 17:57:16 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1620928403230/2sa5HUsfi.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello Reader! </p>
<p>I hope you all are safe and sound and at home. Do not step out of your house unless it’s absolutely necessary with proper precautions.</p>
<p>Coronavirus cases are increasing day by day. The second wave has hit very badly in many areas. It’s very important to get vaccinated. But, getting a slot seems next to impossible. Even I am not able to get my hands on one. So I was trying to think of a better idea possible and if you know me, you must know by now that I am a python freak, so I tried to automate the availability of the slot.</p>
<p>So in this blog post, I am going to tell you how you can automate the vaccine slots availability and get notified when a slot is available. We will see the implementation in python.</p>
<p>For your ease, you can use the code and it's available at my GitHub repository.  Spread this article as much as possible so that everyone can get notified about the availability of slots and we all can get vaccinated.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better understanding and a step-by-step guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=HrTQqSKWClE">https://www.youtube.com/watch?v=HrTQqSKWClE</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> Web Scraping?
<span class="hljs-number">2.</span> The Web-Scaping Process <span class="hljs-keyword">and</span> its Uses.
<span class="hljs-number">3.</span> What <span class="hljs-keyword">is</span> Coronavirus <span class="hljs-keyword">and</span> CoWin?
<span class="hljs-number">4.</span> How to Automate vaccine slots availability
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-web-scrapping"><strong>What is Web Scrapping?</strong>:</h2>
<h3 id="introduction"><strong>Introduction</strong></h3>
<p>If you’ve ever copy and pasted information from a website, you’ve performed the same function as any web scraper, only on a microscopic, manual scale.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620927483952/aZsYiKSmv.png" alt="image.png" />
<strong>Web scraping</strong>, also known as web data extraction, is the process of retrieving or “scraping” data from a website. This information is collected and then exported into a format that is more useful for the user. Be it a spreadsheet or an API.</p>
<p><strong>Two important points</strong> to be taken into consideration here:</p>
<ol>
<li>Always be respectful and try to get permission to scrape, do not bombard a website with scraping requests, otherwise, your IP address may get blocked!</li>
<li>Be aware that websites change often, meaning your code could go from working to totally broken from one day to the next.</li>
</ol>
<h3 id="the-process-three-simple-steps"><strong>The process: three simple steps</strong></h3>
<ol>
<li>Request for a response from the webpage</li>
<li>Parse and extract with the help of Beautiful soup and <code>lxml</code></li>
<li>Download and export the data with pandas into excel</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620927507127/6RR_Ifg0p.png" alt="image.png" /></p>
<h3 id="its-uses"><strong>Its Uses</strong>:</h3>
<p>It can serve several purposes, the most popular ones are Investment Decision Making, Competitor Monitoring, News Monitoring, Market Trend Analysis, Appraising Property Value, Estimating Rental Yields, Politics and Campaigns, and many more.</p>
<p>If you wish to know about it further. I am attaching the <a target="_blank" href="https://en.wikipedia.org/wiki/Web_scraping">Wikipedia</a> link here. You can have a look.</p>
<h2 id="what-is-coronavirus"><strong>What is Coronavirus?</strong></h2>
<p>I do not think <strong>Coronavirus</strong> needs an introduction, but just in case if someone does not know, Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus.</p>
<p>The COVID-19 virus spreads primarily through droplets of saliva or discharge from the nose when an infected person coughs or sneezes</p>
<p>If you wish to know about it further. I am attaching the <a target="_blank" href="https://en.wikipedia.org/wiki/Coronavirus">Wikipedia</a> link here. You can have a look.</p>
<h2 id="what-is-cowin"><strong>What is CoWin?</strong></h2>
<p>Under the universal immunization program, for several years, India has been using a vaccine intelligence system called eVIN (electronic vaccine intelligence network),  CoWIN is an extension of eVIN. CoWIN stands for Covid Vaccine Intelligence Work. </p>
<blockquote>
<p>it is the gateway to vaccination and the backbone of the vaccination drive.</p>
</blockquote>
<h2 id="the-data-source">The data source</h2>
<p>We will make use of the cowin official website. 
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620927620877/1pKYIYAkc.png" alt="image.png" /></p>
<h2 id="module-used">Module Used:</h2>
<h4 id="requests-module">requests Module:</h4>
<ul>
<li>Use the requests library to grab the page.</li>
<li>This may fail if you have a firewall blocking Python.</li>
<li>Sometimes you need to run this twice if it fails the first time.</li>
</ul>
<p>Now that you are familiar with <em>Coronavirus and CoWin</em> and have acquired basic knowledge of <em>Web Scrapping and requests module,</em> we can move forward to <em>the coding section.</em></p>
<h2 id="time-to-code">Time to Code!</h2>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/CoWin-Vaccine-Notifier">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620927692352/fMB_taYIQ.png" alt="carbon.png" /></p>
<p><em>Let's understand this!</em></p>
<p>In order to access the Python library, you need to install it into your Python environment</p>
<pre><code class="lang-python">pip install requests
</code></pre>
<p>Now, we need to import the package into our python script. Use the following command to do so.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> requests

<span class="hljs-keyword">from</span> datetime <span class="hljs-keyword">import</span> datetime, timedelta
<span class="hljs-keyword">import</span> time

<span class="hljs-keyword">import</span> json
</code></pre>
<p>Now that we have imported the libraries, let's proceed. </p>
<p>Let's display a welcome message. we will make use of <code>print</code> method for the same.</p>
<pre><code class="lang-python">print(<span class="hljs-string">"Starting search for Covid vaccine slots!"</span>)
</code></pre>
<p>Now, let's set some basic parameters,</p>
<pre><code class="lang-python">age = <span class="hljs-number">52</span>
pinCodes = [<span class="hljs-string">"462003"</span>]
print_flag = <span class="hljs-string">'Y'</span>
num_days = <span class="hljs-number">2</span>
</code></pre>
<ul>
<li>The Slots are available in two categories, Age 45+ and Age 18+. Let's proceed with <code>Age 45+</code> for now, you can set it according to your need.</li>
<li>You can perform the search based on <code>Pincode</code> or <code>District</code>. Since we are looking for the slots available nearby, I am making use of Pin-code. You can also pass multiple pin-codes, separated by <code>commans</code> in the list.</li>
<li>We only want to check for slots availability for the next two days for let's give<code>num_days</code>as <code>2</code> here.</li>
<li>Lastly, set the flag value to <code>y</code>.</li>
</ul>
<p>Now let's make use of <code>datetime</code> method to calculate today's date.</p>
<pre><code class="lang-python">actual = datetime.today()

<span class="hljs-comment">#output:</span>
<span class="hljs-number">2021</span><span class="hljs-number">-05</span><span class="hljs-number">-13</span> <span class="hljs-number">13</span>:<span class="hljs-number">35</span>:<span class="hljs-number">24.396612</span>
</code></pre>
<p>Now, run a loop to convert it into list format. We will make use of <code>timedelta</code> method to convert it into list format</p>
<pre><code class="lang-python">list_format = [actual + timedelta(days=i) <span class="hljs-keyword">for</span> i <span class="hljs-keyword">in</span> range(num_days)]

<span class="hljs-comment">#Output:</span>
[datetime.datetime(<span class="hljs-number">2021</span>, <span class="hljs-number">5</span>, <span class="hljs-number">13</span>, <span class="hljs-number">13</span>, <span class="hljs-number">39</span>, <span class="hljs-number">18</span>, <span class="hljs-number">496330</span>), datetime.datetime(<span class="hljs-number">2021</span>, <span class="hljs-number">5</span>, <span class="hljs-number">14</span>, <span class="hljs-number">13</span>, <span class="hljs-number">39</span>, <span class="hljs-number">18</span>, <span class="hljs-number">496330</span>)]
</code></pre>
<p>we will again run a loop to fetch the dates from the list and we will make use of <code>strftime</code> method to do so. Note that we are storing date in <code>date-month-year</code> format.</p>
<pre><code class="lang-python">actual_dates = [i.strftime(<span class="hljs-string">"%d-%m-%Y"</span>) <span class="hljs-keyword">for</span> i <span class="hljs-keyword">in</span> list_format]

<span class="hljs-comment">#Output:</span>
[<span class="hljs-string">'13-05-2021'</span>, <span class="hljs-string">'14-05-2021'</span>]
</code></pre>
<p>Next, we will run a while loop to fetch the details of the slots. Initially let's set the counter to zero.</p>
<p>Let's introduce two more loops here:</p>
<ul>
<li>one in order to fetch details for each pin-code.</li>
<li>second in order to fetch details for each date in the given pin-code.</li>
</ul>
<p>Now in order to get requests, let's define the URL.</p>
<pre><code class="lang-python">URL = <span class="hljs-string">"https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByPin?pincode={}&amp;date={}"</span>.format(pinCode, given_date)
</code></pre>
<p>If you observe, I have added parameters in the URL itself using string formatting. We are passing in two parameters here, <code>pincode</code> and <code>date</code>.  Every time the inner loop runs, this URL will be called and the respective date and pin-code will be passed as arguments for each case.</p>
<p>Now, in order to get the request, let's define the <code>header</code>.</p>
<pre><code class="lang-python">header = {<span class="hljs-string">'User-Agent'</span>: <span class="hljs-string">'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36'</span>}
</code></pre>
<p>Once done, let's call <code>requests</code> and we will make use of <code>get</code> method.</p>
<pre><code class="lang-python">result = requests.get( URL, headers=header)
</code></pre>
<p>Now, our response is stored in the result. Let's try printing it out. We will make use of <code>text</code> method for the same.</p>
<pre><code class="lang-python">print(result.text)

<span class="hljs-comment">#OUTPUT:</span>

{<span class="hljs-string">"centers"</span>:[{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">691508</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"Navin Girls HSS Tulsi Nagar 18"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"1250 Tulsi Nagar HOSPITAL"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"b63ce111-23dd-4d4e-9f1c-c97073c57a52"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">18</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">570554</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"SAHTI Vaishali Kotra 
KNK"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Govt. Higher Sec. Kamla Nehru Girls School Teenshed TT Nagar"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"93144388-6dca-4f7c-9aba-ecd5b120fa94"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">215</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">592476</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"25 Battalion Campus BhadBhada"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"25th Battalion Bhadbhada Bhopal"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"b857cd10-b46f-404f-a5de-81032b667e46"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">570591</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"GHMC- Ward 29 Office 18"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Pandit Khushilal Sharma Parisar"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"5bcd92b4-a476-4c47-a203-3e96179e5beb"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">18</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">609392</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"Govt School Nayabasera 18"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"NAYABASERA SANJEEVANI"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"60306cc5-15a4-4195-876a-2889676631c0"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">18</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">561924</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"Saraswati Shisu Mandir Sch Cov"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Saraswati Shishu Mandir School Shivaji Nagar Bhopal Madhya Pradesh India"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"e1f4f7a1-42d5-4f58-934b-ed031fc3e7c0"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">137</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">591027</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"CD RAJ BHAVAN CVX"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"RAJ BHAVAN BHOPAL"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"52de668d-5526-4e09-8c41-f34c1912302d"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">667429</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"CD Vallabh Bhawan CVX"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Vallabh Bhawan Bhopal"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"e8202c2d-b545-401c-b266-8bf9102687e2"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">561310</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"Govt Kanya School Nehru Nagar"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Govt Kanya School Nehru Nagar"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"85a85c27-cabd-4058-b902-7b0bf457cb44"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">114</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">636442</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"CD VIDHAN SABHA COVISHIELD"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"VIDHAN SABHA"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"6010b80f-a818-4cf5-ad67-90a0cb49f1d6"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">611640</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"Kopal HSS Nehru Nagar18"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"Kopal HSS Nehru Nagar Bhopal"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"b4a74e1f-cc5b-498a-b92d-25bf5c3bc072"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">18</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">639426</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"BANGANG WARD 25 CVX"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"SANJEEVNI BANGANGA"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"17:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"def621bf-2e3e-4514-a605-9debd696d8ef"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"13-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVAXIN"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-05:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">636455</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"JAHANGIRABAD SANJEEVANI"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"JAHANGIRABAD"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"18:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"a58f02b7-a252-4daf-a541-b7ddf9bae21c"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"19-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-06:00PM"</span>]}]},{<span class="hljs-string">"center_id"</span>:<span class="hljs-number">627202</span>,<span class="hljs-string">"name"</span>:<span class="hljs-string">"CD Sewaniya Gaud"</span>,<span class="hljs-string">"address"</span>:<span class="hljs-string">"CD Sewaniya Gaud"</span>,<span class="hljs-string">"state_name"</span>:<span class="hljs-string">"Madhya Pradesh"</span>,<span class="hljs-string">"district_name"</span>:<span class="hljs-string">"Bhopal"</span>,<span class="hljs-string">"block_name"</span>:<span class="hljs-string">"PHANDA"</span>,<span class="hljs-string">"pincode"</span>:<span class="hljs-number">462003</span>,<span class="hljs-string">"lat"</span>:<span class="hljs-number">23</span>,<span class="hljs-string">"long"</span>:<span class="hljs-number">77</span>,<span class="hljs-string">"from"</span>:<span class="hljs-string">"09:00:00"</span>,<span class="hljs-string">"to"</span>:<span class="hljs-string">"18:00:00"</span>,<span class="hljs-string">"fee_type"</span>:<span class="hljs-string">"Free"</span>,<span class="hljs-string">"sessions"</span>:[{<span class="hljs-string">"session_id"</span>:<span class="hljs-string">"80130fd2-483a-4bb7-876a-9f2130484994"</span>,<span class="hljs-string">"date"</span>:<span class="hljs-string">"19-05-2021"</span>,<span class="hljs-string">"available_capacity"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"min_age_limit"</span>:<span class="hljs-number">45</span>,<span class="hljs-string">"vaccine"</span>:<span class="hljs-string">"COVISHIELD"</span>,<span class="hljs-string">"slots"</span>:[<span class="hljs-string">"09:00AM-11:00AM"</span>,<span class="hljs-string">"11:00AM-01:00PM"</span>,<span class="hljs-string">"01:00PM-03:00PM"</span>,<span class="hljs-string">"03:00PM-06:00PM"</span>]}]}]}
</code></pre>
<p>This data is not structured. So, we will make use of <code>json</code> here. Let's cast the data into <code>json</code> file.</p>
<pre><code class="lang-python"><span class="hljs-keyword">if</span> result.ok:
    response_json = result.json()
</code></pre>
<p>Now, In order to retrieve the information for each center, we will run a loop for the same. Initially, let's set the <code>flag</code> as <code>false</code></p>
<pre><code class="lang-python">flag = <span class="hljs-literal">False</span>
<span class="hljs-keyword">if</span> response_json[<span class="hljs-string">"centers"</span>]:            
    <span class="hljs-keyword">if</span>(print_flag.lower() ==<span class="hljs-string">'y'</span>):
        <span class="hljs-keyword">for</span> center <span class="hljs-keyword">in</span> response_json[<span class="hljs-string">"centers"</span>]:
</code></pre>
<p>Now, let's display and verify our data for each center</p>
<pre><code class="lang-python">print(center)

<span class="hljs-comment">#OUTPUT:</span>

{<span class="hljs-string">'center_id'</span>: <span class="hljs-number">691508</span>, <span class="hljs-string">'name'</span>: <span class="hljs-string">'Navin Girls HSS Tulsi Nagar 18'</span>, <span class="hljs-string">'address'</span>: <span class="hljs-string">'1250 Tulsi Nagar HOSPITAL'</span>, <span class="hljs-string">'state_name'</span>: <span class="hljs-string">'Madhya Pradesh'</span>, <span class="hljs-string">'district_name'</span>: <span class="hljs-string">'Bhopal'</span>, <span class="hljs-string">'block_name'</span>: <span class="hljs-string">'PHANDA'</span>, <span class="hljs-string">'pincode'</span>: <span class="hljs-number">462003</span>, <span class="hljs-string">'lat'</span>: <span class="hljs-number">23</span>, <span class="hljs-string">'long'</span>: <span class="hljs-number">77</span>, <span class="hljs-string">'from'</span>: <span class="hljs-string">'09:00:00'</span>, <span class="hljs-string">'to'</span>: <span class="hljs-string">'17:00:00'</span>, <span class="hljs-string">'fee_type'</span>: <span class="hljs-string">'Free'</span>, <span class="hljs-string">'sessions'</span>: [{<span class="hljs-string">'session_id'</span>: <span class="hljs-string">'b63ce111-23dd-4d4e-9f1c-c97073c57a52'</span>, <span class="hljs-string">'date'</span>: <span class="hljs-string">'13-05-2021'</span>, <span class="hljs-string">'available_capacity'</span>: <span class="hljs-number">0</span>, <span class="hljs-string">'min_age_limit'</span>: <span class="hljs-number">18</span>, <span class="hljs-string">'vaccine'</span>: <span class="hljs-string">'COVAXIN'</span>, <span class="hljs-string">'slots'</span>: [<span class="hljs-string">'09:00AM-11:00AM'</span>, <span class="hljs-string">'11:00AM-01:00PM'</span>, <span class="hljs-string">'01:00PM-03:00PM'</span>, <span class="hljs-string">'03:00PM-05:00PM'</span>]}]}
</code></pre>
<p>And now finally we can retrieve the information for each session. We will apply the check parameters as the arguments we saved earlier.</p>
<pre><code class="lang-python"><span class="hljs-keyword">for</span> session <span class="hljs-keyword">in</span> center[<span class="hljs-string">"sessions"</span>]:
    <span class="hljs-keyword">if</span> (session[<span class="hljs-string">"min_age_limit"</span>] &lt;= age <span class="hljs-keyword">and</span> session[<span class="hljs-string">"available_capacity"</span>] &gt; <span class="hljs-number">0</span> ):
</code></pre>
<p>If it stratifies our conditions, let's display the result. </p>
<pre><code class="lang-python">print(<span class="hljs-string">'Pincode: '</span> + pinCode)
print(<span class="hljs-string">"Available on: {}"</span>.format(given_date))
print(<span class="hljs-string">"\t"</span>, center[<span class="hljs-string">"name"</span>])
print(<span class="hljs-string">"\t"</span>, center[<span class="hljs-string">"block_name"</span>])
print(<span class="hljs-string">"\t Price: "</span>, center[<span class="hljs-string">"fee_type"</span>])
print(<span class="hljs-string">"\t Availablity : "</span>, session[<span class="hljs-string">"available_capacity"</span>])

<span class="hljs-keyword">if</span>(session[<span class="hljs-string">"vaccine"</span>] != <span class="hljs-string">''</span>):
    print(<span class="hljs-string">"\t Vaccine type: "</span>, session[<span class="hljs-string">"vaccine"</span>])
    print(<span class="hljs-string">"\n"</span>)
</code></pre>
<p>At the end, let's increase the counter by one. </p>
<pre><code>counter += 1
</code></pre><p>Let's cover the edge case:</p>
<pre><code class="lang-python"><span class="hljs-keyword">if</span>(counter == <span class="hljs-number">0</span>):
    print(<span class="hljs-string">"No Vaccination slot avaliable!"</span>)
<span class="hljs-keyword">else</span>:
    print(<span class="hljs-string">"Search Completed!"</span>)
</code></pre>
<p>Lastly, let's sync the data in real-time.</p>
<pre><code class="lang-python">dt = datetime.now() + timedelta(minutes=<span class="hljs-number">3</span>)

<span class="hljs-keyword">while</span> datetime.now() &lt; dt:
    time.sleep(<span class="hljs-number">1</span>)
</code></pre>
<p>Let's have a look at the output and let's compare it with the actual website.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620928058807/gr7IbLcQT.png" alt="output.png" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620928072634/0ZWiUXgeq.png" alt="Screenshot_1.png" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1620928105083/EeLymW8CK.png" alt="Screenshot_2.png" />
And with that, it's a wrap! You can host the script at the server to get notified every time a slot is available near you. You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/CoWin-Vaccine-Notifier">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p>Simple, isn't it? Hope this tutorial has helped. I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=HrTQqSKWClE">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. </p>
<p>I write about career, Blogging, programming, and productivity, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.  Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<h2 id="resources">Resources:</h2>
<ul>
<li><a target="_blank" href="https://apisetu.gov.in/public/marketplace/api/cowin#/Appointment Availability APIs/calendarByPin">https://apisetu.gov.in/public/marketplace/api/cowin#/Appointment%20Availability%20APIs/calendarByPin</a></li>
<li>https://www.cowin.gov.in/home</li>
<li>https://pypi.org/project/requests/</li>
</ul>
<p>See you in my next Blog article, Take care</p>
]]></content:encoded></item><item><title><![CDATA[What is Competitive Programming | Beginners Guide]]></title><description><![CDATA[Hello, reader,
I hope you are doing good and safe. 
Do you code? Do you take part in coding contests? Ever heard of CP? Want to master CP? I received a lot of requests of students and developers for CP guidance to help them get started. I decided to ...]]></description><link>https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide</link><guid isPermaLink="true">https://ayushirawat.com/what-is-competitive-programming-or-beginners-guide</guid><category><![CDATA[Career]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Tue, 11 May 2021 15:11:08 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1620745847586/z2o2ePRRf.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, reader,</p>
<p>I hope you are doing good and safe. </p>
<p>Do you code? Do you take part in coding contests? Ever heard of CP? Want to master CP? I received a lot of requests of students and developers for CP guidance to help them get started. I decided to create a separate video for the same explaining everything you need to know about CP. CP is short for Competitive Programming.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<h2 id="what-will-be-covered">What will be covered ?</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> cp?
<span class="hljs-number">2.</span> factors involed &amp; Tips <span class="hljs-keyword">and</span> Tricks
<span class="hljs-number">3.</span> benefits of CP
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-competitive-programming"><strong>What is Competitive Programming:</strong></h2>
<p>As the name suggests, it's a competition of coding where you have to solve a question using your logic based on mathematics, algorithm, and data structure. You break the problem into small chunks and come up with a solution after analyzing the problem from different angles to minimize the time and space complexity.</p>
<p>Programming is like a mental sport, it boosts your thinking skills. When you participate in a contest as a potential candidate for coding, its called as CP. Candidates participate from all around the world. </p>
<p>In the video I have explained how to decode the Question pattern, understand sample input, output and constraints at two different CP platforms. Also explained about the factors to consider to score rank in contents. Refer the link to my <strong>YouTube video Tutorial</strong> for more in detail and better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=C0YFYXfaEDM">https://www.youtube.com/watch?v=C0YFYXfaEDM</a></div>
<p>I will soon create a <strong>Roadmap of CP</strong>, explaining topics and other important stuffs to cover to master CP. So stay tuned!</p>
<p>And with that, it's a wrap! I hope you found the article useful! I create content about <strong>Career, Blogging, Programming, and Productivity</strong>, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.  Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=C0YFYXfaEDM">YouTube video</a> of the same and <strong>Don't forget to subscribe to my Channel</strong>.  I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Best IDE's for Python]]></title><description><![CDATA[Hello, there!
Are you learning Python? Are you looking for a good IDE? Choosing the best IDE can be very confusing and time-consuming but with the right information, I will make the choice easy for you. So in this Top 5 series article, I have put tog...]]></description><link>https://ayushirawat.com/best-ides-for-python</link><guid isPermaLink="true">https://ayushirawat.com/best-ides-for-python</guid><category><![CDATA[Python]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 07 May 2021 03:54:16 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1620359299099/a4lQNbGNB.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, there!
Are you learning Python? Are you looking for a good IDE? Choosing the best IDE can be very confusing and time-consuming but with the right information, I will make the choice easy for you. So in this Top 5 series article, I have put together for you the top 5 IDE’s for python.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> for better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=OMpENyXDKuM">https://www.youtube.com/watch?v=OMpENyXDKuM</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> IDE?
<span class="hljs-number">2.</span> Features of IDE
<span class="hljs-number">3.</span> Top <span class="hljs-number">5</span> IDE<span class="hljs-string">'s for Python</span>
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-an-ide">What is an IDE?:</h2>
<p>An <strong>integrated development environment</strong> (<strong>IDE</strong>) is software for building applications that combines common developer tools into a single graphical user interface (GUI).</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://en.wikipedia.org/wiki/Integrated_development_environment"><strong>IDE's</strong> Wikipedia Page</a>. </p>
<h2 id="features-of-ide"><strong>Features of IDE:</strong></h2>
<ul>
<li><p><strong>Text editor</strong>
Every IDE has a text editor designed to write and manipulate source code with a simple interface and has language-specific syntax highlighting.</p>
</li>
<li><p><strong>Compilers:</strong>
are components that translate programming language into machines understandable code called as binary code</p>
</li>
<li><p><strong>Code completion</strong>
Code complete features save programmers time and reduce the likelihood of typos and bugs.</p>
</li>
<li><p><strong>Debugger</strong>
Debugging tools assist users in identifying errors within source code.</p>
</li>
<li><p><strong>Programming language support</strong>
Most IDEs support a single programming language, though several also offer multi-language support as well.</p>
</li>
<li><p><strong>Integrations and plugins</strong>
IDE also supports integrations and plugins.</p>
</li>
</ul>
<p>Now that you have acquired basic knowledge of <em>IDE’s and</em> are familiar with <em>our its features,</em> we can move forward to <em>the top 5 ide’s</em></p>
<h2 id="1-visual-studio-code">1. Visual Studio Code:</h2>
<ul>
<li><p><strong>Initial release</strong>: April 29, 2015; 5 years ago</p>
</li>
<li><p><strong>Size</strong>: Windows: 40.8–68.3 MB,  Linux: 46.5–66.6 MB, macOS: 67.5 MB</p>
</li>
<li><p><strong>Operating system</strong>: Windows, macOS, Linux (Visual Studio Code is cross-platform IDE and supports macOS, Linux, and Microsoft Windows)</p>
</li>
<li><p>Visual Studio Code is A Home For All Languages, it supports C#, Python, C/C++ , Javascript, and many other languages.</p>
</li>
<li><p>It has its compiler and interpreter and Supports python web development using flask and Django.</p>
</li>
<li><p>It has a debugger which supports syntax highlighting and has many other cool features as well.</p>
</li>
</ul>
<h2 id="2juypter-notebook">2.Juypter Notebook:</h2>
<ul>
<li><strong>Jupyter</strong> is a free </li>
<li>Open-source,</li>
<li>Interactive web tool is known as a computational <strong>notebook</strong>, which researchers can <strong>use</strong> to combine software code, computational output, explanatory text and multimedia resources in a single document.</li>
<li>It is maintained by the people at Project Jupyter.</li>
<li><strong>Purpose:</strong> To support interactive data science and scientific computing across all programming languages.</li>
<li>It is very interactive, easy to use and great for data science.</li>
</ul>
<h2 id="3-pycharm">3. PyCharm:</h2>
<ul>
<li><p><strong>Initial release date:</strong> 3 February 2010</p>
</li>
<li><p><strong>License</strong>: Community edition: Apache License 2.0; Ultimate edition: Trialware</p>
</li>
<li><p>Its community version is free of cost.</p>
</li>
<li><p><strong>Operating system</strong>: Windows, macOS, Linux (cross-platform IDE and works on macOS, Linux, and Microsoft Windows)</p>
</li>
<li><p>It is developed by the Czech company JetBrains.</p>
</li>
<li><p>It is very powerful and one of the most widely used IDE. </p>
</li>
<li><p>Supports web development and plug-ins and The user interface is also nice and can be easily connected to databases and servers.</p>
</li>
<li><p>It can be easily integrated with anaconda and version controls</p>
</li>
</ul>
<h2 id="4sublime">4.SubLime</h2>
<ul>
<li><strong>License</strong>: Proprietary</li>
<li><strong>Initial release:</strong> January 18, 2008, 13 years ago</li>
<li><strong>Sublime Text</strong> may be downloaded and evaluated for <strong>free</strong>, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.</li>
<li>Sublime Text supports simultaneous editing.</li>
<li>It is very easy to use and great for lightweight projects</li>
<li>·And its features can be enhanced by the use of plug-ins</li>
</ul>
<h2 id="5atom">5.Atom</h2>
<ul>
<li><strong>Initial release:</strong> 26 February 2014</li>
<li><strong>Written in:</strong> CoffeeScript, JavaScript, Less, HTML</li>
<li><strong>License:</strong> MIT License</li>
<li>Atom is free, sleek, lightweight, and open-source IDE. </li>
<li><strong>Operating system</strong>: Windows, macOS, Linux (cross-platform IDE and works on macOS, Linux, and Microsoft Windows)</li>
<li>It supports third-party packages and plug-ins</li>
<li>It is developed by GitHub.</li>
<li>It also supports other languages such as C. C++ java etc</li>
</ul>
<p>I will soon make a separate video on each IDE in detail and how you install and make full use of it. So stay tuned. </p>
<p>Every IDE’s has some pros or cons, so my favorite Ide might not yours too. So comment down below to let me know what’s your favorite IDE.</p>
<p>And with that, it's a wrap! I hope you found the article useful! I write about career, Blogging, programming, and productivity, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.  Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=Rh4-25P2GJQ">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>.  I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[How to Perform Google Search using Python]]></title><description><![CDATA[Hello world!
We perform a google search in our day-to-day life. Have you ever wondered that you can implement the same using a programming language, In this Blog article, we will learn how to Perform a Google search. We will see the implementation in...]]></description><link>https://ayushirawat.com/how-to-perform-google-search-using-python</link><guid isPermaLink="true">https://ayushirawat.com/how-to-perform-google-search-using-python</guid><category><![CDATA[Python]]></category><category><![CDATA[Google]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Tue, 04 May 2021 03:40:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1620093410248/2pEZvW2qH.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello world!</p>
<p>We perform a google search in our day-to-day life. Have you ever wondered that you can implement the same using a programming language, In this Blog article, we will learn how to <strong>Perform a Google search.</strong> We will see the implementation in Python.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> to see a working tutorial for better Understanding and a step-by-step Guide of the same. </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=JO_2EjW0jSM">https://www.youtube.com/watch?v=JO_2EjW0jSM</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> What <span class="hljs-keyword">is</span> Google search?
<span class="hljs-number">3.</span> Basics of pywhatkit Module
<span class="hljs-number">4.</span> Performing a Google search using Python
</code></pre>
<p><em>Let's get started!</em></p>
<h2 id="what-is-google-search">What is Google search?:</h2>
<p>I do not think <strong>Google search</strong> needs an introduction here but for those who do not know, <strong>Google Search,</strong> or simply <strong>Google</strong>, is a web search engine developed by Google LLC. It is the most used search engine on the World Wide Web across all platforms.</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://en.wikipedia.org/wiki/Google"><strong>Google's</strong> Wikipedia Page</a>. </p>
<h2 id="module-used">Module Used:</h2>
<h3 id="pywhatkit-module">pywhatkit Module:</h3>
<p><a target="_blank" href="https://pypi.org/project/pywhatkit/">PyWhatKit</a> is a Python library with various helpful features. It is an easy-to-use library that does not require you to do some additional setup. </p>
<p>This module has lots of other cool features as well. Feel free and go-ahead to explore them or if you wish I can write an article about them.</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://github.com/Ankit404butfound/PyWhatKit"><strong>pywhatkit Module</strong> Documentation</a>. </p>
<p>Now that you are familiar with <em>Google search</em> basics and have acquired basic knowledge of <em>pywhatkit module,</em> we can move forward to <em>the coding section.</em></p>
<h2 id="time-to-code">Time to Code!</h2>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Perform%20Google%20search">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609988982683/4zBDHb85P.png" alt="code.png" />
In order to access the Python library, you need to install it into your Python environment</p>
<pre><code class="lang-python">pip install pywhatkit <span class="hljs-keyword">as</span> kt
</code></pre>
<p>Now, we need to import the package in our python script. Use the following command to do so.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> pywhatkit <span class="hljs-keyword">as</span> kt
</code></pre>
<p>Now that we have imported the library using the command <code>import pywhatkit as kt</code>, let's proceed. </p>
<p>Let's display a welcome message. we will make use of <code>print</code> method for the same.</p>
<pre><code class="lang-python">print(<span class="hljs-string">"Let's perform Google search!"</span>)
</code></pre>
<p>Be sure of what you want to search and once you decide, let's store it in <code>target1</code>.</p>
<pre><code class="lang-python">target1 = <span class="hljs-string">'coronavirus'</span>
</code></pre>
<p>Finally, let's call <code>search</code> method. </p>
<pre><code class="lang-python">kt.search(target1)
</code></pre>
<p>NOTE: If your browser window is open is already running, it will perform the search in a new tab otherwise will open a new window. Let's have a look at the output search result.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1609989009323/hJoDQSfQ-.png" alt="Screenshot_4.png" /></p>
<p>Let's have a look at another example and this time let's set multiple target items for the search operation. After post successful run, <code>n</code> new tabs will get opened, where <code>n</code> being the number of search items listed in the python script.</p>
<p>And with that, it's a wrap! With these steps, we have successfully <strong>Performed Google search using python.</strong> That's it! You can play around with the <code>pywhatkit</code> library and even explore more features. You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Perform%20Google%20search">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p>Simple, isn't it? Hope this tutorial has helped. I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=JO_2EjW0jSM">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>. </p>
<p>I write about career, Blogging, programming, and productivity, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.  Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<h2 id="resources">Resources:</h2>
<ul>
<li>https://en.wikipedia.org/wiki/ASCII</li>
<li>https://pypi.org/project/pywhatkit/</li>
<li>https://github.com/Ankit404butfound/PyWhatKit</li>
</ul>
<p>See you in my next Blog article, Take care</p>
]]></content:encoded></item><item><title><![CDATA[Top 5 Languages to Learn to Get a Job in 2021]]></title><description><![CDATA[Hello, there!

I recently conducted a poll asking you-all about which video you wish to see in my top 5 video series on various platforms like LinkedIn, Twitter, my Telegram Channel, etc. I have received close to 1500 responses in a single day and ac...]]></description><link>https://ayushirawat.com/top-5-languages-to-learn-to-get-a-job-in-2021</link><guid isPermaLink="true">https://ayushirawat.com/top-5-languages-to-learn-to-get-a-job-in-2021</guid><category><![CDATA[Python]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[General Programming]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[Java]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Sat, 01 May 2021 05:16:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1619839997997/hVAAQHAwa.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, there!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619414576465/IaTWlJiQL.png" alt="Yellow and White Simple Modern Business Presentation.png" />
I recently conducted a poll asking you-all about which video you wish to see in my top 5 video series on various platforms like LinkedIn, Twitter, my Telegram Channel, etc. I have received close to 1500 responses in a single day and according to the poll. The top 5 python books and languages to learn in 2021 had the highest poll count. After compilation, If you have any video suggestions for my Top 5 video series. Drop your comments.</p>
<p>Are you looking for campus placement or want to switch your job, or want to succeed in the IT industry, then you know how to code to step up in your career ladder. Not from a computer science background? Not a problem, you can still learn how to code, make projects to showcase in your resume, and get hired. </p>
<p>There are so many programming languages in the market and it can become a little too overwhelming for you to decide the right one for you. So in this Top 5 series article, I have put together for you the top 5 programming language in 2021 by collecting the data from GitHub, stack overflow developer survey, and various online surveys based on </p>
<ul>
<li>job market,</li>
<li>freelance opportunity</li>
<li>ease to learn and resource available</li>
<li>and most widely used, so read the article till the end.</li>
</ul>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> for better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=Rh4-25P2GJQ">https://www.youtube.com/watch?v=Rh4-25P2GJQ</a></div>
<p>So with that being said, <em>Let's get started!</em></p>
<h2 id="5-c">5. C++</h2>
<ul>
<li><p>At number 5, we have C++, it is a superset of C and was developed to support object-oriented programming</p>
</li>
<li><p>It is a very old and low-level programming language but it has made up to the list because of its performance and reliability.</p>
</li>
<li><p>It continues to retain its popularity over the years. </p>
</li>
<li><p>C++ is powerful and the <strong>applications developed</strong> in C++ are</p>
<ol>
<li><p>Adobe</p>
</li>
<li><p>Oracle</p>
</li>
<li><p>Microsoft office for backend</p>
</li>
</ol>
</li>
<li><p>It still stands at top priority for students aiming for placements in the Indian market and a number of developers start off with learning C++ in the IT industry.</p>
</li>
<li><p>It can be used to <strong>develop:</strong></p>
<ol>
<li>operating systems</li>
<li>browsers</li>
<li>and games</li>
</ol>
</li>
</ul>
<h2 id="4-c"><strong>4. C#:</strong></h2>
<ul>
<li><strong><em>C#</em></strong> (C-Sharp) is a programming language developed by Microsoft.</li>
<li>It runs on the . NET Framework.</li>
<li><strong><em>C#</em></strong> is used to develop<ul>
<li>i)    web apps,</li>
<li>ii)   desktop apps,</li>
<li>iii)  mobile apps,</li>
<li>iv)  utility and virtual reality games and much more.</li>
</ul>
</li>
<li>Popular framework used with c# are<ul>
<li>. NET</li>
<li>Xamarin</li>
</ul>
</li>
</ul>
<h2 id="3-java"><strong>3. Java:</strong></h2>
<ul>
<li>Java is an open-source, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible</li>
<li>Java is <ul>
<li>Robust, </li>
<li><strong>Secure,</strong> </li>
<li><strong>Distributed and</strong> </li>
<li><strong> High-Performance</strong> in nature</li>
</ul>
</li>
<li><p>It is widely used in both service-based and product-based companies which increases the chance of getting hired.</p>
</li>
<li><p>It supports frameworks like</p>
<ul>
<li>Spring</li>
<li>Hibernate </li>
<li>Guice (google guice)</li>
</ul>
</li>
<li><p>It is easy to learn and has strong community support.</p>
</li>
</ul>
<h2 id="2-javascript"><strong>2. JavaScript:</strong></h2>
<ul>
<li>Js is the most popular and go-to language for web development. </li>
<li><strong>JavaScript</strong> is widely used to create responsive, interactive elements for web pages, enhancing the user experience.</li>
<li>There are over billions of web sites in the world, and <strong>JavaScript</strong> is <strong>used</strong> on 95% of them</li>
<li>Most popular frameworks based on JavaScriptare:<ul>
<li>Node js</li>
<li>Angular js</li>
<li>React js</li>
<li>Vue js</li>
</ul>
</li>
<li>Js has a huge market and opens door to freelance opportunities.</li>
</ul>
<h2 id="1-python"><strong>1. Python:</strong></h2>
<ul>
<li>Python is a high-level language and it is very easy to learn.</li>
<li>It is the fastest-growing language and has big support of developers community</li>
<li>It user-friendly and has uses everywhere, its used in <ul>
<li>Web development. Some of the most well-known frameworks are Django, Flask</li>
<li>It is also used in the development of interactive games</li>
<li>Machine Learning and Artificial Intelligence</li>
<li>Data Science and Data Visualization</li>
<li>Desktop GUI</li>
<li>And Web Scraping Applications</li>
</ul>
</li>
<li>It has a library for anything you wish to do makes it the most popular language.</li>
</ul>
<p>And with that, it's a wrap! I hope you found the article useful! I write about career, Blogging, programming, and productivity, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.  Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=Rh4-25P2GJQ">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>.  I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[5 COVID Related Interview Questions You Must Know About]]></title><description><![CDATA[Hello, there!
If you're preparing for a job interview, be prepared to get some COVID-related questions as well. The recruiters are interested in how candidates handle work (or being out of work) during the pandemic. With time, this has become a very ...]]></description><link>https://ayushirawat.com/5-covid-related-interview-questions-you-must-know-about</link><guid isPermaLink="true">https://ayushirawat.com/5-covid-related-interview-questions-you-must-know-about</guid><category><![CDATA[Python]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[interview]]></category><category><![CDATA[General Advice]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 30 Apr 2021 03:42:37 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1619753180803/0gTfiGJE5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, there!</p>
<p>If you're preparing for a job interview, be prepared to get some COVID-related questions as well. The recruiters are interested in how candidates handle work (or being out of work) during the pandemic. With time, this has become a very important criterion that you cannot risk overlooking. </p>
<p>So in this Blog, I am going to tell you the top 5 questions you should be well prepared to answer to seize the opportunity. I have divided the article into two parts, in part two I will tell you some covid related questions that you can ask the recruiter.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> for better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=YL76YVBT-rU">https://www.youtube.com/watch?v=YL76YVBT-rU</a></div>
<p>So with that being said, <em>Let's get started!</em></p>
<h2 id="part-i">Part I</h2>
<h3 id="1-how-did-your-team-communicate-while-working-remotely">1. HOW DID YOUR Team COMMUNICATE while working remotely?</h3>
<ul>
<li>Here you can describe ways in which you collaborate with your team.</li>
<li>Give examples of how you have kept in touch and the importance of regular reporting.</li>
<li>The recruiter is more interested in hearing how well you take ownership of your action items.</li>
</ul>
<h3 id="2-what-did-you-do-when-you-were-laid-off">2. WHAT DID YOU DO WHEN YOU WERE LAID OFF</h3>
<ul>
<li>Here the recruiter is interested to know how you will handle work stress or are you afraid of losing your job?</li>
<li>If you did lose one in past then leverage it to demonstrate your progress and your newly learned skills.</li>
<li>Showcase how you helped others during the crisis.</li>
<li>you know it's really ok, to be honest about getting laid off and recruiters will surely understand. </li>
</ul>
<h3 id="3-how-do-you-feel-about-an-eventual-return-to-work">3. How do you feel about an eventual return to work?</h3>
<ul>
<li>Here the recruiter wants to know, that are you prepared to adapt to changes. </li>
<li>You can be honest here but back your statement with relevant info and examples.</li>
</ul>
<h3 id="4-how-do-you-maintain-a-work-life-balance">4. How do you maintain a work-life balance:</h3>
<ul>
<li>If you have pre-covid work from home experience, leverage it. </li>
<li>They observe how candidates react to their experience when they faced hardships or setbacks. Give them an example of how you have set virtual boundaries and you do not let your work get affected.</li>
<li>Of course, you are human, but what matters is, you are trying and they want to see your efforts. </li>
<li>You can use examples like, what do you do to increase your productivity. </li>
</ul>
<h3 id="5-what-do-you-do-differently-now">5. WHAT DO YOU DO DIFFERENTLY NOW?</h3>
<ul>
<li>You can explain how you utilize the time saved in traveling. For me, personally, I started my YouTube channel and started writing technical articles. </li>
<li>The recruiter wants to know that what would you do differently to not let work from home affect your deadlines or commitment to work. </li>
<li>so in your own words, just explain what do u do differently now</li>
</ul>
<h4 id="bonus-question">BONUS Question:</h4>
<h3 id="what-aspects-of-working-from-home-did-you-find-most-challenging">What aspects of working from home did you find most challenging?</h3>
<ul>
<li>Use this question as an opportunity to showcase how you handled Covid stress, stayed connected with your family, supported your colleagues, and outshined at work.</li>
<li>Hardships come and go, but you need to stay strong.</li>
</ul>
<h2 id="part-ii">Part II</h2>
<h2 id="pandemic-interview-questions-you-can-ask">PANDEMIC INTERVIEW QUESTIONS YOU Can ASK</h2>
<p>You as a candidate, have equal right to enquire about the organization's Covid policies and other related questions and make a wise decision.</p>
<ul>
<li>What safety measures have the company taken to ensure that all employees are safe?</li>
<li>How do you onboard remote hires?</li>
<li>Has the organization laid off employees since COVID-19 began? If so, why?</li>
<li>How has leadership adjusted to working from home and the responsibilities? </li>
</ul>
<p>These are difficult times, you need to stay strong. Check up on your peers, if they are doing okay? Stay connected with your family and close ones. Stay safe and sound. If you need to share something or need help, you can contact me on Twitter. And with that, it's a wrap! I hope you found the article useful!</p>
<p>I write about career, Blogging, programming, and productivity, If this is something that interests you, please share the article with your friends and connections. You can also subscribe to my newsletter to get updates every time I write something!</p>
<p>Thank you for reading, If you have reached so far, please like the article, It will encourage me to write more such articles.</p>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=YL76YVBT-rU">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>.</p>
<p> I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>. Do share your valuable suggestions, I appreciate your honest feedback!</p>
<h3 id="you-should-definitely-check-out-my-other-blogs">You should definitely check out my other Blogs:</h3>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article,</p>
<p>Stay Tuned and Stay safe!</p>
]]></content:encoded></item><item><title><![CDATA[Top 5 Books for learning Python]]></title><description><![CDATA[Hello, there!

I recently conducted a poll asking you-all about which video you wish to see in my top 5 video series on various platforms like LinkedIn, Twitter, my Telegram Channel, etc. I have received close to 1500 responses in a single day and ac...]]></description><link>https://ayushirawat.com/top-5-books-for-learning-python</link><guid isPermaLink="true">https://ayushirawat.com/top-5-books-for-learning-python</guid><category><![CDATA[Python]]></category><category><![CDATA[books]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Mon, 26 Apr 2021 05:21:21 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1619087902902/37wiikRkG.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello, there!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619414576465/IaTWlJiQL.png" alt="Yellow and White Simple Modern Business Presentation.png" />
I recently conducted a poll asking you-all about which video you wish to see in my top 5 video series on various platforms like LinkedIn, Twitter, my Telegram Channel, etc. I have received close to 1500 responses in a single day and according to the poll. The top 5 python books and languages to learn in 2021 had the highest poll count. After compilation, If you have any video suggestions for my Top 5 video series. Drop your comments.</p>
<p><em>Can you please recommend me good books for python</em> is the most frequently asked question, So in this Top 5 series, I am going to tell you the top 5 books for python.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p>You can refer to my <strong>YouTube video Tutorial</strong> for better Understanding.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=loP9QkLaGj8">https://www.youtube.com/watch?v=loP9QkLaGj8</a></div>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> Three beginner-friendly books
<span class="hljs-number">2.</span> Two books <span class="hljs-keyword">for</span> advanced learners
<span class="hljs-number">3.</span> A bonus Book
<span class="hljs-number">4.</span> My current favorite book
</code></pre>
<p>Some people are comfortable watching online courses, others are more comfortable reading. If you are new to reading any programming book, I will suggest a beginner-friendly book for you. I will also tell you my personal favorite book at the end.</p>
<p>I will recommend books in a beginner to expert order. So with that being said, <em>Let's get started!</em></p>
<h3 id="1-python-crash-course-by-eric-matthes">1. PYTHON CRASH COURSE by Eric Matthes</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619415149290/wg6mYH5sl.png" alt="10.png" /></p>
<ul>
<li><p>If you have never learned a programming language before and you are starting out to learn python and want to learn the concepts real so that you can start making interesting projects real quick, PYTHON CRASH COURSE is for you. </p>
</li>
<li><p>This book is divided into two sections:</p>
<ul>
<li>the 1st section teaches you the basics of python.</li>
<li>the second part, you work on three major projects, based on game development, web development or data visualization, etc. </li>
</ul>
<p>If you are a student, you find the book a little pricey, so you can go for the online kindle version.</p>
</li>
</ul>
<h3 id="2-learn-python-the-hard-way">2. LEARN PYTHON THE HARD WAY</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619415186301/qpd47I3DK.png" alt="13.png" /></p>
<ul>
<li>This is the second book recommendation, LEARN PYTHON THE HARD WAY.</li>
<li>The book even guides with python installation.</li>
<li>This is also a good beginner-friendly book and will give you a good knowledge of fundamentals. I am really fond of the author’s approach, the reader is expected to find a lot of information independently. </li>
</ul>
<p>Also note, the most important factor is to practice side by side regularly, just reading won’t do you any good. </p>
<h3 id="3-head-1st-python-by-paul-barry">3.  HEAD 1ST PYTHON by paul barry:</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619415231367/FMRXLItSN.png" alt="16.png" /></p>
<ul>
<li>This is another beginner-friendly book. It covers core concepts, Web and Android development using Python.</li>
<li>It follows a graphical approach and teaches you using illustrations rather than a text-based approach to make your learning more interesting.</li>
<li>It does not cover advanced topics, so is not recommended for advanced learners or experts.</li>
</ul>
<h3 id="4-python-cookbook">4. PYTHON COOKBOOK:</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619415226854/Mj0M0BQWu.png" alt="20.png" /></p>
<ul>
<li>This book will cover the core Python language as well as tasks common to a wide variety of application domains.</li>
<li>I use this book as a reference for a particular topic.</li>
<li>Each recipe starts out with a problem statement and contains code samples you can use in your projects, along with a discussion about how and solution walkthrough.</li>
<li>It includes Data Structures, Iterators, and Generators, Files, Functions, Network and Web Programming, Utility Scripting, Testing, Debugging, and lot more</li>
</ul>
<h3 id="5-programming-python-by-mark-lutz">5. PROGRAMMING PYTHON by Mark Lutz</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1619415307042/1u1PGgd5r.png" alt="23.png" /></p>
<ul>
<li>You can pick up this book if you are aware of python fundamentals and ready to dive deep.</li>
<li>It will first make you familiar with concepts of object-orientation.</li>
<li>Also will give you in-depth knowledge of various domains of python, covers basics of GUI programming by tkiner, command-line processing, system administration, and a lot more to advance your skills. </li>
</ul>
<h4 id="bonus-book">BONUS BOOK:</h4>
<h3 id="automate-the-boring-stuff-with-python">AUTOMATE THE BORING STUFF WITH PYTHON.</h3>
<ul>
<li>This is a pretty awesome book, and the video will be incomplete without this book’s recommendation.</li>
<li>the author has done a great job of explaining why python is important, a bit of history about the language, and gives so many ideas on how computing tasks can be greatly simplified.</li>
<li>this book stands out in the second part where you actually build useful tools you might need to use every day. </li>
</ul>
<p>I would strongly recommend you to Check out the <a target="_blank" href="https://www.youtube.com/watch?v=loP9QkLaGj8">YouTube video</a> of the same and <strong>don't forget to subscribe to my Channel</strong>.</p>
<p>And with that, it's a wrap! I hope you found the article useful! Please like and share it with your friends and connects who are interested in learning programming.</p>
<p>Thank you for reading, I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>Thank you for reading! Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care!!</p>
]]></content:encoded></item><item><title><![CDATA[Internet Speed Test using Python]]></title><description><![CDATA[Hello there,
I am attending a Technical Writing Bootcamp at @hashnode. Hashnode Bootcamp III is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by Sam Julien, @...]]></description><link>https://ayushirawat.com/internet-speed-test-using-python</link><guid isPermaLink="true">https://ayushirawat.com/internet-speed-test-using-python</guid><category><![CDATA[Python]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Hashnode]]></category><category><![CDATA[hashnodebootcamp]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 23 Apr 2021 15:17:03 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1619189612670/eqIAccCqv.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello there,
I am attending a <a target="_blank" href="https://hashnode.com/bootcamp/batch-3">Technical Writing Bootcamp</a> at <a target="_blank" href="https://hashnode.com/@hashnode">@hashnode</a>. <strong>Hashnode Bootcamp III</strong> is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by <strong>Sam Julien</strong>, @samjulien</p>
<p>TASK: <em>Write 1 TIL format blog post on Hashnode to test out your own content system from drafting all the way to promoting.</em></p>
<p>Running a speed test can be very useful to verify the current state of an internet connection. In this Blog article, we will learn how to <strong>Test Internet Speed.</strong> We will see the implementation in Python.</p>
<p><a target="_blank" href="https://github.com/ayushi7rawat/Ultimate-Python-Resource-Hub">Check out the Repository for Ultimate Resource in python</a>. Drop a star if you find it useful! Got anything to add? Open a PR on the same!</p>
<p><em>Let's get started.</em></p>
<h2 id="what-will-be-covered-in-this-blog">What will be covered in this Blog</h2>
<pre><code class="lang-python"><span class="hljs-number">1.</span> speedtest Introduction
<span class="hljs-number">2.</span> How to Test internet speed
</code></pre>
<h1 id="speedtest-introduction">Speedtest Introduction:</h1>
<p>The internet connections in our homes and offices can differ by internet service providers (ISPs), allowable traffic limit, and most importantly speed. So what do you usually do when you want to test the speed our connection? You google it, right? How about testing the internet speed using Python from your machine! </p>
<p>Speedtest cli library provides Command line interface for testing internet bandwidth using speedtest.net</p>
<p>If you wish to know more about it, you can refer to <a target="_blank" href="https://pypi.org/project/speedtest-cli/">Speedtest Documentation</a>. Use this link to navigate to the documentation.</p>
<p>Now that you are aware of Speedtest basics, we can move forward to the coding section. Let's get started!</p>
<h2 id="time-to-code">Time to Code!</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1605667262526/U5OIvfOnm.png" alt="code.png" /></p>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Test%20Internet%20Speed">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p>In order to access the Python library, you need to install it into your Python environment, use the following command to install <code>Speedtest</code>  </p>
<pre><code class="lang-python">pip install speedtest-cli
</code></pre>
<p>Now, let's import the package in our Python script.</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> speedtest
</code></pre>
<p>Let's create an instance of <code>Speedtest</code> and call it <code>st</code></p>
<pre><code class="lang-python">st = speedtest.Speedtest()
</code></pre>
<p>Let's move forward and check for download speed. We will make use of <code>download</code> method to fetch the speed and store in <code>d_st</code></p>
<pre><code class="lang-python">d_st = st.download()
</code></pre>
<p>Similarly, to check for the upload speed, we will make use of <code>upload</code> method to fetch the speed and store in <code>u_st</code></p>
<pre><code class="lang-python">u_st = st.upload()
</code></pre>
<p>Once done, let's display the download and upload speed. </p>
<pre><code class="lang-python">print(<span class="hljs-string">"Your Download speed is"</span>, d_st) 
print(<span class="hljs-string">"Your Upload speed is"</span>, u_st)
</code></pre>
<p>Let's have a look at the output:</p>
<pre><code><span class="hljs-attribute">Your</span> Download speed is <span class="hljs-number">4786516</span>.<span class="hljs-number">020362539</span>
<span class="hljs-attribute">Your</span> Upload speed is <span class="hljs-number">851493</span>.<span class="hljs-number">59380959</span>
</code></pre><p>It will look something like this. Here's the download and upload speed in bits.</p>
<h4 id="bonus">BONUS:</h4>
<p>Let's check for ping. We can do so by making use of the following command.</p>
<pre><code class="lang-python">st.get_servers([])
</code></pre>
<p>Let's  fetch the ping and store it in <code>ping</code>, we will make use of <code>results.ping</code> for the same.</p>
<pre><code>ping = st.results.ping

<span class="hljs-comment">#display the result</span>
print(<span class="hljs-string">"Your Ping is"</span>, ping)
</code></pre><p>Let's display the <code>ping</code> using <code>print</code>. </p>
<pre><code><span class="hljs-attribute">Your</span> Ping is <span class="hljs-number">50</span>.<span class="hljs-number">846</span>
</code></pre><p>This is how you can test your Internet speed. That's it! </p>
<p>Simple, isn't it? Hope this tutorial has helped.You can play around with the Speedtest library and even explore more features. You can even make use of Python GUI using Tkinter.</p>
<p>You can find all the code at my <a target="_blank" href="https://github.com/ayushi7rawat/Youtube-Projects/tree/master/Test%20Internet%20Speed">GitHub Repository</a>. <strong>Drop a star</strong> if you find it useful.</p>
<p>Thank you for reading, I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>Do share your valuable suggestions, I appreciate your honest feedback!</p>
<p>You should definitely check out my other Blogs:</p>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<h2 id="resources">Resources:</h2>
<ul>
<li>https://pypi.org/project/speedtest-cli/</li>
<li>https://github.com/sivel/speedtest-cli</li>
<li>https://www.mankier.com/1/speedtest-cli</li>
</ul>
<p>See you in my next Blog article, Take care</p>
]]></content:encoded></item><item><title><![CDATA[Why Build an Effective Developer Portfolio]]></title><description><![CDATA[Hello there, I am attending a Technical Writing Bootcamp at @hashnode. Hashnode Bootcamp III is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by Annie, @annie...]]></description><link>https://ayushirawat.com/why-build-an-effective-developer-portfolio</link><guid isPermaLink="true">https://ayushirawat.com/why-build-an-effective-developer-portfolio</guid><category><![CDATA[2Articles1Week]]></category><category><![CDATA[hashnodebootcamp]]></category><category><![CDATA[General Advice]]></category><category><![CDATA[Developer]]></category><category><![CDATA[portfolio]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Fri, 16 Apr 2021 14:38:02 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1618581112007/mSbPL6tTH.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello there, I am attending a <a target="_blank" href="https://hashnode.com/bootcamp/batch-3">Technical Writing Bootcamp</a> at <a target="_blank" href="https://hashnode.com/@hashnode">@hashnode</a>. <strong>Hashnode Bootcamp III</strong> is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by <strong>Annie</strong>, @anniebombanie </p>
<p><em>Let's get started.</em></p>
<h3 id="a-first-impression-says-everything"><strong>A First Impression Says Everything</strong></h3>
<p><strong>First impressions</strong> play a vital role in building positive momentum. As J. K. Rowling very wisely said, </p>
<blockquote>
<p>A good first impression can work wonders.</p>
</blockquote>
<p>What can be a better way to achieve this than building a portfolio.</p>
<h3 id="online-presence">- Online Presence</h3>
<p>Your portfolio can reach where you cannot says a lot about its importance! It will boost your online presence. </p>
<h3 id="get-hired">- Get Hired!</h3>
<p>A developer portfolio is a great way to demonstrate your competencies. You can customize it to showcase your interests, work, achievements and many more stuff. It reflects your real performance in domains.</p>
<h3 id="few-tips">Few Tips:</h3>
<ul>
<li><p>Make the best use of the About section. It is a very important section &amp; make sure to include non-tech stuff like what do you do when not coding? </p>
</li>
<li><p>Highlight your top three projects briefly. Drop the links to showcase the live demonstration.</p>
<p><em>Tip: Revisit and update your old projects</em> </p>
</li>
<li><p>Add TESTIMONIALS! Yes, they matter! It's the best way to prove your credibility by showing that real people have had a positive experience with your products or service.</p>
</li>
<li><p>Add a contact section. The easier for a user to contact you. higher the probability of them actually getting in touch with you.</p>
</li>
<li><p>Do you Blog? Add it too. Yes, it counts.</p>
</li>
<li><p>Be open to feedback, negative feedback will help you improve and get better.</p>
</li>
</ul>
<p>I am currently working on my portfolio. I will update the blog post when I am done. I would recommend you to build a portfolio if you don't have one already. Do you have a developer portfolio? Share the link in the comments section below!</p>
<p>Thank you for reading, I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>Do share your valuable suggestions, I appreciate your honest feedback!</p>
<h4 id="you-should-definitely-check-out-my-other-blogs">You should definitely check out my other Blogs:</h4>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care</p>
]]></content:encoded></item><item><title><![CDATA[Why Do I Blog?]]></title><description><![CDATA[Hello there, I am attending a Technical Writing Bootcamp at @hashnode. Hashnode Bootcamp III is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by Sultan, @Gran...]]></description><link>https://ayushirawat.com/why-do-i-blog-1</link><guid isPermaLink="true">https://ayushirawat.com/why-do-i-blog-1</guid><category><![CDATA[General Advice]]></category><category><![CDATA[hashnodebootcamp]]></category><category><![CDATA[2Articles1Week]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[Ayushi Rawat]]></dc:creator><pubDate>Wed, 14 Apr 2021 05:02:44 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1618376404272/fABFKnQrAe.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello there, I am attending a <a target="_blank" href="https://hashnode.com/bootcamp/batch-3">Technical Writing Bootcamp</a> at <a target="_blank" href="https://hashnode.com/@hashnode">@hashnode</a>. <strong>Hashnode Bootcamp III</strong> is a free virtual Bootcamp to help beginner technical writers to improve their writing skill. This article is inspired by the latest session by <strong>Sultan</strong>, @Grantfortheweb</p>
<p><strong>TASK:</strong> <em>Future plans for my Blog and my Top reasons to Blog.</em></p>
<p>In this Blog article, I will share my thoughts on the same.</p>
<p><em>Let's get started.</em></p>
<h3 id="my-future-blog-plan">My Future Blog Plan:</h3>
<p>I am a tech-enthusiast. I like to learn and explore new tech stuffs. Learning is a never ending process, I am learning Python, Blogging is a wonderful medium to share my learning with other people, It in turn helps me learn faster and better.</p>
<p>Monetizing blogs is not my primary motive but will plan in near future. With that being said I plan to continue Blogging and sharing my knowledge as I learn and grow. Sharing few key reasons of, Why do I blog?</p>
<h3 id="1-document-the-learning">1. Document the learning</h3>
<p>I am a self taught developer and have a habit of documenting my learning. Blogging makes it easier for me to write and express my ideas. </p>
<h3 id="2-teach-and-share-my-personal-experience">2. Teach and Share my personal experience</h3>
<p>For me blogging is form to express my take at something. It in turns provides me an opportunity to grow. I wish to help programmers overcome the fear barrier and provide the the little push that they think they need to start their journey through my personal experience. </p>
<h3 id="3-get-better-through-feedback-and-suggestions">3. Get better through feedback and suggestions</h3>
<p>The best way to learn anything is practice. Feedbacks play a vital role for a writer as getting a third perspective always helps. If I blog, I get regular feedbacks and suggestions. Positive ones motivate me to write more, whereas, the negative ones, help me grow, help me get better. </p>
<h3 id="4expand-my-network-and-connect-with-like-minded-people">4.Expand my network and connect with like-minded people</h3>
<p>Blogging can serve as a medium of communication, it opens a channel to connect with like-minded people from all over the world that share the same interests as us. We can learn from each other and even collaborate in projects that would help to boost our career to the next level. </p>
<h3 id="final-thoughts">Final Thoughts:</h3>
<p>I aim to continue to do my bit to contribute to shape the community a better place for developers as I remember the time I wrote my first blog. I couldn't have done it without the support by the DEV community throughout my journey. I try to do my level best to contribute to the DEV community and support fellow bloggers in shaping the Community a better place for us.  For most people, the first step is always the toughest. I try to help people. This serves as a primary reason which pushes me to write, not just for me but to help developers who are beginners and new to the DEV Community. </p>
<p><strong>MY MOTO</strong>: <em>Let's learn and grow together and make the DEV Community a better place for developers</em>. </p>
<p>Thank you for reading, I would love to connect with you at <a target="_blank" href="https://twitter.com/ayushi7rawat">Twitter</a> | <a target="_blank" href="https://www.linkedin.com/in/ayushi7rawat/">LinkedIn</a>.</p>
<p>Do share your valuable suggestions, I appreciate your honest feedback!</p>
<h4 id="you-should-definitely-check-out-my-other-blogs">You should definitely check out my other Blogs:</h4>
<ul>
<li><a target="_blank" href="https://ayushirawat.com/python-39-all-you-need-to-know">Python 3.9: All You need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/the-ultimate-python-resource-hub">The Ultimate Python Resource hub</a></li>
<li><a target="_blank" href="https://ayushirawat.com/github-cli-10-all-you-need-to-know">GitHub CLI 1.0: All you need to know</a></li>
<li><a target="_blank" href="https://ayushirawat.com/become-a-better-programmer">Become a Better Programmer</a></li>
<li><a target="_blank" href="https://ayushirawat.com/how-to-make-your-own-google-chrome-extension-1">How to make your own Google Chrome Extension</a></li>
<li><a target="_blank" href="https://ayushirawat.com/create-your-own-audiobook-from-any-pdf-with-python">Create your own Audiobook from any pdf with Python</a></li>
<li><a target="_blank" href="https://ayushirawat.com/you-are-important-and-so-is-your-mental-health">You are Important &amp; so is your Mental Health!</a></li>
</ul>
<p>See you in my next Blog article, Take care</p>
]]></content:encoded></item></channel></rss>