Small projects for learning Python by following the Udemy course Complete Python Developer in 2023: Zero to Mastery
Some simple projects created using Python3
.
No. | Project | Created by using |
---|---|---|
1 | Converter JPG images to PNG | Pillow Imaging Library |
2 | Password checker | Haveibeenpwned API |
3 | PDF merger | PyPDF2 |
4 | Sending emails | smtplib |
5 | Sending SMS | Twilio Library |
6 | Twitter bot | Tweepy Library |
7 | Web scrapping | BeautifulSoup Library |
8 | Really smart brain - ML | ImageAI , TensorFlow |
9 | Soccer Data Analysis | Kaggle Dataset , Jupyter notebook , pandas , seaborn , bokeh |
10 | Iris Data Analysis | Jupyter notebook , sklearn , joblib |
11 | Generate QR | Pillow Imaging Library , QR Code |
12 | Port scanner | Socket Library |
13 | Anonymous FTP Scanner | ftplib |
-
The project uses
Pillow Imaging Library
for manipulating images.
To run the project go to theJpgPngPokedexConverter
folder and use the below command:narcisabadea:~$ python3 JpgPngPokedexConverter.py Pokedex/ New/
It will loop through the imagines from the
Pokedex
folder, convert them to PNG format and save them to aNew
folder. -
The project uses
Haveibeenpwned API
which allows the list of pwned accounts (email addresses and usernames) to be quickly searched via a RESTful service.
To run the project go to thePasswordChecker
folder and usepython3 check_my_pass.py passwordToCheck
.
It will do a request to the API and return the number of times it was found.narcisabadea:~$ python3 check_my_pass.py password123 Password password123 was found 250052 times. You should probably change your password Done
-
The project uses
PyPDF2 Library
for manipulating PDF files.
To run the project go to thePdfMerger
folder.It can merge multiple PDFs into the
merged.pdf
file as following:narcisabadea:~$ python3 pdfmerger.py dummy.pdf twopage.pdf tilt.pdf
It can also add a watermark to a PDF:
narcisabadea:~$ python3 watermark.py
-
By using the
smtplib module
we define an SMTP client session object that can be used to send mail to any internet machine with an SMTP.To run the project:
- go to the
SendingEmail
folder - update
smtp.login
with your email and password from which you are sending the email - update the
from
,to
andsubject
information - run the following command:
narcisabadea:~$ python3 email_sender.py
The receiver can now check for the email.
- go to the
-
The project uses
Twilio Library
To run the project go to theSmsPython
folder and run the following command:narcisabadea:~$ python3 email_sender.py
-
The project uses
Tweepy Library
To run the project go to theTwitterBot
folder.narcisabadea:~$ python3 tweettweet.py
-
The project uses
BeautifulSoup Library
for pulling data out of HTML and XML files.
To run the project go to theWebScrapping
folder.
It will do a request to thehttps://news.ycombinator.com/news
.narcisabadea:~$ python3 scrape.py
-
The project uses
ImageAI Library
which supports a list of state-of-the-art Machine Learning algorithms for image prediction, custom image prediction, object detection, video detection, video object tracking and image predictions trainings, and alsoTensorFlow
To run the project go to theReallySmartBrain
folder.The image can be changed from "house.jpg" to any other picture. The modelPath can also be changed according to the 4 different algorithms and model types to perform image prediction provided by ImageAI: MobileNetV2, ResNet50, InceptionV3, DenseNet121. After running the command below we will receive each object in the predictions array with the corresponding percentage probability.
narcisabadea:~$ python3 brain.py church: 49.8652458190918 boathouse: 31.82643353930564 castle: 14.124444127082825 beacon: 1.6986381262540817 lakeside: 0.5432001315057278
-
The project uses
Kaggle Dataset
and it's analysed inJupyter notebook
by usingpandas
,seaborn
andbokeh
TheJupyter notebook .ipynb
file can be seenHere
-
The project uses
Sklearn
and it's analysed inJupyter notebook
by usingdatasets
,model_selection
,neighbors
,metrics
fromsklearn
, along withjoblib
TheJupyter notebook .ipynb
file can be seenHere
-
The project uses
QR Code
.
To run the project go to theGenerateQr
folder and run the following command:narcisabadea:~$ python3 qr_code.py
-
The project uses
Socket Python Library
.
To run the project go to thePortScanner
folder and run the following command:narcisabadea:~$ python3 portscanner.py
-
The project uses
Socket Python Library
.
To run the project go to theAnonymousFTPScanner
folder and run the following command:narcisabadea:~$ python3 anonymous_scanner.py