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.1.tar.gz (11.0 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.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indiaset-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 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.1.tar.gz
Algorithm Hash digest
SHA256 f65be9339a00214c5a1b6ba34bcf820f919c8a4ad17db6c55fe609bc33ba3fc9
MD5 a93ffb0d1314a07ce450c49c2351d42d
BLAKE2b-256 b14539e63c85d2be0243462c3bc4792d833795f275f39f71818703d971c54aca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indiaset-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a03427ad889752573f9940fef52cc70a141c1acf3b733003f6f7107f1c3de62
MD5 22192d0a10b372c4be5ab53bd25021be
BLAKE2b-256 813a8db9da7eabe698792c79f670fa776eb4e2da1185f6f9f0df0c188c314754

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