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

Uploaded Python 3

File details

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

File metadata

  • Download URL: indic_places-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2d6def07a146301bf93ce8c653bc1d251a617031010a6edf50590e2c3ae07449
MD5 3c6c5ed54c7286edda5aa1acb258e0a2
BLAKE2b-256 c879554e405711a80a9bf4f1af493a602a174111c6eb28c96f6782ed7bf528fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: indic_places-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69f89f2d6335fe55c65e93c26e9306d5dae2f02b7ffc9365f89e6f7642d51509
MD5 25e0f6c34eecf820d17f1e22bbbef847
BLAKE2b-256 b81f878c74f46567981d94062b33da02b7c1612ef7239582c4c5c8c42d90985e

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