Git Product home page Git Product logo

I'm Mohammad Azimi , a Backend Developer . You need me ?! Feel free to DM💬 me in Linkedin

Linkedin: Mohammad1996Azimi


from humans import status
from datetime import date
from past import memories
from routines import create_good_memories , wake_up , code , drink_coffe , sleep 


class Mazimi(ME):
    '''
    This class extends myself in a very very short code !
    '''
    # Personal information
    first_name = "Mohammad"
    middle_name = "Bagher"
    last_name = "Azimi"
    alias = "MAzimi"
    personality = "ESTJ" # Based on MBTI test 

    # Skills 
    main_skills = ["Python" , "Django" , "DRF" ]
    secondary_skills = ["HTML","CSS" , "JS" , "PHP" , "Docker" ]
    used_to_be = ["Freelancer" ,"Backend Developer at Esra" , "Senior Backend Developer at Apptec"]

    # Trivia ! 
    time_zone = "Asia/Tehran"
    goal = "Be Happy ! Any where , Any Time !"
    good_memories = [memory for memory in memories if memory.my_status == status.HAPPY ]

    def life_cycle(self):
        '''
        It shows how i spend my every F...ing Days !
        '''

        while self.status == status.ALIVE :

            weekday = date.today().weekday()
            if weekday in ["3" , "4"] : # 3:Thursday and 4:Friday
                self.good_memories.append(create_good_memories()) # Maybe a short trip :)
                continue

            wake_up()
            code() 
            drink_coffe(choices=["Latte" , "Americano"]) # Americano will be choosed if we have bugs !
            code()
            sleep()
        
        return self.good_memories # When i pass away , only my good memories will remain :)

    @classmethod
    def test_sleep_hour(cls , sleep_datetime , wakeup_datetime):
        '''
        what will happen if my sleep quality be bad !?
        Args : 
         - sleep_datetime : datetime object
         - wakeup_datetime : datetime object
        '''
        sleep_quality = (sleep_datetime - wakeup_datetime).hours
        assert sleep_quality > 7 , "Today I need to drink more coffe !"
        assert sleep_quality < 10 , "I lost this day ! AZ SHANBE ISHALA :D"
    

Mazimi's Projects

django-fakeit icon django-fakeit

Im going to extend this module based on python models in order to create dummy data easier for django applictions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.