Skip to main content

indiaset

India's open data layer. Clean, versioned datasets across government, agriculture, economy, health, and more — one pip install away.

Install

pip install indiaset

Quick Start

from indiaset import load_census, resolve_district

# load india's census 2011 district data
df = load_census()
print(df.shape)  # (640, 29)

# resolve any district name to its LGD code
resolve_district("Poona")
# {'district_name': 'Pune', 'lgd_code': 490, 
#  'state_name': 'Maharashtra', 'match_score': 100}

resolve_district("Bombay")
# {'district_name': 'Mumbai', 'lgd_code': 482, ...}

Why indiaset

Indian government data is real, official, and complete — but it lives in inconsistent formats with no standard naming. The same district gets spelled differently across Census, LGD, and common usage. indiaset fixes that.

  • load_census() — clean Census 2011 district data, validated against official totals
  • resolve_district() — turns any spelling of a district name ("Poona", "Badgam", "Bombay") into its permanent LGD code

Datasets

Dataset Function Status
Census 2011 load_census() ✅ Live
Elections load_elections() 🔜 Coming
RBI Series get_rbi_series() 🔜 Coming

Links

License

Code: MIT · Data: CC-BY-4.0

Citation

Jaiswal, Ansuman. (2026). indiaset [Software]. 
https://github.com/indiaset

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

indiaset-0.1.2.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

indiaset-0.1.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file indiaset-0.1.2.tar.gz.

File metadata

  • Download URL: indiaset-0.1.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for indiaset-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d97a07609c33b2391b81c4772f2d01dc548da0eb8768dc69d54fa3db4ac6f7a2
MD5 38df5216211a1c2fe67f50982f7edb21
BLAKE2b-256 2afacb439ce4056428be3b29fa65562b58ef702ca616094406910ebb159712ca

See more details on using hashes here.

File details

Details for the file indiaset-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: indiaset-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for indiaset-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff0c5dd71ef948debe48e56ebcd46d40356b0e24ce9cd65faec3bfcca2d960ae
MD5 ae9d92a50239c0a82688c18ac7905829
BLAKE2b-256 bca3a9e7450f18318955294d84be265789c03f645a50d1d5ab09fff1ece4176d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page