<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arunkumar Dharuman</title>
    <description>The latest articles on DEV Community by Arunkumar Dharuman (@arundhaj).</description>
    <link>https://dev.to/arundhaj</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F471582%2Fe0cf1090-7492-4dd7-9083-233c47e3e594.jpeg</url>
      <title>DEV Community: Arunkumar Dharuman</title>
      <link>https://dev.to/arundhaj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arundhaj"/>
    <language>en</language>
    <item>
      <title>Beginner's guide to @app.route() decorator in Flask</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Sat, 14 May 2022 06:27:53 +0000</pubDate>
      <link>https://dev.to/arundhaj/beginners-guide-to-approute-decorator-in-flask-360i</link>
      <guid>https://dev.to/arundhaj/beginners-guide-to-approute-decorator-in-flask-360i</guid>
      <description>&lt;p&gt;In this video, we'll see how to define and configure routes in Flask. Also, how to access HTTP Methods, Path param, Query param, Headers and Body of the Request and Response. &lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/dl8UJnuGVjg"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Source Code: &lt;a href="https://github.com/CodePossibility/flask-route"&gt;https://github.com/CodePossibility/flask-route&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>flask</category>
      <category>http</category>
    </item>
    <item>
      <title>fixed length queue</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Sun, 20 Mar 2022 16:04:20 +0000</pubDate>
      <link>https://dev.to/arundhaj/fixed-length-queue-2kb8</link>
      <guid>https://dev.to/arundhaj/fixed-length-queue-2kb8</guid>
      <description>&lt;p&gt;To create a fixed length queue and to discard old values as you and new values&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;deque&lt;/span&gt;

&lt;span class="n"&gt;dq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;deque&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;maxlen&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;dq&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dq&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;code&gt;deque([5, 6, 7, 8, 9], maxlen=5)&lt;/code&gt;&lt;/p&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>With 'defaultdict' you need not have to test existence of the key</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Sat, 05 Mar 2022 00:22:41 +0000</pubDate>
      <link>https://dev.to/arundhaj/with-defaultdict-you-need-not-have-to-test-existence-of-the-key-4f70</link>
      <guid>https://dev.to/arundhaj/with-defaultdict-you-need-not-have-to-test-existence-of-the-key-4f70</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dFY27GEj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zypkkolz5y4gne09c0qw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dFY27GEj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zypkkolz5y4gne09c0qw.png" alt="Image description" width="880" height="731"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>Creating AWS S3 Presigned upload and download URL in Python using Boto3</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Wed, 09 Feb 2022 02:33:43 +0000</pubDate>
      <link>https://dev.to/arundhaj/creating-aws-s3-presigned-upload-and-download-url-in-python-using-boto3-5f94</link>
      <guid>https://dev.to/arundhaj/creating-aws-s3-presigned-upload-and-download-url-in-python-using-boto3-5f94</guid>
      <description>&lt;p&gt;In this video, I'm going to show how to create AWS S3 Presigned upload and download URL in python using boto3&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/MfDZKmL_PNo"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You can find the code at below gist&lt;br&gt;
&lt;a href="https://gist.github.com/arundhaj/134775031ef916301c9aeff4c089466c"&gt;https://gist.github.com/arundhaj/134775031ef916301c9aeff4c089466c&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>aws</category>
      <category>s3</category>
      <category>boto3</category>
    </item>
    <item>
      <title>SQLAlchemy Expressions for Insert, Update and Delete in Python Flask</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Thu, 03 Feb 2022 05:14:18 +0000</pubDate>
      <link>https://dev.to/arundhaj/sqlalchemy-expressions-for-insert-update-and-delete-in-python-flask-1178</link>
      <guid>https://dev.to/arundhaj/sqlalchemy-expressions-for-insert-update-and-delete-in-python-flask-1178</guid>
      <description>&lt;p&gt;In this video I'm going to show you how to use SQLAlchemy Expressions for Insert, Update and Delete in Python Flask.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Vrf9CR1617Y"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You can find the code at below gist&lt;br&gt;
&lt;a href="https://gist.github.com/arundhaj/51bcb0df82b5f27f25b54bfe4afb7651"&gt;https://gist.github.com/arundhaj/51bcb0df82b5f27f25b54bfe4afb7651&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>flask</category>
      <category>sqlalchemy</category>
    </item>
    <item>
      <title>Creating Beautiful REST APIs using Python Flask and Swagger UI</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Sun, 20 Jun 2021 14:03:43 +0000</pubDate>
      <link>https://dev.to/arundhaj/creating-beautiful-rest-apis-using-python-flask-and-swagger-ui-6oo</link>
      <guid>https://dev.to/arundhaj/creating-beautiful-rest-apis-using-python-flask-and-swagger-ui-6oo</guid>
      <description>&lt;p&gt;In this video I'm going to show you how to create RESTful APIs using Flask and document it by generating API specification in Open API aka Swagger format using apispec and configure Swagger UI.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/k10ILjUyWuQ"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You can find the &lt;code&gt;app.py&lt;/code&gt; file code at: &lt;a href="https://gist.github.com/arundhaj/5f4c0f8c9a8efba9f92f81adea9fd4d7"&gt;https://gist.github.com/arundhaj/5f4c0f8c9a8efba9f92f81adea9fd4d7&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Definitive guide to solve CORS error, Access-Control-Allow-Origin in Python Flask APIs</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Sat, 03 Oct 2020 01:21:32 +0000</pubDate>
      <link>https://dev.to/arundhaj/definitive-guide-to-solve-cors-error-access-control-allow-origin-in-python-flask-apis-1fao</link>
      <guid>https://dev.to/arundhaj/definitive-guide-to-solve-cors-error-access-control-allow-origin-in-python-flask-apis-1fao</guid>
      <description>&lt;p&gt;In this video, I'll show how to enable Flask-CORS for Flask based API projects. Explains and code three different options available to configure CORS for your projects.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/-u5BdG_6Lzs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Python;&lt;br&gt;
&lt;a href="https://www.python.org"&gt;https://www.python.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Flask;&lt;br&gt;
&lt;a href="https://flask.palletsprojects.com"&gt;https://flask.palletsprojects.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Flask-CORS;&lt;br&gt;
&lt;a href="https://flask-cors.readthedocs.io"&gt;https://flask-cors.readthedocs.io&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>flask</category>
      <category>cors</category>
      <category>preflight</category>
    </item>
    <item>
      <title>How to create and run Angular app using Docker without installing Node in the Host machine</title>
      <dc:creator>Arunkumar Dharuman</dc:creator>
      <pubDate>Mon, 21 Sep 2020 01:28:09 +0000</pubDate>
      <link>https://dev.to/arundhaj/how-to-create-and-run-angular-app-using-docker-without-installing-node-in-the-host-machine-2j5f</link>
      <guid>https://dev.to/arundhaj/how-to-create-and-run-angular-app-using-docker-without-installing-node-in-the-host-machine-2j5f</guid>
      <description>&lt;p&gt;In this video, I'll show how to create and run Angular app using Docker, without installing Node in the Host machine&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/e4n8Dja5PKo"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>angular</category>
      <category>docker</category>
      <category>node</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
