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
Structured GeoNames + postal records 815,477
Unique place names 817,641
Runtime OCR/custom place aliases 652,331
States/UTs covered India-wide

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.3.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.3-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indic_places-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 884628f84eb90637c402c549726805702867da9024293a59d7b1e37f5e7808a6
MD5 fc1a58fb9e2f6b33bc833ff713b4ff02
BLAKE2b-256 7e73d2144aad50f7c172bef86b20c43f35880d6f69464834a98a333bb90bc6b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indic_places-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 347267d93e55d064328a2adb964e8f4577bbef308e0b295d74eac1cba12750cd
MD5 7501f04825f1bb19a5d49329f0032622
BLAKE2b-256 b2490581ebac5240f5e8ee78cf815daf0b2b0e7ea919b9700314d9ee4a4a2ec5

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