Skip to content

Latest commit

 

History

History
218 lines (137 loc) · 6.96 KB

README.md

File metadata and controls

218 lines (137 loc) · 6.96 KB

Contributors Forks Stargazers Issues


Logo

Python Projects 🐍

easy to advanced Python project ideas to jumpstart your Python journey!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Project 1: Calendar Convertor
  3. Project 2: IMDB Telegram Bot
  4. Contributing
  5. Contact

About The Project

Product Name Screen Shot

There are many ways to enhance your Python Knowledge, but to the best of my knowledge, doing random Python projects can push you to learn new topics and use the knowledge you have acquired before. I suggest two projects for starting with, according to your own Python knowledge they can be easy or advanced for you. However, to those who have an intermediate Python skills, one project is easy and another one advanced.

The list of projects and README will be updated accordingly.

(back to top)

Project 1: Calendar Convertor

To all my fellow Iranian friends, this simple project is made specifically for you. You need to write a Python project that converts dates: Gregorian (میلادی) > Hijri (هجری) > Jalali (شمسی). This project should be in form of a Python library, registered in Python libraries so that everyone could download and install.

PLEASE consider the below points and hints:

  • After you finish writing the library, put it on https://pypi.org/ so that it can be installed with pip install your_calendar_lib

  • Be sure about exception handling in your code! (empty input, input with different datatype, zero division, different number of input argument, etc.)

How to name your library:

  • The first two letters of your last name + The first two letters of your FirstName + 'date'+ 'converter' Example: First Name: Draco, Last Name: Malfoy, library name: drmadateconverter

  • If the library name exists in the https://pypi.org/, add a random two-digit number to the end of it. library name: elghdateconverter12

  • Name of functions and number of inputs have to be same as mentioned functions, exactly!

FINALLY:

  • Write a README of how to install your library and put it along with the codes in your GitHub.

Methods and Functions:

1. Converting Hijri date to Gregorian date

your_calendar_lib.hijri(Year, Month, day).hijri_to_gregorian()

Example:

your_calendar_lib.hijri(1444, 08, 07).hijri_to_gregorian() out: (2023,02 ,28 ) #Gregorian,output type: tuple!

2. Converting Gregorian date to Hijri date

your_calendar_lib.gregorian(Year, Month, day).gregorian_to_hijri()

Example:

your_calendar_lib.gregorian(2023,02 ,28 ).gregorian_to_hijri() out: (1444, 08 , 07 ) #Hijri,output type: tuple!

3. Converting Jalali date to Hijri date

your_calendar_lib.jalali(Year, Month, day).jalali_to_hijri()

Example:

your_calendar_lib.jalali(1401, 12, 09).jalali_to_hijri() out: (1444, 08, 07) #Hijri,output type: tuple!

and many more methods should be included.

Project 2: IMDB Telegram Bot

For this project, you need to create a Telegram bot for searching Movies in the IMDB API!

The bot should have these Steps when you start it:

  • Start
  • Search a phrase
  • Show the list of movies, based on your search
  • Select the desired movie
  • Show the selected movies information
    • English
    • Persian

Project Guides:

  • You can find the API's here: IMDB API
  • Before finding APIs, you have to register in the website IMDB
  • Use Python Server as your server! just a suggestion
  • Sample Bot
  • UI and other options of your robot does not need to look like this robot.
  • How to name your bot: LastName+FirstName+imdb+bot

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make the projects better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Soho - @soho.codes - soho.codes@gmail.com

Project Link: Python Projects

(back to top)

References

Filoger