Skip to content
View hanchau's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report hanchau

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
hanchau/README.md

Hello there 👋

visitor badge

About me

#!/usr/bin/python
# -*- coding: utf-8 -*-

from BigData import Data
from job import tasks
import asyncio


class DataEngineer(Data):
    pass

class DataScientist(Data):
    pass

class DataScienceEngineer(DataEngineer, DataScientist):

    def __init__(self):
        self.name = "Anuj Chauhan"
        self.role = "Data Science Engineer"
        self.languages = ["Python3", "Java"]
        self.hobbies = ["music", "road_trips", "maths"]


    def say_hi(self):
        print("Thanks for dropping by, hope you find something useful.")


    async def do_job_work(self):
        for i in range(0, len(tasks)):
            if i % 20 == 0:
                print("Hey, Can't you see I'm working")
                print("bc code fat gaya! told you to test rigorously!!")
        return 0


    async def do_personal_work(self):
        for i in range(0, len(study_tasks)):
            if i % 10 == 0:
                print("Guitar, Keyboard, Roadtrips, Hikings, Long walks .. zzz..")
                print("What a life.. zzz..")
        return 0


    async def here_and_there(self):
        f1 = loop.create_task(self.do_job_work())
        f2 = loop.create_task(self.do_personal_work())
        await asyncio.wait([f1, f2])


    def get_back(self):
        struggle = asyncio.get_event_loop()
        struggle.run_until_complete(here_and_there())
        struggle.close()


if __name__ == "main":
    me = DataScienceEngineer()
    me.say_hi()
    me.get_back()

To sum it up

GIF

Pinned Loading

  1. celery-features celery-features Public

    Tried many features provided by celery - distributed task queue

    Shell

  2. asyncio-eg asyncio-eg Public

    Trying to integrate async with gearman job server.

    Python

  3. gearman_to_the_rescue gearman_to_the_rescue Public

    Python

  4. dragtor/pipdepgenerator dragtor/pipdepgenerator Public

    Tool to generate requirement.txt for python project

    Go 3 1

  5. glogging glogging Public

    Shell

  6. celery/celery celery/celery Public

    Distributed Task Queue (development branch)

    Python 25.1k 4.7k