{"id":15465941,"url":"https://github.com/athityakumar/blackjack","last_synced_at":"2025-04-22T14:04:32.720Z","repository":{"id":71448500,"uuid":"60865470","full_name":"athityakumar/blackjack","owner":"athityakumar","description":"Populates infoboxes of courses on metaKGP with their previous year grade distributions","archived":false,"fork":false,"pushed_at":"2016-06-08T18:58:52.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T15:42:07.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"metakgp/blackjack","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athityakumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-10T17:30:10.000Z","updated_at":"2016-06-10T17:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"75acacc2-79fc-4c5e-823e-57101051cced","html_url":"https://github.com/athityakumar/blackjack","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"96123297e15ff7cd934dc23aa6782aee9dcc8f98"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athityakumar%2Fblackjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athityakumar%2Fblackjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athityakumar%2Fblackjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athityakumar%2Fblackjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athityakumar","download_url":"https://codeload.github.com/athityakumar/blackjack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250255709,"owners_count":21400410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T01:04:17.685Z","updated_at":"2025-04-22T14:04:32.703Z","avatar_url":"https://github.com/athityakumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Info\n===\n**Blackjack** is a surgeon bot who adds past year grade distributions of courses on metaKGP. It searches for all the courses on metaKGP and populates their infoboxes with their previous year grade distributions, if available from ERP.\n\n\nSetup\n=====\n\n* Clone from the pywikibot library from wikimedia to  `~/blackjack`\n```\ngit clone https://gerrit.wikimedia.org/r/pywikibot/core.git ~/blackjack\n```\n\n* Create a bot account on metakgp\n\n* Change to `~/blackjack`\n```\ncd ~/blackjack\n```\nCreate a `user-config.py` file with the following data replacing 'blackjack' with the bot's name:\n```python\nmylang = 'en'\nfamily = 'metakgp'\nusernames['metakgp']['en'] = 'blackjack'\n```\n\n* Generate user and family files.\n```\npython generate_user_files.py\n```\n```\npython generate_family_files.py\n```\n\n* Mine grades of all courses from `https://erp.iitkgp.ernet.in/Acad/Pre_Registration/subject_grade_status.jsp?subno=XXXXXXX` after signing in and save it to `allCourses.json`\n\n* Run blackjack.py\n```\npython blackjack.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathityakumar%2Fblackjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathityakumar%2Fblackjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathityakumar%2Fblackjack/lists"}