awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dr5hn avatar

dr5hn/countries-states-cities-database

0
View on GitHub↗
9,291 stars·2,964 forks·Python·odbl-1.0·16 viewscountrystatecity.in↗

Countries States Cities Database

This project is a comprehensive geographic location dataset and reference library providing standardized data for countries, states, and cities. It serves as a source of truth for regional hierarchies, ISO codes, coordinates, and timezone information, available as both a relational SQL database and a document-based JSON library.

The project includes a custom dataset export tool that functions as a filtering engine. This allows for the generation of tailored geographic files in JSON, CSV, and GeoJSON formats by selecting only the specific regions or fields required.

The dataset covers global address validation and the implementation of cascading dropdown menus for user profiles and shipping addresses. It supports the deployment of location data across multiple relational and document database platforms, as well as integration via SDKs and APIs to retrieve city, state, and country metadata.

Features

  • Geographic Datasets - Ships comprehensive geographic datasets in multiple formats for integration into external systems.
  • Country and Regional Data - Offers comprehensive libraries for retrieving regional, international, and postal data.
  • Data Import Packages - Provides language-specific packages to easily import standardized country, state, and city datasets into projects.
  • Geographic and Location - Provides a comprehensive dataset of countries, states, and cities with ISO codes and coordinates.
  • City Data - Provides city-level data including coordinates and timezones filtered by country or state.
  • Geographic Data - Provides a comprehensive dataset of countries, states, and cities including ISO codes and timezones.
  • Embedded Geographic Datasets - Allows applications to access localized geographical information and type-safe models without making network requests.
  • Geographic Data APIs - Provides standardized endpoints and search terms to retrieve detailed information about countries, cities, and timezones.
  • Geographic Dataset Downloads - Provides raw geographic data in SQL, JSON, CSV, and GeoJSON formats for local storage or analysis.
  • Geographic Reference Data - Serves as a source of truth for implementing regional hierarchies and validating user profiles.
  • Hierarchical Data Models - Organizes global location data into a strict parent-child hierarchy from regions down to cities.
  • Geographic Metadata - Provides hierarchical datasets of regions and cities including population data.
  • State and Province Data - Provides lists of states, provinces, and regions filtered by country.
  • Data Export - Allows users to generate custom data exports by selecting only the required fields and formats.
  • Custom Dataset Filtering - Provides a filtering engine to generate tailored geographic files in JSON, CSV, or SQL.
  • Geographic - Provides document-based JSON data files for embedding location information directly into applications.
  • Geographic Database Deployments - Enables the deployment of comprehensive location data across multiple relational and document database platforms.
  • Geographic SQL Databases - Provides a relational SQL data source for populating databases with regional hierarchies and population statistics.
  • Custom Dataset Generators - Ships a filtering engine to generate tailored geographic files in JSON, CSV, and GeoJSON formats.
  • Dataset Exporters - Provides a browser-based tool to export tailored datasets by selecting specific countries, regions, and fields.
  • Geographic Data Exporters - Provides a filtering engine to generate tailored geographic files in JSON, CSV, and GeoJSON formats.
  • Relational-to-Document Conversions - Converts normalized SQL database tables into JSON, CSV, and GeoJSON formats for diverse application use.
  • Dataset Contribution Workflows - Implements a community workflow for submitting geographical corrections and updates subject to review.
  • Multi-Format Data Exports - Supports exporting geographic datasets into various relational, document, and exchange formats for different technology stacks.
  • Contribution Workflows - Manages community contributions to the dataset through a standardized validation and review process.
  • Version-Controlled Datasets - Implements a review-based workflow using version control to maintain the accuracy of geographic datasets.
  • Address Validation - Serves as a source of truth for verifying regional hierarchies and postal data during address input.
  • Cascading Selectors - Supports the implementation of dependent selectors for country-state-city regional hierarchies.
  • Dependent Selectors - Enables the creation of dependent dropdown menus where parent location choices filter available child options.
  • Static Data Distributions - Distributes geographic data as pre-compiled static files and modules to eliminate runtime network dependencies.

Star history

Star history chart for dr5hn/countries-states-cities-databaseStar history chart for dr5hn/countries-states-cities-database

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Countries States Cities Database

Similar open-source projects, ranked by how many features they share with Countries States Cities Database.
  • mledoze/countriesmledoze avatar

    mledoze/countries

    6,235View on GitHub↗

    Countries is a static data repository that provides standardized country information based on the ISO 3166-1 schema. The dataset includes comprehensive attributes such as country names, codes, currencies, languages, borders, and area, stored as flat files in multiple formats including JSON, CSV, XML, and YAML without requiring a database or runtime server. The project includes a command-line tool that allows users to customize the dataset by including or excluding specific fields during export, enabling the creation of tailored country data outputs. Supplementary geographic assets such as Geo

    PHPcountriescsvgeojson
    View on GitHub↗6,235
  • lionsoul2014/ip2regionlionsoul2014 avatar

    lionsoul2014/ip2region

    19,159View on GitHub↗

    ip2region is an offline IP geolocation library and framework designed to resolve IPv4 and IPv6 addresses to city-level regional information using local binary data files. It functions as a binary IP database compiler and a cross-language search client, allowing for regional lookups without relying on external APIs. The project distinguishes itself through a specialized binary format that supports high-performance query optimization. It employs adjacent-segment IP merging and deduplicated region storage to minimize the database footprint, while utilizing memory-mapped file caching and vector-i

    Javaip-addressip-address-databaseip-address-location
    View on GitHub↗19,159
  • kakuilan/china_area_mysqlkakuilan avatar

    kakuilan/china_area_mysql

    5,347View on GitHub↗

    This project is a MySQL administrative division database providing structured mappings of Chinese administrative regions. It serves as a geographic metadata store containing regional data organized into a five-level hierarchy, spanning from provinces down to villages. The data set includes associations between administrative divisions and their corresponding postal codes, area codes, and geographic coordinates. These relationships are structured through a hierarchical regional data set to facilitate location-based lookups across mainland China.

    View on GitHub↗5,347
  • samayo/country-jsonsamayo avatar

    samayo/country-json

    1,148View on GitHub↗

    Country-json is a repository of standardized international metadata providing machine-readable datasets that encompass comprehensive geographic, demographic, and cultural country attributes. It functions as a collection of structured information for every country in the world, formatted as plain text files to ensure universal compatibility across programming environments. The project utilizes a decoupled distribution model that relies on static file-system retrieval rather than database connections or network requests. By organizing global information into standardized key-value pairs, it all

    JavaScriptcapital-citycitycountries
    View on GitHub↗1,148
See all 30 alternatives to Countries States Cities Database→

Frequently asked questions

What does dr5hn/countries-states-cities-database do?

This project is a comprehensive geographic location dataset and reference library providing standardized data for countries, states, and cities. It serves as a source of truth for regional hierarchies, ISO codes, coordinates, and timezone information, available as both a relational SQL database and a document-based JSON library.

What are the main features of dr5hn/countries-states-cities-database?

The main features of dr5hn/countries-states-cities-database are: Geographic Datasets, Country and Regional Data, Data Import Packages, Geographic and Location, City Data, Geographic Data, Embedded Geographic Datasets, Geographic Data APIs.

What are some open-source alternatives to dr5hn/countries-states-cities-database?

Open-source alternatives to dr5hn/countries-states-cities-database include: mledoze/countries — Countries is a static data repository that provides standardized country information based on the ISO 3166-1 schema.… kakuilan/china_area_mysql — This project is a MySQL administrative division database providing structured mappings of Chinese administrative… lionsoul2014/ip2region — ip2region is an offline IP geolocation library and framework designed to resolve IPv4 and IPv6 addresses to city-level… samayo/country-json — Country-json is a repository of standardized international metadata providing machine-readable datasets that encompass… modood/administrative-divisions-of-china — This project provides a structured dataset of the administrative divisions of China, covering five levels from… umpirsky/country-list — This project is a comprehensive collection of country names and standardized ISO 3166-1 codes. It serves as a…