<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by mrcloudexplorer on Medium]]></title>
        <description><![CDATA[Stories by mrcloudexplorer on Medium]]></description>
        <link>https://medium.com/@vasanthabalaji?source=rss-8a5d0b334ae6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jnrAZecA1J167-Rb2pUANQ.png</url>
            <title>Stories by mrcloudexplorer on Medium</title>
            <link>https://medium.com/@vasanthabalaji?source=rss-8a5d0b334ae6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 10:47:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vasanthabalaji/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python Intermediate - FastAPI]]></title>
            <link>https://medium.com/@vasanthabalaji/python-intermediate-fastapi-896f981c031e?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/896f981c031e</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[intermediate]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Sun, 16 Jun 2024 12:34:58 GMT</pubDate>
            <atom:updated>2024-06-16T12:35:29.533Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Understanding of Python Frameworks</h4><h3>Understanding Fast API</h3><p>FastAPI is a modern, fast (high-performance) web framework for building APIs with Python 3.7+ based on standard Python-type hints.</p><p>The key features that make FastAPI stand out are</p><ul><li>Speed It’s one of the fastest Python frameworks available.</li><li>Ease of use It’s designed to be easy to use and learn.</li><li>Automatic docs It generates interactive API documentation (Swagger UI and ReDoc) automatically.</li><li>Dependency Injection FastAPI has an easy and powerful dependency injection system.</li></ul><h3>Wait First What is API 🤔</h3><p>An API, or Application Programming Interface, acts as a middleman between different software programs. It defines clear instructions for how applications can communicate and share data. This allows developers to easily integrate features and functionality from other programs into their own, without needing to understand the inner workings of those programs. Think of it like a set of rules that lets programs talk to each other and exchange information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*TRTge7m_LFVS1LD-TuDInA.gif" /></figure><p>This is what powers many of the features and connections we use every day in technology.</p><ul><li><strong>GET</strong>: Retrieve information.</li><li><strong>POST</strong>: Add information.</li><li><strong>PUT</strong>: Update information.</li><li><strong>DELETE</strong>: Remove information.</li><li><strong>PATCH</strong>: Edit part of the information.</li></ul><h3>Fast API File Structure</h3><p>When setting up a FastAPI project, a well-organized file structure is crucial for maintaining and scaling your application. reference each project has various needs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*AFfthormi22AMnSwPn_wdA.png" /><figcaption>FastAPI File structure</figcaption></figure><h3>Building Our First API with Fast API</h3><p>Let’s start by creating a simple API. First, ensure you have FastAPI and Uvicorn installed</p><pre>pip install fastapi uvicorn</pre><p>As a big fan of Kung Fu Panda, let’s create an API for those characters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*B_L4nOSXXoSdtKSMjaBK_A.gif" /></figure><h3>Run in localhost</h3><p>Now, let’s test our Kung Fu Panda API locally</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RRn3oWuUMByRcNQ4D3S1Bw.png" /></figure><p>following these links</p><ul><li><a href="http://127.0.0.1:8000/">http://127.0.0.1:8000</a></li><li><a href="http://127.0.0.1:8000/characters">http://127.0.0.1:8000/characters</a></li><li><a href="http://127.0.0.1:8000/docs">http://127.0.0.1:8000/docs</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*RgO1wJNFrfdTZsy7-29QFg.gif" /></figure><p>If everything works well, we should be able to fetch information about characters in the Kung Fu Panda movies.</p><h3>GitHub code</h3><p><a href="https://github.com/Vasanthabalaji01/python_fastAPI">GitHub - Vasanthabalaji01/python_fastAPI: Python Intermediate - FastAPI An Understanding of Python Frameworks</a></p><h3>Deployment with Koyeb</h3><p>Now that our Fast API is ready, let’s deploy it using Koyeb, a cloud application hosting platform for developers. Follow these steps</p><ol><li>Sign up on <a href="https://www.koyeb.com/">Koyeb</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9J8pDj2s8a40hceXAjdJGQ.png" /></figure><p>2. Use GitHub authentication to continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-riNGZQwYqmBbVU-PPQivA.png" /></figure><p>3. Create a new web service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0BjIF4w_Wo9odMPAloIOmw.png" /></figure><p>4. Select the method of deployment and use GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilv7SPQaDxUEU2DC7dQM6w.png" /></figure><p>5. Choose GitHub as your repository and connect it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KUGV8k5kY-zFs92J55E6nw.png" /></figure><p>6. Select build pack to configure the run command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1LCtQLTUC215ahEl2DEluA.png" /></figure><p>7. Select override on run command is needed other build and work directory is optional as we use</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*Vls3FnDeTl44zFgueB31WA.png" /></figure><pre>uvicorn app.main:app --host 0.0.0.0 --port 8000 # Our API use</pre><p>For some use cases, you might need</p><pre>uvicorn main:app --host 0.0.0.0 --port 8000 # In some other use case</pre><p>8. Name your API service and app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oysMTpr5lyTxnBJWKQjKbg.png" /></figure><p>9. Click the deploy button to start the deployment process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uqOQi5hexZPxFgeBTFGkw.png" /></figure><p>Now, our API is building, automatically creating the environment, cloning our repository and requirement files. Once completed, the server will be up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*50U39hoM-hWX-Rt8GG5Y5g.png" /></figure><p>Our API run time is completed and the server is up streaming</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-jD-8XCEAU19Ee7-s9qsYA.png" /></figure><h4>Accessing the Deployed API</h4><ul><li>Home of API - <a href="https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/docs">https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TNbseSvQwBTum4nI5VxPw.png" /></figure><ul><li>Characters - <a href="https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/docs">https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/characters</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qa4B4YDJkmO1m0TkpiOlGg.png" /></figure><ul><li>FastAPI Docs - <a href="https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/docs">https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/docs</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qb0i_rosmBtR2K7NoInaiw.png" /></figure><p><a href="https://kung-fu-panda-mr-cloud-explorer-1caa5076.koyeb.app/">Kung-Fu-Panda API</a></p><p>Congratulations! You’ve successfully built and deployed your first FastAPI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*Z6D7vooAq6xqhTycx0kzKg.gif" /></figure><p>In the next blog post, we’ll explore another framework and create a simple app, continuing our journey into the exciting world of Python development. Stay tuned!</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=896f981c031e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Intermediate - Django]]></title>
            <link>https://medium.com/@vasanthabalaji/python-intermediate-django-0389792a1c79?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/0389792a1c79</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[django-framework]]></category>
            <category><![CDATA[intermediate]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Fri, 31 May 2024 20:38:14 GMT</pubDate>
            <atom:updated>2024-05-31T21:14:19.087Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Understanding of Python Frameworks</h4><h3>Understanding Django</h3><p>Python frameworks provide developers with a structured and efficient way to build applications. Django, a robust web framework for Python, has become a go-to choice for developers aiming to build scalable and maintainable web applications. In this blog, we&#39;ll delve into the core concepts of Django, and its file structure, and guide you through creating your first Django app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*uKKyUDrOcskf7oFu9xFMWQ.gif" /></figure><p>Django follows the Model-View-Template (MVT) architectural pattern, gives a reusability, less code, and rapid development environment. It comes bundled with essential components, allowing developers to focus on building features rather than reinventing the wheel.</p><h3>Django’s File Structure</h3><p>Before coding, let’s explore Django’s file structure. Understanding how Django organizes files is crucial for maintaining a well-structured project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*VDVMrv0w7imm_ofmzQC7pQ.png" /><figcaption>file strctureof django</figcaption></figure><p><strong>personal_blog</strong> (main project directory)</p><ul><li><strong>init.py</strong></li><li><strong>settings.py</strong> (core project configuration)</li><li><strong>urls.py</strong> (main URL patterns)</li><li><strong>wsgi.py</strong> (web server deployment configuration — optional)</li><li><strong>asgi.py</strong> (advanced — asynchronous server gateways — optional)</li><li><strong>manage.py</strong> (project management utility)</li><li><strong>README.md</strong> (project information and setup instructions — optional)</li><li><strong>requirements.txt</strong> (list of Python dependencies)</li></ul><p><strong>db.sqlite3</strong> (database file — if using SQLite)</p><p><strong>blog</strong> (directory for the blog application)</p><ul><li><strong>init.py</strong></li><li><strong>admin.py</strong> (admin interface configuration)</li><li><strong>apps.py</strong> (optional — blog app configuration)</li><li><strong>forms.py</strong> (optional — user interaction forms)</li><li><strong>models.py</strong> (data models for the blog app — Post, Category, Comment, etc.)</li><li><strong>tests.py</strong> (optional — unit tests for the blog app)</li><li><strong>urls.py</strong> (URL patterns for the blog app)</li><li><strong>views.py</strong> (Python functions handling user requests for the blog app)</li><li><strong>migrations</strong> (directory for database schema changes)</li><li><strong>init.py</strong></li><li><strong>0001_initial.py</strong> (and potentially other migration files)</li></ul><p><strong>templates</strong> (directory for HTML templates)</p><ul><li><strong>base.html</strong> (base template for layout)</li><li><strong>blog</strong> (subdirectory for blog-specific templates)</li><li><strong>category.html</strong> (template for displaying a category of posts)</li><li><strong>detail.html</strong> (template for displaying a single blog post)</li><li><strong>index.html</strong> (template for displaying a list of all blog posts)</li></ul><h3>Building a First Django Web Application</h3><p>Let’s start creating a simple Django Blog web app with the help of a <a href="https://realpython.com/build-a-blog-from-scratch-django/">link 🔗</a>.</p><p><strong>Start with an isolated environment</strong></p><ul><li>Creating a virtual environment using python -m venv venv.</li><li>Activating the virtual environment .\venv\script\activate.</li><li>Installing Django with python -m pip install Django.</li></ul><p><strong>Creating a Django Project</strong></p><ul><li>Provide the command to create a new project named personal_blog using django-admin startproject personal_blog ..</li></ul><p><strong>Starting the Development Server</strong></p><ul><li>Provide the command to start the server using python manage.py runserver.</li><li>Mention that you can access the server at http://localhost:8000 in your web browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kdvy6MhvU-4znBu2wSNfZQ.png" /><figcaption>Demo run django</figcaption></figure><p><strong>Creating the Blog App</strong></p><ul><li>Introduce the concept of Django apps and their role in project structure.</li><li>Provide the command to create a new app named blog within the project using python manage.py startapp blog.</li></ul><p><strong>Defining Blog Models</strong></p><ul><li>Explain the concept of models in Django and their role in representing data.</li><li>Briefly describe the three models used in this blog application: Post, Category, and Comment.</li></ul><p><strong>Creating Migrations and Updating Database</strong></p><ul><li>Explain the concept of migrations in Django for managing database schema changes.</li><li>Provide the commands for creating migrations (python manage.py makemigrations blog) and applying them to the database (python manage.py migrate blog).</li></ul><p><strong>Creating a Superuser</strong></p><ul><li>Explain the need for a superuser for administrative tasks.</li><li>Provide the command to create a superuser account with username, email, and password using python manage.py createsuperuser.</li></ul><p><strong>Registering Models with Admin</strong></p><ul><li>Provide the command to register the Post and Category models with the admin using python manage.py createsuperuser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMvbZoGEsCDJSXByKMVYeA.png" /></figure><p><strong>Creating Blog Views</strong></p><ul><li>Briefly describe the three views created for the blog: blog_index, blog_detail, and blog_category.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yRritWpynXeXprwgEPNfwA.png" /></figure><p><strong>Creating Blog Templates</strong></p><ul><li>Explain the role of templates in Django for displaying content.</li><li>Describe the creation of directories for blog templates: index.html, category.html, and detail.html.</li><li>Mention the creation of a base template named base.html for consistent layout across child templates.</li></ul><p><strong>Including Routes for URLs</strong></p><ul><li>Briefly explain the importance of URL patterns in mapping URLs to corresponding views.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L04ypg0F7yaPQDF2d_2sxQ.png" /><figcaption>Home view</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fkTKAjfoh22dLMSmqZf0nA.png" /><figcaption>Comments view</figcaption></figure><p>everything works well as expected.</p><h3>GitHub code</h3><p><a href="https://github.com/Vasanthabalaji01/python_Django">GitHub - Vasanthabalaji01/python_Django: Python Intermediate - Django An Understanding of Python Frameworks</a></p><h3>Deployment with EC2</h3><p>Now that our Django app is ready, let’s deploy it using EC2, on AWS Cloud Follow these steps</p><p><strong>Prerequisites</strong></p><ul><li>An AWS account with access to EC2 services (<a href="https://aws.amazon.com/">https://aws.amazon.com/</a>)</li><li>Your Django project code is stored in a Git repository (like GitHub)</li></ul><p><strong>Launch an EC2 Instance</strong></p><ul><li>Open the AWS Management Console and navigate to the EC2 service (<a href="https://aws.amazon.com/console/">https://aws.amazon.com/console/</a>).</li><li>Click on “Launch Instance”.</li><li>Choose an Amazon Machine Image (AMI) suitable for running a Django application. A popular choice is “Amazon Linux 2 AMI”.</li><li>Select an appropriate instance type considering your application’s memory and CPU requirements.</li><li>Configure storage for your instance (typically an EBS volume).</li><li>Review and configure other settings like security groups (allowing SSH access for now) and networking.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvN5WC87ErafCJxNg-2cXw.png" /></figure><ul><li>Launch the instance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P_u42kecYQvsFgqXk8DXNg.png" /></figure><p><strong>Connect to the EC2 Instance</strong></p><ul><li>Once the instance is running, note its public IP address from the EC2 console.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I-0p0kWnZ8SBc68PN7RHOg.png" /></figure><ul><li>Use an SSH client like PuTTY (Windows) or the terminal (Linux/macOS) to connect to the instance using its public IP address and your AWS credentials (key pair).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CUcw39g5itVYOE_-XVsnxQ.png" /></figure><p><strong>Install Dependencies</strong></p><ul><li>Update the package list and install Python3 and pip</li></ul><pre>sudo apt update #Updates_package_lists<br>sudo apt install python3 #installs_Python3<br>sudo apt install python3-pip #installs_package_manager_for_Python<br>sudo apt install python3-django #installs_Django_framework_for_Python3<br>sudo apt install git #installs_git_to_access_github</pre><p><strong>Deploy Your Code</strong></p><ul><li>There are several ways to deploy your code choose which you are comfortable with</li><li><strong>Git:</strong> Clone your Git repository onto the EC2 instance using git clone.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*YvWT-XdQ7wBi2drOQHchFg.png" /></figure><ul><li><strong>Manual Upload:</strong> Upload your project files to the instance using SCP or a file transfer tool.</li><li>Unzip the project files (if needed) and navigate to the project directory.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*SMxJ8U4sn3Q40gJ0DhbzhA.png" /></figure><p><strong>Allow Host</strong></p><ul><li>In path personal_blog/settings.py, add *, target domain name or IP Address of server</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*4Hij71ZsOZpgaAzViKoMgA.png" /></figure><p><strong>Migrate Data from SQLite File</strong></p><pre>Python3 manage.py makemigrations<br>Python3 manage.py migrate</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*GjXcToro1nihveJcdayFpw.png" /></figure><p><strong>Run the Development Server</strong></p><ul><li>Since we are not using a database externally, you can directly run the development server. <strong>However, keep in mind that the development server is not ideal for production environments.</strong></li></ul><pre>python3 manage.py runserver 0.0.0.0:8000</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*RgWubXbvHryju7ZBXyrE5Q.png" /></figure><p>This starts the development server …</p><blockquote><strong><em>Note:</em></strong><em> Check over inbound and outbound rules in the security group if any error occurs.</em></blockquote><p><strong>Accessing the Application</strong></p><ul><li>Since you’re running locally on the EC2 instance, you can access your application in a web browser on the EC2 instance itself by navigating to</li><li><strong>Blog App Home Page:</strong> <a href="http://ec2_ip_address:8000/">http://Ec2_IP_Address:8000/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73dlbjoQez3rGzrRwU7dxg.png" /></figure><ul><li><strong>Admin Panel:</strong> <a href="http://ec2_ip_address:8000/admin">http://Ec2_IP_Address:8000/admin</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGWDEEz40ZRd7HCC10zDFA.png" /></figure><p><a href="http://3.90.243.159:8000/">Blog App</a></p><p>Congratulations! You’ve successfully built and deployed your first Django app also deployed in EC2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*0SJASdaa3-EzV9rccS_eRQ.gif" /></figure><p>Django is a big framework so it contains several possible ways of understanding and deployment also it takes a hard time to learn it’s just an overview!!!, so it can seem overwhelming at first.</p><p>In the next blog post, we’ll explore another framework and create a simple app, continuing our journey into the exciting world of Python development. Stay tuned!</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0389792a1c79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Cleaning in Python]]></title>
            <link>https://medium.com/@vasanthabalaji/data-cleaning-in-python-59259c6645c3?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/59259c6645c3</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Sun, 28 Jan 2024 03:31:43 GMT</pubDate>
            <atom:updated>2024-01-28T03:31:43.964Z</atom:updated>
            <content:encoded><![CDATA[<p>Cleanup unwanted data with pandas &amp; NumPy</p><p>Have you ever wondered how messy data can lead to inaccurate analysis?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*CTuPbrVvQPsrPNp0VDc8aw.gif" /><figcaption>Cleaning…my dataset</figcaption></figure><p>In this blog, we’ll explore the essentials of cleaning data using two powerful Python libraries <strong>Pandas</strong> and <strong>NumPy. </strong>By the end, you’ll be well-equipped to tidy up your datasets and set the stage for meaningful insights.</p><h3>Why Clean Data Matters</h3><p>Messy data is the nemesis of accurate analysis. Cleaning your data ensures its quality, leading to reliable and trustworthy conclusions. Now, let’s roll up our sleeves and dive into the practical side of data cleaning using Pandas and NumPy.</p><h3>Pandas and NumPy Essentials</h3><p>just try this all along below code snippets and using a real-world example with a video game dataset, which you can <a href="https://github.com/Vasanthabalaji01/Play_with_Dataset/blob/main/video_games_dataset.csv">F<strong>ind here</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*FCC3yHPE6i66HLo-aya-OA.gif" /><figcaption>let’s analyze video games based on platform and sales</figcaption></figure><h4>Pandas Overview</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*zvljaTV7im-lic2rwyCv4w.png" /></figure><p>Pandas simplifies data cleaning with its intuitive DataFrame structure. Let’s look at a simple example of viewing data with read_csv()</p><pre># Import pandas library<br>import pandas as pd<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Display the DataFrame<br>print(df)</pre><h3>NumPy Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*el15GspyhAoCRcZ8mbc3fg.png" /></figure><p>NumPy excels in numerical operations, making it a go-to choice for data cleanup. Let’s look at a simple example of viewing data with genfromtxt()</p><pre># Import NumPy library<br>import numpy as np<br><br># Load the dataset using NumPy without Pandas<br>data = np.genfromtxt(&#39;video_games_dataset.csv&#39;, delimiter=&#39;,&#39;, names=True, dtype=None, encoding=None)<br>print(data)</pre><h3>Quick Data Cleaning Tasks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*eOOh0mq5lFB6NHhKHj7K_w.gif" /></figure><h4>Handling Missing Values</h4><p><strong>Pandas</strong></p><p>dropna()</p><blockquote>dropna() method in Pandas is used to remove missing or NaN (Not a Number) values from a DataFrame. When working with real-world datasets, it&#39;s common to encounter missing data, and handling it appropriately is crucial for accurate analysis.</blockquote><pre># Import pandas library<br>import pandas as pd<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Drop rows with missing values<br>df_cleaned = df.dropna()<br><br># Display the cleaned DataFrame<br>print(df_cleaned)</pre><p>fillna()</p><blockquote>fillna() method in Pandas is used to fill missing or NaN (Not a Number) values with a specified value or a calculated value. This method helps in data imputation, where missing values are replaced with meaningful or estimated values.</blockquote><pre># Import pandas library<br>import pandas as pd<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Fill missing values with a specified value (e.g., 0)<br>df_filled = df.fillna(0)<br><br># Display the DataFrame with filled values<br>print(df_filled)</pre><p><strong>NumPy</strong></p><p>isnan()</p><blockquote>isnan() function in NumPy is used to check for NaN (Not a Number) values in an array. It returns a Boolean array of the same shape as the input array, where each element is True if the corresponding element in the input array is NaN and False otherwise.</blockquote><pre>import numpy as np<br><br># Load the dataset using NumPy without Pandas<br>data = np.genfromtxt(&#39;video_games_dataset.csv&#39;, delimiter=&#39;,&#39;, names=True, dtype=None, encoding=None)<br><br># Print the column names to identify the correct name<br>print(data.dtype.names)<br><br># Check for NaN values in the &#39;Sales (Millions)&#39; column<br>nan_values = np.isnan(data[&#39;Sales_Millions&#39;])<br>print(nan_values)</pre><p>nan_to_num()</p><blockquote>nan_to_num() function in NumPy is used to replace NaN (Not a Number) and infinity values with zero and finite values, respectively, in an array. It is a useful function when you want to ensure that your data does not contain NaN or infinity values, and you want to replace them with specific values.</blockquote><pre># Import NumPy library<br>import numpy as np<br><br># Load the dataset using NumPy without Pandas<br>data = np.genfromtxt(&#39;video_games_dataset.csv&#39;, delimiter=&#39;,&#39;, names=True, dtype=None, encoding=None)<br><br># Replace NaN values with 0 using nan_to_num<br>data_no_nan = np.nan_to_num(data)<br>print(data_no_nan)</pre><h4>Removing Duplicates</h4><p>drop_duplicates()</p><blockquote>drop_duplicates() method in Pandas is used to remove duplicate rows from a DataFrame based on the values in one or more columns. Duplicate rows are identified by having the same values in the specified columns.</blockquote><pre># Import pandas library<br>import pandas as pd<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Drop duplicate rows based on all columns<br>df_no_duplicates = df.drop_duplicates()<br><br># Display the DataFrame without duplicates<br>print(df_no_duplicates)</pre><blockquote>NumPy itself doesn’t have a direct method for removing duplicate rows from an array like drop_duplicates() in Pandas. However, you can achieve this by using a combination of NumPy functions.</blockquote><pre>import numpy as np<br><br># Load the dataset into a NumPy array<br>data = np.genfromtxt(&#39;video_games_dataset.csv&#39;, delimiter=&#39;,&#39;, names=True, dtype=None, encoding=None)<br><br># Find unique rows using np.unique with return_index=True<br>_, unique_indices = np.unique(data, axis=0, return_index=True)<br><br># Create a new array with only unique rows<br>unique_data = data[unique_indices]<br><br># Display the result<br>print(unique_data)</pre><h4>Dealing with Outliers</h4><p>NumPy’s percentile()</p><blockquote>percentile() is a function in NumPy that calculates the value below which a given percentage of observations fall in a dataset. It is often used to identify and deal with outliers by determining a threshold beyond which data points are considered extreme.</blockquote><pre># Import pandas and NumPy libraries<br>import pandas as pd<br>import numpy as np<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Display the original DataFrame<br>print(&quot;Original DataFrame:&quot;)<br>print(df)<br><br># Handling missing values<br>df_cleaned = df.dropna(subset=[&#39;Rank&#39;, &#39;Title&#39;, &#39;Platform&#39;, &#39;Sales (Millions)&#39;])<br><br># Identify and remove outliers using NumPy&#39;s percentile<br>percentile_threshold = np.percentile(df_cleaned[&#39;Sales (Millions)&#39;], 75)<br>df_no_outliers = df_cleaned[df_cleaned[&#39;Sales (Millions)&#39;] &lt;= percentile_threshold]<br><br># Display the DataFrame without outliers<br>print(&quot;\nDataFrame without outliers:&quot;)<br>print(df_no_outliers)</pre><p>Pandas’ Visualization - matplotlib.pyplot</p><blockquote>matplotlib.pyplot is a module in the Matplotlib library, which is a popular Python plotting library for creating static, animated, and interactive visualizations in Python. <br>pyplot provides a simple interface to create various types of plots and charts.</blockquote><pre># Import pandas and matplotlib for visualization<br>import pandas as pd<br>import matplotlib.pyplot as plt<br><br># Load the dataset into a DataFrame<br>df = pd.read_csv(&#39;video_games_dataset.csv&#39;)<br><br># Plot a bar chart for sales by platform<br>df.groupby(&#39;Platform&#39;)[&#39;Sales (Millions)&#39;].sum().plot(kind=&#39;pie&#39;)<br>plt.ylabel(&#39;Platform&#39;)<br>plt.xlabel(&#39;Total Sales (Millions)&#39;)<br>plt.title(&#39;Total Sales by Platform&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*h5mEV3vg1Faa3Dckad533w.png" /></figure><h3>Conclusion</h3><p>Data cleaning is crucial for accurate analysis. upskill with this library like Pandas and NumPy will allow you to efficiently clean your data and reveal meaningful insights.</p><p>for more explore <a href="https://github.com/Vasanthabalaji01/Play_with_Dataset">Play_with_Dataset</a></p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59259c6645c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[venv or virtualenv]]></title>
            <link>https://medium.com/@vasanthabalaji/venv-or-virtualenv-671113544237?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/671113544237</guid>
            <category><![CDATA[venv]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[virtualenv]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Fri, 26 Jan 2024 03:31:38 GMT</pubDate>
            <atom:updated>2024-01-26T03:31:38.328Z</atom:updated>
            <content:encoded><![CDATA[<p>virtual environment In Python</p><p>Python beginners often struggle with the concept of virtual environments, with many choosing to skip it. However, when learning code from online sources, it’s common to see developers running their projects within a virtual environment. Today, let’s delve into this topic and push ourselves to the next level.</p><h3>Understanding Python Virtual Environments</h3><h4>What are Virtual Environments?</h4><p>Python virtual environments are isolated spaces where developers can manage dependencies and project-specific packages. They enable you to create a controlled environment, ensuring that your project runs smoothly, regardless of external factors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*E4-CUg5w1KlGmA_pQvTaQg.png" /></figure><h4>Why Use Virtual Environments?</h4><ol><li><strong>Isolation</strong> Each project can have its own virtual environment, preventing dependency conflicts between different projects.</li><li><strong>Version Control</strong> Virtual environments help manage Python and package versions, ensuring consistency across development and production environments.</li><li><strong>Cleaner Projects</strong> By encapsulating dependencies, you keep your project directory clutter-free and maintain a clean structure.</li></ol><h3>Creating a Virtual Environment with virtualenv</h3><p>Let’s explore by practical way to understand Virtual Environments</p><h4>Installing virtualenv</h4><p>To begin using virtual environments, you first need to install virtualenv. Open your terminal and run the following command</p><pre>pip install virtualenv</pre><h4>Creating a Virtual Environment</h4><p>Now that virtualenv is installed, let’s create a virtual environment for our project</p><pre>virtualenv venv</pre><p>This command creates a directory named venv that contains a fresh Python installation and a copy of the pip package manager.</p><h4>Activating the Virtual Environment</h4><p>To activate the virtual environment, use</p><ul><li>On Windows</li></ul><pre>venv\Scripts\activate</pre><ul><li>On Linux or MacOS</li></ul><pre>source venv/bin/activate</pre><p>You’ll notice that your terminal prompt changes to indicate the active virtual environment.</p><h4>Installing Packages</h4><p>With the virtual environment activated, you can install packages using pip as usual. These packages will be isolated to your project</p><pre>pip install package_name</pre><h4>Deactivating the Virtual Environment</h4><p>Once you’re done working in the virtual environment, deactivate it using</p><pre>deactivate</pre><h3>Creating a Virtual Environment with venv (Python 3.3 and later)</h3><p>For Python 3.3 and later, venv is available as a built-in module. Creating a virtual environment with venv is similar to virtualenv</p><pre>python -m venv venv</pre><h4>Activating and deactivating Venv</h4><p>Activation and deactivation of the venv environment are the same as virtualenv:</p><ul><li>On Windows</li></ul><pre>venv\Scripts\activate</pre><ul><li>On Linux or MacOS</li></ul><pre>source venv/bin/activate</pre><h4>Package Installation in venv</h4><p>Just like virtualenv, you can install packages using pip within the venv environment.</p><h3>Wrapping Up</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FccRN9H1zx8KSgUPgyD%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FccRN9H1zx8KSgUPgyD%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExN2d2ZTFjeHI0MzJjbGNtM3dncnIyOThtNWtuYzczcGJxdnM2djBjdSZlcD12MV9naWZzX2dpZklkJmN0PWc%2FccRN9H1zx8KSgUPgyD%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="218" frameborder="0" scrolling="no"><a href="https://medium.com/media/39cdc44878414f1bad39f4996ccb091b/href">https://medium.com/media/39cdc44878414f1bad39f4996ccb091b/href</a></iframe><p>Virtual environments are indispensable for Python development, providing a structured way to manage dependencies. Whether you choose virtualenv or venv depends on your Python version, but both serve the same fundamental purpose. Experiment with these and discover the power of encapsulating your Python projects.</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=671113544237" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Intermediate - Tkinter]]></title>
            <link>https://medium.com/@vasanthabalaji/python-intermediate-tkinter-2b5aa9473c5d?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b5aa9473c5d</guid>
            <category><![CDATA[tkinter]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[intermediate]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 19:27:07 GMT</pubDate>
            <atom:updated>2024-01-13T19:55:33.934Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Understanding of Python Frameworks</h4><h3>Understanding Tkinter</h3><p>As you journey through the world of Python, you’ll inevitably reach a point where you want to create graphical user interfaces (GUIs) for your applications. Tkinter is a powerful library that facilitates the creation of GUIs with ease. It’s based on the Tk GUI toolkit, which is known for its simplicity and versatility. Tkinter provides a wide range of widgets (buttons, labels, entry fields, etc.) and layout managers to help you design your application’s interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Byh_O2y4pFAaEQ0d6_nmCA.gif" /></figure><p>In this blog post, we’ll explore Tkinter, understand its file structure, and build your first Tkinter application. Our goal is to create a Text editor application that runs seamlessly on Windows, Linux, and macOS.</p><h3>Tkinter File Structure</h3><p>Before coding, let’s establish a simple Tkinter file structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*Yp77_5vRK0oGmYqOZfjRSg.png" /></figure><p>In this structure, app.py is the main Python script for your Tkinter application, and the assets folder can store any additional resources your app may need like images, icons, audio, etc.</p><h3>Building Our First Tkinter App</h3><p>Now, let’s create a basic Tkinter application. First, ensure you have Tkinter installed</p><pre>pip install tk</pre><p>Now, let’s structure our project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*8M3-SBRHwCXQO4Jm3a68Fw.png" /></figure><h3>Run in localhost</h3><p>Now, let’s test our project locally</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bLdIJz92wqnG4ggEnhckkQ.png" /></figure><p>everything works well as expected.</p><h4>GitHub code</h4><p><a href="https://github.com/Vasanthabalaji01/python_Tkinter">GitHub - Vasanthabalaji01/python_Tkinter: Python Intermediate - Tkinter An Understanding of Python Frameworks</a></p><h3>Turning Your Tkinter Txeditor into an Application</h3><h4>Windows</h4><ul><li>Open a command prompt and run the following command to install PyInstaller</li></ul><pre>pip install pyinstaller</pre><ul><li>In the command prompt, navigate to the directory containing your app.py file.</li><li>Run the following command to create an executable file for your app</li></ul><pre>pyinstaller -F -w -i assets\Mr.Cloudexplorer_logo.ico Txeditor.py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vgzsxBn-pjzAmBtp2yqK3A.png" /></figure><p>This command generates a dist directory containing the executable file. The Txeditor option bundles everything into a single executable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*nU3HEqe2X0vToQO43OqQeA.png" /></figure><p>Navigate to the dist directory, and you&#39;ll find your standalone executable file (e.g., Txeditor.exe on Windows or Txeditor on Linux). This file can be distributed and run independently on both.</p><p>Just double-click and use the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KoVYRXGCNP2YhBvpqQD7QA.png" /></figure><p>Congratulations! You’ve successfully built and rendered your first Tkinter application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*-1ypGmr29hFHnFslsIBEEA.gif" /></figure><p>In the next blog post, we’ll explore another framework and create a simple app, continuing our journey into the exciting world of Python development. Stay tuned!</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b5aa9473c5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Intermediate - Flask]]></title>
            <link>https://medium.com/@vasanthabalaji/python-intermediate-flask-3bda0af03350?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bda0af03350</guid>
            <category><![CDATA[flask-framework]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[intermediate]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Fri, 12 Jan 2024 15:11:52 GMT</pubDate>
            <atom:updated>2024-06-16T10:34:31.763Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Understanding of Python Frameworks</h4><h3>Understanding Flask</h3><p>Flask, a micro-framework for Python, is renowned for its simplicity and flexibility. It empowers developers to create web applications with ease, making it an excellent choice for projects of varying scales.</p><p>In this blog post, we’ll understand Flask, explore its file structure, and build our first Flask app, complete with HTML, CSS, Bootstrap, and a touch of JavaScript for user experience. The dynamic landing page showcases “Mr.Cloudexplorer” and “Blog Shower App,” redirecting users to a randomly chosen blog post upon clicking the logo, sourced from a predefined list of URLs.</p><h3>Flask File Structure</h3><p>Before coding, let’s take a moment to understand Flask’s file structure.</p><p>A typical Flask project consists of folders like templates for HTML templates, static for static files (CSS, JS, images), and the main application file, usually named app.py.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*JbrHYL9Oga0LV9GblG9ePA.png" /><figcaption>Flask file Structure</figcaption></figure><p>Flask&#39;s lightweight nature means you have the flexibility to structure your project according to your preferences.</p><h3>Building Our First Flask App</h3><p>Let’s start by creating a simple Flask app. First, ensure you have Flask installed</p><pre>pip install Flask</pre><p>Now, let’s structure our project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*87r6WTYBb8ey_qONMgaJBQ.png" /></figure><h3>Run in localhost</h3><p>Now, let’s test our project locally</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R3ROwolqYa0T-RhYF1oM5A.png" /></figure><p>follow link <a href="http://127.0.0.1:5000/">http://127.0.0.1:5000</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f4b14vazJjmp88dcJJ4fNg.gif" /></figure><p>everything works well as expected.</p><h4>GitHub code</h4><p><a href="https://github.com/Vasanthabalaji01/python_flask">GitHub - Vasanthabalaji01/python_flask: Python Intermediate - Flask An Understanding of Python Frameworks</a></p><h3>Deployment with Render</h3><p>Now that our Flask app is ready, let’s deploy it using Render, a cloud application hosting platform for developers. Follow these steps:</p><ol><li>Sign up on <a href="https://render.com/">Render</a>.</li></ol><p>2. Create a new web service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*pbMU3Fw8H0-XIqYZUa7fyw.png" /></figure><p>3. Choose GitHub as your repository and connect it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XHZo_9OrjZEyqxdS8E10bA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LR5B9mRP0P98xLytPpN5dQ.png" /></figure><p>4. Enter the following details</p><ul><li>Give unique name</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*oBZhSgUoyWyFpaJ2bf3M4Q.png" /></figure><ul><li>Environment: Python</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*GbbJ3zPF_0O-Mh_RF-u7fQ.png" /></figure><ul><li>Build Command: pip install -r requirements.txt</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yMzgr0UuXjkro5du2MVmTg.png" /></figure><ul><li>Start Command: gunicorn app:app</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d6Q7pFlPPKq0yty7Ft8pqg.png" /></figure><ul><li>Choose free instance</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QeIsngIMulN2AVoQlBvmqQ.png" /></figure><ul><li>Click “Create Web Service”.</li><li>Wait till for the build, deployment, and running process yet to complete</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*yLb3b9GCyprtbLLPU4Ld1A.png" /></figure><p>Auto Save and Deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*AOz85eAy8WXaUGKNYLG2Xw.png" /></figure><p>Render will automatically detect your Flask app, install dependencies, and deploy it. Once deployed, you’ll receive a live URL where you can view your Flask app in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*DARCXGle-GICIM9LHreJdw.png" /></figure><p><a href="https://python-flask-bx0k.onrender.com/">BlogShower App</a></p><p>Congratulations! You’ve successfully built and deployed your first Flask app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*pc8WTT8gmN7FEMvgLG3mNw.gif" /></figure><p>In the next blog post, we’ll explore another framework and create a simple app, continuing our journey into the exciting world of Python development. Stay tuned!</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bda0af03350" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Intermediate]]></title>
            <link>https://medium.com/@vasanthabalaji/python-intermediate-c231236fdbb5?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c231236fdbb5</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[intermediate-python]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 18:58:02 GMT</pubDate>
            <atom:updated>2024-06-16T19:48:23.636Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Understanding of Python Frameworks</h4><p>In Python development, frameworks play a crucial role in shaping the way applications are built and structured. Whether you are venturing into web development, software development, or exploring cross-platform solutions, understanding frameworks is key to writing efficient and scalable code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*tmDUQtPXZbpybgBd2IA4eg.gif" /></figure><p>In this blog post, we’ll delve into the concept of frameworks and explore specific examples in web application development and software development for cross-platform applications.</p><h3>Understanding Frameworks</h3><p>A framework is essentially a pre-built structure that provides a foundation for developers to build upon. It offers a set of tools, libraries, and conventions that simplify common development tasks, allowing developers to focus on application-specific logic rather than reinventing the wheel. Frameworks act as a scaffold, providing a blueprint for organizing code and handling routine processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TN46OSNMAzG-mv47g1fhdg.gif" /></figure><h3>Web Application Frameworks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*WD6Med_m8h_S-77N2dS6fQ.png" /></figure><p>Django is a high-level web framework that follows the “batteries-included” philosophy. It comes with an ORM (Object-Relational Mapping), an admin interface, and built-in security features. Popular websites like Instagram harness Django’s power for their backend, showcasing its scalability and reliability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*Jn20_n-sn_ctf6k4-XKGsQ.png" /></figure><p>Flask, a micro-framework, takes a minimalist approach. It provides the essentials for web development, allowing developers to choose and integrate additional components as needed. Pinterest’s API is a notable example of Flask in action, emphasizing its flexibility for smaller projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*TpY9U2sIZviChfAhM9beVA.png" /></figure><p>FastAPI has gained traction for its speed and simplicity in building APIs. While it may not power a specific famous site, its adoption in various projects for its performance speaks volumes. FastAPI is especially favored for its automatic OpenAPI and JSON Schema generation.</p><h3>Software Development Frameworks (Cross-platform)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*_tg4jZ-6tMszjMnuMhi23A.png" /></figure><p>These frameworks are Python bindings for the Qt framework, offering a comprehensive set of tools for creating cross-platform applications. Applications like Clementine, a cross-platform music player, leverage PyQt to provide a consistent user interface across different operating systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*OXhilNw4HWgEWP8IQQnshA.jpeg" /></figure><p>Kivy is tailored for developing multi-touch applications. The game “2048” is an example of a Kivy-based application available on multiple platforms, showcasing its versatility in creating interactive and platform-independent experiences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*rcnc1AMyLL47fxZOn4n9rw.jpeg" /></figure><p>As the standard GUI toolkit bundled with Python, Tkinter is widely used for building graphical interfaces. IDLE, Python’s integrated development environment, is a prime example, demonstrating Tkinter’s capability to create intuitive and user-friendly interfaces for applications.</p><h3>What’s Next?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*AWUSoX2cIEVZT3m0UBnfCQ.gif" /></figure><p>Understanding these frameworks sets the stage for the next step - putting theory into practice. In the upcoming blog posts, we’ll explore each framework in detail, building simple applications and guiding you through the deployment process.</p><p>Whether you’re interested in web development, cross-platform software, or both, these hands-on tutorials will provide a practical understanding of how to leverage these frameworks effectively.</p><p>Stay tuned for our journey into <a href="https://medium.com/@vasanthabalaji/python-intermediate-flask-3bda0af03350">Flask</a>, <a href="https://medium.com/@vasanthabalaji/python-intermediate-django-0389792a1c79">Django</a>, <a href="https://medium.com/@vasanthabalaji/python-intermediate-fastapi-896f981c031e">FastAPI</a>, <a href="http://./">PyQt/PySide</a>, <a href="http://./">Kivy</a>, and <a href="https://medium.com/@vasanthabalaji/python-intermediate-tkinter-2b5aa9473c5d">Tkinter</a>, where we’ll transform theoretical knowledge into tangible skills by creating functional applications and deploying them for the world to see.</p><p>Happy coding!</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c231236fdbb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring AI and ML in Computer Vision]]></title>
            <link>https://medium.com/@vasanthabalaji/exploring-ai-and-ml-in-computer-vision-3a4d65f2a1f1?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a4d65f2a1f1</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[pose-estimation]]></category>
            <category><![CDATA[ai-ml-app-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 04:02:02 GMT</pubDate>
            <atom:updated>2023-11-30T04:02:02.209Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Journey into Pose Estimation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*QLWmEvEdGUowx5SP.jpg" /></figure><h4>Introduction</h4><p>On the exciting journey into the realms of Artificial Intelligence (AI) and Machine Learning (ML) within the domain of Computer Vision opens up a world of possibilities. In this blog post, we’ll delve into the fascinating field of pose estimation, showcasing a sample application on a team sports web platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/0*3v3GIdZN7L6xLQN-" /></figure><h4>What is Pose Estimation?</h4><p>Pose estimation involves determining the spatial positions of key points on a person’s body, often represented by joints. Through the magic of AI and ML, computers can analyze images or video frames to infer the poses of individuals, leading to a myriad of applications.</p><h4>Sample Project: Sports Web Application</h4><p>Setting the Stage</p><p>For our inaugural attempt at incorporating AI and ML into a team sports web application, we’ll focus on pose estimation. This technique can be particularly valuable for sports training, performance analysis, and even fan engagement.</p><h4>The Technology Stack</h4><p>Our chosen tools for this project are OpenCV and MediaPipe. OpenCV is a powerful computer vision library, and MediaPipe, developed by Google, provides pre-trained ML models for various tasks, including pose estimation.</p><ul><li>Flask</li><li>OpenCV -CV2</li><li>MediaPipe</li><li>numpy</li></ul><h4>The Sample Output</h4><p>Take a look at the sample output image generated by our team sports web application</p><p><a href="https://drive.google.com/file/d/1kcKSXNAFHoHglP1vB6hy_2QvpcYpMzVU/view?usp=sharing">output.wmv</a></p><h4>The Code Repository</h4><p>To replicate and explore further, find the complete code on our GitHub repository</p><p><a href="https://github.com/Vasanthabalaji01/Pose-estimation-">GitHub - Vasanthabalaji01/Pose-estimation-: sample try over a team sports webapplication</a></p><h4>How It Works</h4><p>Our web application utilizes Flask, a popular Python web framework, to serve the pose estimation results. The application captures video frames in real-time using OpenCV, processes them with the MediaPipe pose estimation model, and overlays the detected poses on the video feed. The code also includes features such as counting repetitions and tracking exercise stages.</p><h4>Conclusion</h4><p>Venturing into AI and ML in computer vision, particularly with pose estimation, offers a glimpse into the future of interactive and intelligent applications. This sample project on a team sports web application serves as an initial foray, showcasing the potential applications of these technologies in the sports domain.</p><p>Feel free to explore the code, experiment with different applications, and share your experiences. <a href="https://github.com/Vasanthabalaji01/Pose-estimation-">The GitHub repository</a> is your gateway to understanding, modifying, and expanding on the concepts covered in this blog post.</p><p>Let this be the starting point for your exploration into the exciting intersection of AI, ML, and Computer Vision!</p><p>Happy Learning ;)</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a4d65f2a1f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nessus on Kali Linux]]></title>
            <link>https://medium.com/@vasanthabalaji/nessus-on-kali-linux-9f38e66eb085?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f38e66eb085</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[nessus]]></category>
            <category><![CDATA[cyber-security-tools]]></category>
            <category><![CDATA[nessus-essentials]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Wed, 29 Nov 2023 12:35:50 GMT</pubDate>
            <atom:updated>2023-11-29T12:35:50.856Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Web Security Automate Tool - Installation to Scan.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*FRXvfOWo7akQQM-Y" /></figure><p>Today, let’s see Nessus, a powerful tool that can fortify your web applications against potential threats. Buckle up as we explore the installation, configuration, and dynamic web scanning capabilities that Nessus brings to the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*8N19LOT6dQDepf44" /></figure><h3>Installing and Configuring Nessus on Kali Linux</h3><h4>Download Nessus</h4><p>Your adventure begins by venturing into the official Nessus website. There, you’ll find the gateway to enhanced web security. Grab the Nessus .deb file your ticket to a more secure online presence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIrRATFjAzBDof_xI8URFA.png" /><figcaption>Nessus Download Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*JQQKBKooBjwzL6HoXh3TRw.png" /><figcaption>File in Downloads</figcaption></figure><h4>Install Nessus</h4><p>With the file in hand, you’ll dive into the terminal, Kali Linux’s command center. Navigate to the directory where Nessus awaits and perform the installation ritual using the sacred command:</p><pre>sudo dpkg -i &lt;filename.deb&gt;</pre><p>Start Nessus Service:</p><pre>/etc/init.d/nessusd </pre><pre>Systemctl start nessusd</pre><h4>Access Nessus Web Interface</h4><p>To enter the lair of Nessus, open your browser and navigate to `<a href="https://localhost:8834`">https://localhost:8834`</a>.</p><ul><li>Craft your login credentials</li><li>your key to unlocking the potential within.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*5OYNfc2-PRr07ZZ8-UeLPA.png" /><figcaption>Nessus login page</figcaption></figure><h4>Nessus Setup</h4><p>Follow the mystical on-screen instructions to complete the setup, a journey that may involve accepting a license agreement and configuring additional settings. Embrace the process, for it is the foundation of a more secure future.</p><h3>Performing a Web Application Scan</h3><h4>Create a Folder</h4><p>Navigate to the “Scans” realm within the Nessus web interface. Create a sacred folder, a sanctum for organizing your scans and unleashing the power within.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*DhjAIwwXEupAUmMP4Olqug.png" /><figcaption>Create a New Folder</figcaption></figure><h4>Initiate a Web Application Scan</h4><p>Embark on the quest for knowledge by clicking “New Scan.” Choose the path of “Web Application Tests,” a journey that promises deeper insights into your web application’s vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCpJw6QoN-927ISoCSMqkw.png" /><figcaption>Choose a Template as need</figcaption></figure><h4>Fill in Scan Details</h4><p>Empower your scan with the essence of knowledge:</p><ul><li>Name - Bestow upon your scan a name that echoes its purpose.</li><li>Description - Etch the details of your quest for future reference.</li><li>Folder - Select the sacred folder you’ve created.</li><li>With Path - Unveil the URL or path of the web application</li><li>Your chosen domain (e.g., <a href="http://192.168.56.102/">http://192.168.56.102</a>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UOKLuy1A6ft5R8PDi25c3Q.png" /><figcaption>Fill Scan Template</figcaption></figure><h4>Start the Scan</h4><p>With details in place, invoke the scanning ritual by clicking “Start Scan.” Let the digital echoes of your web application reverberate through the realms of Nessus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e5u1dNcPJsSml2MLrPzJoA.png" /><figcaption>Scan starts..</figcaption></figure><h4>Monitoring the Scan</h4><p>As the digital tapestry unfolds, patience becomes your virtue. The duration of your scan depends on the size and complexity of the web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cozkqMb7EgLvn-jsMhxRlg.png" /><figcaption>Monitor screen</figcaption></figure><h4>Viewing the Scan Report</h4><p>The journey bears fruit as you navigate to the scan results. Witness the detailed report - an atlas of identified vulnerabilities and their significance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*F6WuIwqw5yrWAMmC559LPg.png" /><figcaption>Generate Report</figcaption></figure><h4>Exporting the Report</h4><p>Nessus, benevolent in its wisdom, offers the ability to export the scan report in various formats. Choose the format that suits your quest for knowledge and future fortification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*5I3iOjQMbUITJcPWgJxicQ.png" /><figcaption>Exported file as pdf</figcaption></figure><p><a href="https://drive.google.com/file/d/1zF552p99vObTykL9hUZKjNgezTcS0sgw/view?usp=sharing">View Demo File</a></p><p>In the world of cybersecurity, Nessus stands as a most used automate scanner tool, and with this guide, you’ve unlocked the gateway to enhanced web security. May your scans be thorough, your vulnerabilities revealed, and your defenses fortified. Onward, brave cybernaut!</p><p>Happy Learning ;)</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f38e66eb085" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guide to Building Your Own OTT Platform with Emby on AWS]]></title>
            <link>https://medium.com/@vasanthabalaji/guide-to-building-your-own-ott-platform-with-emby-on-aws-f7445517a76d?source=rss-8a5d0b334ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7445517a76d</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ott]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[emby]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[mrcloudexplorer]]></dc:creator>
            <pubDate>Mon, 13 Nov 2023 16:12:14 GMT</pubDate>
            <atom:updated>2023-11-13T16:12:14.365Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building Your Own OTT Platform with Emby on AWS</h4><p>In a world where streaming has become the new TV, why not create your personal space to manage and binge-watch your favorite shows?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4lL55DvEFSAt5rT6" /><figcaption>Our Own Netflix</figcaption></figure><p>We’re about to embark on a delightful journey into the world of Over-The-Top (OTT) platforms. It’s time to explore how you can whip up your very own OTT platform with the help of Emby and Amazon Web Services (AWS). You’ll soon be the master of your media universe!</p><h3>What in the World is Emby?</h3><p>But wait, before we dive into the geeky stuff, what’s Emby? It’s like a magic box for your media collection. Emby lets you organize, spruce up your media, and then stream it on any device you please. It’s got more tricks up its sleeve than a magician on caffeine.</p><h3>Ready, Set, Emby on AWS!</h3><p>Now, let’s get down to business and set up Emby on AWS. AWS is like your genie in the cloud, ready to grant your wishes of unlimited media streaming.</p><h4>Step 1 Make Friends with AWS</h4><p>First things first, you need an AWS account. Don’t worry; they won’t send you an owl. You can sign up for free and get started.</p><h4>Step 2 Summon an EC2 Instance</h4><p>Time to cast a spell and create your virtual server using AWS’s Elastic Compute Cloud (EC2). Choose the right spell book (Amazon Machine Image) — usually a Linux one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sbeDTqDUzMlWKGPxmqF5Jg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*meu7ooJMsKw2iicMKNMoZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGQb5cEmocuKYE3hKHg6cw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HwocFYFjadUphqf3_Kucjg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sfCXin0ROFjrS1biibxBZQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-_pFRYBlKCEQcTUpvXojQ.png" /></figure><h4>Step 3: Lock &amp; Key — Security Groups</h4><p>Build your castle walls by configuring security groups to allow access to Emby’s web interface and streaming ports. No unwanted media knights here!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-JjnKrp4JDHfrOr6_9whEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aIZRBTDWcB4VEFPhvlG9Yw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5r4v7EPWdOYj9VNAyuGatg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7r_bvjnMiDjn9GrxXo9vng.png" /></figure><h4>Step 4: Emby, at Your Service</h4><p>Log into your magical AWS instance through SSH and install Emby Server. The installation instructions are like a wizard’s recipe, easy to follow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wRFvSJ5ZNUrbOPChRSHnqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RzLdDyEXTC48TlXx93c9Sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7snX3Nq11NmuIrI-f_oBg.png" /></figure><p>Select based on OS you use <a href="https://emby.media/linux-server.html">Emby Server For Linux</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j6L7Z3vPfxnHfdQO1cTfsg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UukCw7D_sawksmCp0VUbew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZVColyOpdDEOCM4TyXExeA.png" /></figure><h4>Step 5: Customize Your Magic Realm</h4><p>Access Emby’s web interface through your server’s IP address or domain name. From there, you can arrange your media libraries, control who gets access, and fiddle with all the settings you desire.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*S8_zt_Xse92buTbgrTkfAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j1dI21JoZj_KHDbsCx_UEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_tLvla8KfwZAaR3WTrA0og.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CCoRDPgrP85nulW7mEEpBA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLZ-9Jx2YtMc4sQOHhJ24A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZVi9ww3SUt4HrkZBxcyu-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fNFT0eUnSVZOLtmqzHiRIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*756A30aXyT-w5gLCI2BSgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9OxDTBNZ3XHbiJO7W8-xQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wRCNQxqxwVmaXtz96ZYAlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pb7YEWKwZ8UfSS9tZnhnAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9fjOr2LvprBkrpyaNBNMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SowYuvk7kCON3D2k8i8qMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x2hanTfh6-SBbmlM9buMXg.png" /></figure><h4>Step 6: Magic Content — Poof!</h4><p>Upload your magical media to your AWS server with WinSCP</p><p>Download <a href="https://winscp.net/eng/index.php">WinSCP</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZvcHkiumOsYodK917iR2Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7b1rixDd8d7VMu6EwhCCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vkOHZkKYYkrohidXP1zcZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9-tGYw7VW02dyPrVrOlig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uayIFEb8gjXMLL9LUVSKHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dlhoiQ_ByFq0FEJBrRaXcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQjt3QT0Xy_Kx6wYEwX9UA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s9RNRBKCoCE2rG_rEoeN8Q.png" /></figure><p>Now its easy to drag and drop your movies here to upload on our AWS server</p><p>Some times magic may fail try ‘ <em>chmod 777 [file1,folder] [file2] [file3] ’</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l4-3gqyCaJM91RJ4DAn_Ow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*Vg_gWXE53UNgVplbAvjK1A.png" /></figure><p>Emby will do the rest, sprinkling metadata and organizing it, as if by magic!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lLmGATtCfCp-meqBxFIccQ.png" /><figcaption>AWS Emby</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xLgJ3YuvwFBwfDzF73fbbQ.png" /></figure><h3>Conclusion You’re the Media Overlord!</h3><p>Voila! With your newly created OTT platform powered by Emby and AWS, you’re now the king or queen of your media kingdom. You’ve got the remote, and you get to decide what plays on your screen. Be it an epic fantasy or a sci-fi thriller, you’re in charge. So why wait? Start building your own streaming empire today and enjoy media on your terms. It’s like having your very own Netflix, but with extra laughs and fun!</p><p>Happy Learning ;)</p><p><strong>Reach me 👨‍💻</strong></p><ul><li>LinkedIn -<a href="https://www.linkedin.com/in/vasanthabalaji/">🟦</a></li><li>Instagram -<a href="https://www.instagram.com/mrcloudexplorer">🟥</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7445517a76d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>