Skip to main content

Indian place name identifier with SymSpell-style fuzzy lookup and OCR word segmentation

Project description

Indic Names Library - India Places Database

A comprehensive database of 165,627 Indian place names (post offices, villages, towns, cities) sourced from India Post, covering all 37 states & Union Territories.

Stats

Metric Count
Total records 165,627
Unique place names 145,086
States & UTs covered 37

Structure

data/
├── india_places_full.csv          # Full dataset as CSV
├── unique_place_names.txt         # 145,086 unique place names
├── state_summary.json             # Stats per state/UT
├── chunks/india_places_part01-06.json   # Split JSON (30K records each)
└── by_state/<STATE>.json          # One file per state/UT

Schema

{
  "place_name":  "Kothimir B.O",
  "district":    "KUMURAM BHEEM ASIFABAD",
  "state":       "TELANGANA",
  "pincode":     "504273",
  "office_type": "BO",
  "delivery":    true,
  "division":    "Adilabad Division",
  "region":      "Hyderabad Region",
  "circle":      "Telangana Circle",
  "latitude":    19.3638689,
  "longitude":   79.5376658
}

Usage (Python)

import csv, json

# Load all records
with open("data/india_places_full.csv") as f:
    places = list(csv.DictReader(f))
print(len(places), "records")

# Load by state
with open("data/by_state/KARNATAKA.json") as f:
    karnataka = json.load(f)

# Unique names
names = open("data/unique_place_names.txt").read().splitlines()

Source

India Post pincode directory via india-pincode npm package.

Project details


Download files

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

Source Distribution

indic_places-1.1.2.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

indic_places-1.1.2-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file indic_places-1.1.2.tar.gz.

File metadata

  • Download URL: indic_places-1.1.2.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for indic_places-1.1.2.tar.gz
Algorithm Hash digest
SHA256 14ac6f2d59cd1a333b23e818ae4af2abee95608eef2df84bbdf47ec1262b86d5
MD5 6353ae77e862adbc9a03aff249be20c8
BLAKE2b-256 44fff70cb5a3b1f32756194adc46db813d8124fc9c90d8ea8190723404f73c37

See more details on using hashes here.

File details

Details for the file indic_places-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: indic_places-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for indic_places-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 92d38b0854fe573a249fa77749dea32deb67c2c085159dc57615f901a0867847
MD5 e3f8437789f834806aad7ed39afb5938
BLAKE2b-256 c7387fbe7b7f69cd505ac4141cd50bb22fa9775ce7555e6d13dc017a62313481

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 Pingdom Monitoring Sentry Error logging StatusPage Status page