Code Your Own Heroku Clone with Python – Provision Infrastructure Programmatically Tutorial
By freeCodeCamp.org
Published: Jun 02, 2022“
Learn all about how to provision infrastructure programmatically by building a simplified Heroku clone with Python. At the end you will also learn how to provision a web app on AWS using JavaScript.Beau Carnes developed this course.
Code: https://github.com/beaucarnes/herocool
Resources
- Installing Pulumi: https://www.pulumi.com/docs/get-start…
- Get free AWS account here: https://aws.amazon.com/free/
- Installing AWS CLI: https://docs.aws.amazon.com/cli/lates…
- Get AWS Access key ID and secret access key: https://docs.aws.amazon.com/cli/lates…
Course Contents
- (0:00:00) Introduction
- (0:04:49) Setup environment
- (0:10:10) Initial Flask code
- (0:13:05) Pulumi app
- (0:17:37) HTML templates
- (0:25:06) Provisioning websites code
- (0:42:35) Provisioning VMs code
- (0:50:48) Create SSH key/value pair
- (0:53:45) Testing app
- (1:05:03) Connecting to created VM
- (1:07:31) Provisioning using JavaScript
- (1:19:09) Conclusion
”
Tag: python
[#Script #Coding] Algorithms in Python – Full Course for Beginners
Algorithms in Python – Full Course for Beginners
By freeCodeCamp.org
Published: Sep 22, 2022“
In this Introduction to Algorithms in Python course, you’ll learn about algorithm basics like recursion and then go all the way to working with concepts like dynamic programming.The 5 main course segments include simple recursive algorithms, data structures, divide & conquer, greedy algorithms, and dynamic programming.
Joy Brock developed this course in collaboration with realtoughcandy.io. Check out Joy’s channel: https://www.youtube.com/c/PythonLearn…
Sign up for the RealToughCandy newsletter and get a free ebook plus coding challenges, exclusive promo codes and more delivered directly to your inbox. https://realtoughcandy.com/newsletter…
Code Samples
- https://github.com/joyb0218/intro_to_…
- https://github.com/joyb0218/intro_to_…
- https://github.com/joyb0218/intro_to_…
- https://github.com/joyb0218/intro_to_…
- https://github.com/joyb0218/intro_to_…
Course Contents
- (0:00:00) Intro & course overview
- (0:07:07) Factorials refresher
- (0:10:04) CODING CHALLENGE: Factorial program using iteration, recursion
- (0:14:57) What is a permutation?
- (0:16:34) CODING CHALLENGE: Recursive permutation
- (0:20:13) Iterative permutation example
- (0:22:17) 8/N queens problem: theory & explanation
- (0:23:57) Real world example of permutations
- (0:24:49) Lesson recap
- (0:26:11) What are data structures?
- (0:27:53) What is a one-dimensional array?
- (0:29:01) Search & sort
- (0:30:39) CODING CHALLENGE: Linear search
- (0:31:00) Binary search
- (0:32:06) CODING CHALLENGE: Iterative binary search
- (0:33:31) Coding a recursive binary search
- (0:34:47) Bubble sort
- (0:36:42) CODING CHALLENGE: Bubble sort
- (0:38:02) Insertion sort
- (0:39:24) CODING CHALLENGE: Insertion sort
- (0:40:36) Linked lists
- (0:44:01) CODING CHALLENGE: Linked list (traverse, search, add, delete, header, nodes, tail)
- (0:52:12) Hash tables
- (0:56:27) Lesson recap
- (0:57:42) Divide & conquer algorithm paradigm: uses, benefits and more
- (1:00:43) Merge sort
- (1:02:48) CODING CHALLENGE: An efficient merge sort
- (1:05:48) Getting judged mercilessly on LeetCode
- (1:06:47) Getting Python to do the work for us with sorted()
- (1:07:33) Matrix multiplication
- (1:10:06) CODING CHALLENGE: Matrix multiplication
- (1:11:20) Strassen algorithm
- (1:14:45) CODING CHALLENGE: Strassen algorithm
- (1:16:27) Lesson recap
- (1:17:21) What is a greedy algorithm?
- (1:19:20) Assign mice to holes conceptual overview
- (1:21:45) CODING CHALLENGE: Assign mice to holes
- (1:23:10) Fractional knapsack
- (1:23:36) Understanding the fractional knapsack problem with a (light-hearted) dystopian apocalypse example
- (1:25:54) Coding challenge prep
- (1:27:13) CODING CHALLENGE: Fractional knapsack
- (1:31:49) Egyptians fractions
- (1:34:03) CODING CHALLENGE: Egyptian fractions
- (1:37:06) Lesson recap
- (1:38:15) What is dynamic programming (also called DP)?
- (1:41:55) What is the principle of optimality?
- (1:42:20) The 3-step process to solving a problem with optimal substructure
- (1:43:55) Introduction to “ugly numbers”
- (1:47:19) CODING CHALLENGE: Ugly numbers
- (1:51:41) Traveling salesman problem (TSP)
- (1:55:49) CODING CHALLENGE: Traveling salesman problem
- (1:59:52) Palindromic matrix paths
- (2:03:11) CODING CHALLENGE: Palindromic matrix paths
- (2:08:37) Lesson recap
- (2:10:03) Course wrap up (and the importance of coding every day)
[READ MORE]”
[#Script #Coding] Microservice Architecture and System Design with Python & Kubernetes – Full Course
Microservice Architecture and System Design with Python & Kubernetes – Full Course
By freeCodeCamp.org
Published: Nov 08, 2022“
Learn about software system design and microservices. This course is a hands-on approach to learning about microservice architectures and distributed systems using Python, Kubernetes, RabbitMQ, MongoDB, mySQL.Course from Kantan Coding. Check out his channel: https://www.youtube.com/channel…
Kubernetes API Reference: https://kubernetes.io/docs…
Contents
- (0:00:00) Intro
- (0:01:02) Overview
- (0:02:47) Installation & Setup
- (0:10:16) Auth Service Code
- (0:32:25) Auth Flow Overview & JWTs
- (0:53:04) Auth Service Deployment
- (0:56:08) Auth Dockerfile
- (1:20:05) Kubernetes
- (1:37:26) Gateway Service Code
- (1:42:34) MongoDB & GridFs
- (1:47:04) Architecture Overview (RabbitMQ)
- (1:49:50) Synchronous Interservice Communication
- (1:50:49) Asynchronous Interservice Communication
- (1:53:19) Strong Consistency
- (1:54:07) Eventual Consistency
- (2:19:16) RabbitMQ
- (2:21:16) Gateway Service Deployment
- (2:35:34) Kubernetes Ingress
- (2:46:28) Kubernetes StatefulSet
- (2:51:18) RabbitMQ Deployment
- (3:09:35) Converter Service Code
- (3:33:43) Converter Service Deployment
- (4:21:09) Checkpoint
- (4:22:11) Update Gateway Service
- (4:31:46) Notification Service Code
- (4:43:24) Notification Service Deployment
- (4:51:55) Sanity Check
- (5:05:54) End
References:
- https://www.mongodb.com/docs/
- https://www.rabbitmq.com/documentation.html
- https://docs.microsoft.com/en-us/azur…
- https://docs.microsoft.com/en-us/azure/…
- https://cloud.google.com/datastore/docs/…
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news”
[#Script #Coding] Python Programming for Beginners – Full Course
Python Programming for Beginners – Full Course
By freeCodeCamp.org
Published: Aug 09, 2022“
Learn the Python programming language in this full course for beginners! You will learn the fundamentals of Python and code two Python programs line-by-line. No previous programming experience is necessary before watching this course.Start using Replit: https://join.replit.com/python-students
Beau Carnes developed this course. Check out one of his other channels: https://youtube.com/zizyo
- Rock, Paper, Scissors Code: https://replit.com/@BeauCarnes/rps-py…
- Blackjack Code: https://replit.com/@BeauCarnes/blackj…
- Replit provided a grant that made this course possible.
- The Python Handbook by Flavio Copes: https://www.freecodecamp.org/news/the…
Course Contents
- (0:00:00) Introduction
Rock, Paper, Scissors Intro Project
- (0:03:11) RPS – Variables and Functions
- (0:09:07) RPS – Calling Functions
- (0:12:31) RPS – Dictionaries
- (0:15:28) RPS – User Input
- (0:16:55) RPS – Libraries, Lists, Methods
- (0:20:45) RPS – Function Arguments
- (0:22:33) RPS – If Statements
- (0:25:40) RPS – Concatenating Strings
- (0:27:13) RPS – f-strings
- (0:30:26) RPS – Else and Elif Statements
- (0:33:37) RPS – Refactoring and Nested If
- (0:38:37) RPS – Accessing Dictionary Values
- (0:41:55) RPS – Testing Game
Fundamentals of Python
- (0:43:52) Setup Python Locally
- (0:47:47) Creating New Repl
- (0:48:45) Variables
- (0:51:21) Expressions and Statements
- (0:52:38) Comments
- (0:54:23) Data Types
- (1:00:16) Operators
- (1:00:44) Arithmetic Operators
- (1:03:52) Comparison Operators
- (1:05:13) Boolean Operators
- (1:07:26) Bitwise Operators
- (1:07:42) is & in Operators
- (1:08:21) Ternary Operator
- (1:09:40) Strings
- (1:12:36) String Methods
- (1:16:41) Escaping Characters
- (1:19:23) String Characters & Slicing
- (1:21:45) Booleans
- (1:26:07) Number Data Types
- (1:28:19) Built-in Functions
- (1:29:50) Enums
- (1:32:51) User Input
- (1:34:39) Control Statements
- (1:36:48) Lists
- (1:46:21) Sorting Lists
- (1:49:57) Tuples
- (1:53:49) Dictionaries
- (2:01:45) Sets
- (2:06:10) Functions
- (2:16:57) Variable Scope
- (2:18:35) Nested Functions
- (2:21:37) Closures
- (2:22:59) Objects
- (2:26:27) Loops
- (2:32:01) Break and Continue
- (2:33:02) Classes
- (2:39:12) Modules
- (2:45:55) Arguments from Command Line
- (2:52:42) Lambda Functions
- (2:54:51) Map, Filter, Reduce
- (3:02:41) Recursion
- (3:04:42) Decorators
- (3:06:45) Docstrings
- (3:09:54) Annotations
- (3:11:30) Exceptions
- (3:17:09) With
- (3:18:26) Installing Packages with pip
- (3:21:39) List Compression
- (3:23:09) Polymorphism
- (3:24:23) Operator Overloading
Blackjack Card Game Project
- (3:26:58) Blackjack – Beginning
- (3:50:13) Blackjack – Deck Class
- (3:58:45) Blackjack – Card Class
- (4:03:25) Blackjack – Hand Class
- (4:21:13) Blackjack – Game Class
- (4:37:04) Blackjack – Testing
- (4:39:36) conclusion
[#Script #Coding] Algorithmic Trading Using Python – Full Course
Algorithmic Trading Using Python – Full Course
By freeCodeCamp.org
Published: Dec 04, 2020“
Learn how to perform algorithmic trading using Python in this complete course. Algorithmic trading means using computers to make investment decisions. Computer algorithms can make trades at a speed and frequency that is not possible by a human.After learning the basics of algorithmic trading, you will learn how to build three algorithmic trading projects.
Code: https://github.com/nickmccullum/algor…
?? Course developed by Nick McCullum. Learn more about Nick here: https://nickmccullum.com/
Course Contents
- (0:00:00) Algorithmic Trading Fundamentals & API Basics
- (0:17:20) Building An Equal-Weight S&P 500 Index Fund
- (1:38:44) Building A Quantitative Momentum Investing Strategy
- (2:54:02) Building A Quantitative Value Investing Strategy
Note that this course is meant for educational purposes only. The data and information presented in this video are not investment advice. One benefit of this course is that you get access to unlimited scrambled test data (rather than live production data), so that you can experiment as much as you want without risking any money or paying any fees.
This course is original content created by freeCodeCamp. This content was created using data and a grant provided by IEX Cloud. You can learn more about IEX Cloud here: https://iexcloud.io/
Any opinions or assertions contained herein do not represent the opinions or beliefs of IEX Cloud, its third-party data providers, or any of its affiliates or employees.
”
[#Script #Coding] Python TensorFlow for Machine Learning – Neural Network Text Classification Tutorial
Python TensorFlow for Machine Learning – Neural Network Text Classification Tutorial
By freeCodeCamp.org
Published: Jun 15, 2022“
This course will give you an introduction to machine learning concepts and neural network implementation using Python and TensorFlow. Kylie Ying explains basic concepts, such as classification, regression, training/validation/test datasets, loss functions, neural networks, and model training. She then demonstrates how to implement a feedforward neural network to predict whether someone has diabetes, as well as two different neural net architectures to classify wine reviews.Course created by Kylie Ying.
YouTube: https://youtube.com/ycubed
Twitter: https://twitter.com/kylieyying
Instagram: https://instagram.com/kylieyying/This course was made possible by a grant from Google’s TensorFlow team.
Resources
- Datasets: https://drive.google.com/drive/folder…
- Feedforward NN colab notebook: https://colab.research.google.com/dri…
- Wine review colab notebook: https://colab.research.google.com/dri…
Course Contents
- (0:00:00) Introduction
- (0:00:34) Colab intro (importing wine dataset)
- (0:07:48) What is machine learning?
- (0:14:00) Features (inputs)
- (0:20:22) Outputs (predictions)
- (0:25:05) Anatomy of a dataset
- (0:30:22) Assessing performance
- (0:35:01) Neural nets
- (0:48:50) Tensorflow
- (0:50:45) Colab (feedforward network using diabetes dataset)
- (1:21:15) Recurrent neural networks
- (1:26:20) Colab (text classification networks using wine dataset)
”
[#Script #Coding] Stardew Valley Game Clone with Python and Pygame – Full Course
Stardew Valley Game Clone with Python and Pygame – Full Course
By freeCodeCamp.org
Published: Aug 15, 2022“
Create a Stardew Valley style game with Python and Pygame. This includes farming and foraging, a day and night cycle, weather effects, and a merchant. The game was also made in Tiled so you can expand it yourself.Christian from Clear Code created this game. Check out his channel: https://www.youtube.com/c/ClearCode
Project files: https://github.com/clear-code-project…
Links to related pygame videos:
- Ultimate introduction to Pygame – https://www.youtube.com/watch?v=AY9Mn…
- Delta time in pygame – https://www.youtube.com/watch?v=rWtfC…
- Masks in pygame – https://www.youtube.com/watch?v=uW3Fh…
- Collisions – https://www.youtube.com/watch?v=W9uKz…
- Tiled – https://www.youtube.com/watch?v=N6xqC…
- Cameras – https://www.youtube.com/watch?v=u7LPR…
Course Contents
- (0:00:00) Intro
- (0:02:08) Setup
- (0:10:34) Creating the basic player
- (0:30:04) Importing the player graphics
- (0:43:14) Animating the player
- (0:53:47) Tool use
- (1:09:19) Switching between tools
- (1:21:42) Creating the overlay
- (1:32:35) Starting the camera and importing the floor
- (1:51:05) Importing all elements and faking more 3D
- (2:19:07) Collisions
- (2:42:44) Working on the trees
- (3:06:57) Particles
- (3:16:47) Player inventory
- (3:22:12) Restarting the day
- (3:46:15) Starting the soil
- (4:12:44) Soil patch graphics
- (4:33:06) Watering logic
- (4:43:34) Rain
- (5:03:51) Creating the plants
- (5:25:11) Harvesting
- (5:33:08) Daytime transition
- (5:41:19) The merchant
- (6:24:01) Audio (+ some final fixes )
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”
[#Script #Coding] Data Analytics Crash Course: Teach Yourself in 30 Days
Data Analytics Crash Course: Teach Yourself in 30 Days
By freeCodeCamp.org
Published: Jun 16, 2021“
The course is an introduction to Python-based data analytics.You will get a basic understanding of the workings of Python to the point where you can confidently find and manipulate data sources and use a Jupyter environment to derive insights from your data.
Course Website: https://stories.thedataproject.net/
Code: https://github.com/dbclinton/jupyter_data
Course developed by David Clinton.
Contents
- (06:50) Installing Python and Jupyter
- (09:35) Working with the Jupyter environment
- (12:05) Finding data sources and using APIs
- (16:35) Working with data
- (24:45) Plotting data
- (32:45) Understanding data
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…
”
[#Script #Coding] Automate with Python – Full Course for Beginners
Automate with Python – Full Course for Beginners
By freeCodeCamp.org
Published: Jun 20, 2022“
Learn how to automate your life with Python! You will learn how to automate boring and repetitive tasks such as creating an Excel report, sending text messages, extracting tables from websites, interacting with websites, and more. You will learn how to use a few different Python libraries to help with automation such as Path, Selenium, XPath, and more.Source Code & Datasets: https://github.com/ifrankandrade/auto…
– Course from Frank Andrade. Check out his YouTube Channel: https://www.youtube.com/c/FrankAndrade5
– Automation Cheat Sheet: https://frankandrade.ck.page/44559e1ae7
– Frank’s 11-Hour Automation Course in Python: https://www.udemy.com/course/automate…
– Frank’s Discord Server: https://discord.gg/6xyQaj8bJKCourse Contents
- (0:00:00) Intro
- (0:00:31) Project #1 Table Extraction – Extract Tables from Websites
- (0:02:53) Table Extraction – Extract CSV Files from Websites
- (0:09:38) Table Extraction – Extract Tables from PDFs
- (0:13:06) Project #2 – Web Automation & Web Scraping – HTML Basics – Tags and Elements
- (0:20:57) Web Automation & Web Scraping – HTML Basics – Tree Structure
- (0:24:22) Web Automation & Web Scraping – XPath – Syntax, Functions and Operators
- (0:28:06) Web Automation & Web Scraping – XPath – Test Your XPath
- (0:33:38) Web Automation & Web Scraping – XPath – Special Characters and Syntax
- (0:38:17) Automate The News – Installing Selenium and ChromeDriver
- (0:40:34) Automate The News – Creating The Driver
- (0:44:46) Automate The News – Finding Elements
- (1:04:34) Automate The News – Exporting Data to a CSV File
- (1:12:34) Automate The News – Headless mode
- (1:18:18) Automate The News – Preparing Script to Be Run Everyday
- (1:30:17) Automate The News – Convert py to exe
- (1:37:18) Automate The News – Schedule Python Script with crontab (macOS)
- (1:42:16) Project #3 – Automate Excel Report – Create a Pivot Table with Python
- (1:49:42) Automate Excel Report – Add a Bar Chart
- (2:05:02) Automate Excel Report – Write Excel Formulas with Python
- (2:19:18) Automate Excel Report – Format Cells
- (2:23:04) Automate Excel Report – Convert Pivot Table to Excel Report
- (2:25:32) Automate Excel Report – Generate Excel Reports with One Click (py to exe)
- (2:33:22) Project #4 – Automate WhatsApp
”
[#Script #Coding] PySpark Tutorial
PySpark Tutorial
By freeCodeCamp.org
Published: Jul 14, 2021“
Learn PySpark, an interface for Apache Spark in Python. PySpark is often used for large-scale data processing and machine learning.Code: https://github.com/krishnaik06/Pyspark-With-Python
Course from Krish Naik. Check out his channel: https://youtube.com/user/krishnaik06”