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.0.tar.gz (3.1 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.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: indic_places-1.1.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 436c90912c04d2249b48e0da7e4899a00de5d04a8b8f8e78aaf2ba4d7610747c
MD5 cd21039e711569b17d607f023ee14a53
BLAKE2b-256 8bbf62a5e65de5e30c3a06ed68af6f6070e6000741fa71e53427c5ba1559e8aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indic_places-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb22d8436cef25abcf44fb6dc9e164cf6f09c10ad4ead548ee0f03645f9a1f77
MD5 2418268d7bcbdbf2c99b610528878579
BLAKE2b-256 6279d7610e3ea4f32d7a6452c9a3cf3ed0ec44216cab3cdcf0e4100b01f9d9d8

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