︠af0a1b03-9958-44d1-8388-a934c9140c79i︠ %md # MyGene python module “mygene” is an easy-to-use [Python wrapper](http://mygene.info/doc/packages.html) to access [MyGene.info services](http://docs.mygene.info/en/latest/). *NOTE:* The remote database server is whitelisted, so this should work even if your project doesn't have full network access. ︡40f6b675-dab2-4848-a45c-afd6945dc0b1︡{"md":"# MyGene python module\n\n“mygene” is an easy-to-use [Python wrapper](http://mygene.info/doc/packages.html) to access [MyGene.info services](http://docs.mygene.info/en/latest/).\n\n*NOTE:* The remote database server is whitelisted, so this should work even if your project doesn't have full network access.\n"}︡ ︠980bc2f4-9721-4d56-9d87-46dec747e5f2︠ import mygene ︡36535e64-3750-4d1e-b847-b55d4d22ac7a︡ ︠f11e6809-eba0-49af-b844-0bba65217caf︠ mg = mygene.MyGeneInfo() ︡99ca5513-03ae-4c8a-9c64-4f953ad918d4︡ ︠f127bf9d-75cc-48db-bd0b-5cd335a2cf52︠ mg.getgene(1017) ︡cab385de-4c69-410a-8630-a777bbf137b7︡{"stdout":"{u'taxid': 9606, u'symbol': u'CDK2', u'_id': u'1017', u'name': u'cyclin-dependent kinase 2', u'entrezgene': 1017}"}︡{"stdout":"\n"}︡ ︠a52993de-1071-4b45-af4f-44563dfc85ba︠