<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on Salman's Blog</title><link>https://salmanfs.ca/tags/python/</link><description>Recent content in Python on Salman's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 12 Sep 2021 06:13:58 +0000</lastBuildDate><atom:link href="https://salmanfs.ca/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Developing a Flask App &amp; Deploying on AWS</title><link>https://salmanfs.ca/posts/developing-a-flask-app-deploying-on-aws/</link><pubDate>Sun, 12 Sep 2021 06:13:58 +0000</pubDate><guid>https://salmanfs.ca/posts/developing-a-flask-app-deploying-on-aws/</guid><description>&lt;p&gt;&lt;a href="https://flask.palletsprojects.com/en/2.0.x/"&gt;Flask&lt;/a&gt; is a lightweight Python web framework.
It&amp;rsquo;s lightweight nature makes it a great candidate for creating APIs.
In this tutorial, I&amp;rsquo;m going to cover how to make a simple RESTful API service with Flask and host it on AWS.&lt;/p&gt;
&lt;p&gt;First, we&amp;rsquo;ll make a basic Flask app and use &lt;a href="https://docs.aws.amazon.com/elastic-beanstalk/index.html"&gt;AWS Elastic Beanstalk&lt;/a&gt; to deploy it.
Then, we&amp;rsquo;ll use &lt;a href="https://github.com/zappa/Zappa"&gt;Zappa&lt;/a&gt; to deploy a serverless app to &lt;a href="https://docs.aws.amazon.com/lambda/index.html"&gt;AWS Lambda&lt;/a&gt;. For more information on serverless architectures and how Zappa works, check out the &lt;a href="https://github.com/zappa/Zappa#about"&gt;About&lt;/a&gt; section on their GitHub page.&lt;/p&gt;</description></item><item><title>Nomad Rover</title><link>https://salmanfs.ca/posts/nomad-rover/</link><pubDate>Thu, 02 Jan 2020 07:43:53 +0000</pubDate><guid>https://salmanfs.ca/posts/nomad-rover/</guid><description>&lt;p&gt;This was a hackathon project for Mission Hacks 2018.
The theme was to create something that can be used by a hypothetical group of colonizers to
establish a settlement on &amp;ldquo;New Earth&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.facebook.com/CanadaRandstad/photos/basw.Abp4IYTQgbTVj4z-ZS730yyL22qmTNd6Ss709NIUUDmibtzaRZ1uk4-rDTvvvpJEpZLYBvIXnf08nw0r_61EbAjiNyFAf_2luc0jfdH3mlYwbJ_oKFLi5HgrDaBNAj6q_TCLfOoFyGOQ4tVItGWGRvJL.1866101276734794/1866101276734794/?type=1&amp;amp;theater"&gt;Our team&lt;/a&gt; decided to tackle the issue of exploring the new landscape.
We envisioned a fleet of autonomous drones and rovers that would traverse the new planet and identify known elements
while also taking various measurements and creating a map.
The team name &amp;ldquo;Nomad&amp;rdquo; came from the idea that we were going to wander about the &lt;em&gt;New Earth&lt;/em&gt; like nomads.&lt;/p&gt;</description></item><item><title>Adaptive Corrosion Protection System</title><link>https://salmanfs.ca/posts/adaptive-corrosion-protection-system/</link><pubDate>Thu, 02 Jan 2020 06:50:17 +0000</pubDate><guid>https://salmanfs.ca/posts/adaptive-corrosion-protection-system/</guid><description>&lt;p&gt;I worked on this project as a Research Assistant at the
&lt;a href="https://ciber.fas.sfu.ca/"&gt;Centre for Integrative Bio-Engineering Research (CIBER)&lt;/a&gt;,
a lab in SFU&amp;rsquo;s Faculty of Applied Sciences headed by Prof. Bozena Kaminska.
The goal of the project was to develop a corrosion protection system using cathodic protection.
It would measure soil conditions, calculate protection current and corrosion rate and supply protection voltage.&lt;/p&gt;
&lt;p&gt;We forked an open-source project, &lt;a href="http://microfluidics.utoronto.ca/gitlab/dstat/dstat-interface"&gt;DStat&lt;/a&gt;,
that some researchers at University of Toronto had been developing.
I worked on the GUI that would interface with the hardware module over serial USB.&lt;/p&gt;</description></item></channel></rss>