{"id":19429171,"url":"https://github.com/bytebaker/bharat","last_synced_at":"2025-06-26T22:36:25.817Z","repository":{"id":57414845,"uuid":"367850931","full_name":"ByteBaker/bharat","owner":"ByteBaker","description":"Indian states' metadata.","archived":false,"fork":false,"pushed_at":"2021-05-16T12:26:41.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T04:19:21.273Z","etag":null,"topics":["bharat","india","indian-states"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/bharat/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteBaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-16T10:39:57.000Z","updated_at":"2021-05-16T12:56:23.000Z","dependencies_parsed_at":"2022-08-30T06:51:53.153Z","dependency_job_id":null,"html_url":"https://github.com/ByteBaker/bharat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ByteBaker/bharat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2Fbharat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2Fbharat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2Fbharat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2Fbharat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteBaker","download_url":"https://codeload.github.com/ByteBaker/bharat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2Fbharat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262151865,"owners_count":23266931,"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":["bharat","india","indian-states"],"created_at":"2024-11-10T14:18:15.099Z","updated_at":"2025-06-26T22:36:25.785Z","avatar_url":"https://github.com/ByteBaker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bharat: Package For Data On The Largest Democracy\n==================================================\n\nA package for easily working with Bharat(India) and states' metadata.\n\n-   All states and union territories of Bharat (India)\n-   Capitals\n-   GST Codes\n-   Abbreviations (vehicle codes)\n-   Websites\n-   Postal Zones\n-   Geographical Zones\n-   Date of statehood\n-   Is union territory\n-   ISO3166-2:IN codes\n\nInstallation\n------------\n\nAs usual:\n\n    pip install bharat\n\nFeatures\n--------\n\nEasy access to state information:\n\n    \u003e\u003e\u003e import bharat\n    \u003e\u003e\u003e bharat.states.UP\n    \u003cState:Uttar Pradesh\u003e\n    \u003e\u003e\u003e bharat.states.UP.abbr\n    'UP'\n    \u003e\u003e\u003e bharat.states.UP.name\n    'Uttar Pradesh'\n    \u003e\u003e\u003e bharat.states.UP.post_zone\n    2\n\nIncludes union territories too: \n\n    \u003e\u003e\u003e bharat.states.DL.name\n    'Delhi'\n    \u003e\u003e\u003e bharat.states.DL.is_UT\n    True\n    \u003e\u003e\u003e bharat.states.UP.is_UT\n    False\n\nList of all states (or UTs):\n\n    \u003e\u003e\u003e bharat.states.STATES\n    [\u003cState:Andhra Pradesh\u003e, \u003cState:Arunachal Pradesh\u003e, \u003cState:Assam\u003e, ...\n    \u003e\u003e\u003e bharat.states.UNION_TERRITORIES\n    [\u003cUnion Territory:Andaman and Nicobar Island\u003e, \u003cUnion Territory:Chandigarh\u003e, ...\n\nAnd the whole collection, if you want it:\n\n    \u003e\u003e\u003e bharat.states.ALL\n    [\u003cState:Andhra Pradesh\u003e, \u003cState:Arunachal Pradesh\u003e, \u003cState:Assam\u003e, ...\n\nFor convenience, `STATES`, `UNION_TERRITORIES`, and `ALL`\ncan be accessed directly from the `bharat` module:\n\n    \u003e\u003e\u003e bharat.states.STATES\n    [\u003cState:Andhra Pradesh\u003e, \u003cState:Arunachal Pradesh\u003e, \u003cState:Assam\u003e, ...\n    \u003e\u003e\u003e bharat.STATES\n    [\u003cState:Andhra Pradesh\u003e, \u003cState:Arunachal Pradesh\u003e, \u003cState:Assam\u003e, ...\n\nStates' Attributes\n--------\n    \u003e\u003e\u003e bharat.states.State.__annotations__.keys()\n    dict_keys(['abbr', 'capital', 'code', 'iso31662in', 'is_UT', 'name', 'post_zone', 'statehood_date', 'website', 'zone'])","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytebaker%2Fbharat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytebaker%2Fbharat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytebaker%2Fbharat/lists"}