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

Metadata

Release files for indiaset 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for indiaset 0.1.2
File Size Uploaded
indiaset-0.1.2.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for indiaset 0.1.2
File Interpreter ABI Platform
indiaset-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / indiaset-0.1.2.tar.gz

Download URL indiaset-0.1.2.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d97a07609c33b2391b81c4772f2d01dc548da0eb8768dc69d54fa3db4ac6f7a2
BLAKE2b-256 checksum
How to use checksums
2afacb439ce4056428be3b29fa65562b58ef702ca616094406910ebb159712ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / indiaset-0.1.2-py3-none-any.whl

Download URL indiaset-0.1.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff0c5dd71ef948debe48e56ebcd46d40356b0e24ce9cd65faec3bfcca2d960ae
BLAKE2b-256 checksum
How to use checksums
bca3a9e7450f18318955294d84be265789c03f645a50d1d5ab09fff1ece4176d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page