DAGDA SEARCH | Back to results | Support

hanchau (Anuj Chauhan) · GitHub

Source: https://github.com/hanchau

@hanchau hanchau Follow More @hanchau hanchau Follow View hanchau's full-sized avatar 🎯 Focusing

Anuj Chauhan hanchau

🎯 Focusing Follow Yet an¤ther seeker | Anime L○ver | Excellent C♡♡k | Psych¤ Enthusiast | Wannabe Musician/Artist | Avid Reader 13 followers · 40 following

Achievements

Achievement: Pull SharkAchievement: Arctic Code Vault Contributor

Achievements

Achievement: Pull SharkAchievement: Arctic Code Vault Contributor

Block or report hanchau

Report abuse

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

Report abuse More hanchau/README.md

Hello there 👋

Profile Views

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 AIEngineer(Data):
    pass

class DataScienceEngineer(DataEngineer, DataScientist, AIEngineer):

    def __init__(self):
        self.name = "Anuj Chauhan"
        self.role = "Data Science Engineer"
        self.languages = ["Python3", "SQL"]
        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("The System crashes again! 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 4 1

  5. glogging glogging Public

    Shell

  6. celery/celery celery/celery Public

    Distributed Task Queue (development branch)

    Python 29.3k 5.3k

Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.

Uh oh!

There was an error while loading. Please reload this page.