Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Countries Python Packages

Python packages with the GitHub topic countries. Sorted by monthly downloads, with stars and forks.
pydantic
pydantic-extra-types

Extra Pydantic types.

61.8M 345 134
yaph
geonamescache

geonamescache - a Python library for quick access to a subset of GeoNames data.

1.4M 129 43
OCHA-DAP
hdx-python-country

Utilities to map between country and region codes and names and to match administrative level names from different sources. Also utilities for foreign exchange enabling obtaining current and historic FX rates for different currencies

62K 29 12
koldakov
pycountries

Python library to access ISO country and currency standards.

34K 10 1
Atem18
isocodes

This project provides lists of various ISO standards (e.g. country, language, language scripts, and currency names) in one place

30K 17 5
mar-muel
local-geocode

Simple library for efficient geocoding without making API calls

22K 25 7
opensanctions
countrynames

Utility library to turn country names into ISO two-letter codes

18K 71 17
amckenna41
iso3166-2

A lightweight Python package, and API, for accessing all of the world's most up-to-date and accurate ISO 3166-2 subdivision data, including: name, local/other name, parent code, type, latitude/longitude, flag and history.

16K 35 1
cordery
django-countries-plus

Django model & fixture representing all top level country data from Geonames.org

16K 47 24
musicmetadata
music-metadata-territories

Simple library for dealing with territory structures used in music metadata

3K 10 6
arj-89
worldref

Every country in Arabic, English, or both: names, nationalities, capitals, currencies, languages, time zones, dial codes, phone validation, address formats and subdivisions. JSON, CSV, SQL + TypeScript, Python, Swift, Kotlin, Dart, PHP, Go, C#. | كل دول العالم بالعربية والإنجليزية

2K 0 0
jcari-dev
pyworldatlas

Offline world atlas for Python: 248 countries, 11 million places, statistics since 1960, and 3D maps, with zero dependencies

2K 2 0
musicmetadata
music-metadata-edi

Simple library for dealing with territory structures used in music metadata

2K 10 6
spapanik
teritorio

ISO codes for countries and currencies

980 0 0
markolofsen
aigeodb

Comprehensive Python package for managing world geographical data with SQLite backend, Django integration, and advanced geolocation features. Includes 150K+ cities, countries, regions with search, distance calculation, and Select2-powered autocomplete widgets.

628 2 1
manumanoj0010
countrydetails

A python package for retrieving data of all the countries in the world.

589 20 14
commondata-net
commondata-countries

Work with ISO 3166-1 alpha2, alpha3 and numeric standard country data

461 0 0
erdogant
worldmap

Python package d3blocks.

423 0 0
alephdata
exactitude

A library with real-world data parsers.

397 8 2
jcari-dev
pyworldatlas-mapview

Offline country profiles, physical geography, cities, distances, and learning tools for Python.

341 2 0
jcari-dev
pyworldatlas-mapdata-overview

Retired: Overview map data is now part of pyworldatlas (pyworldatlas get maps)

340 2 0
jcari-dev
pyworldatlas-mapdata-standard

Retired: Standard map data is now part of pyworldatlas (pyworldatlas get maps)

339 2 0
timmccauley
nintynine-boundaries

OpenStreetMap Boundaries for the World!

216 16 2
APOGEOAPI
apogeoapi

Official Python SDK for ApogeoAPI — IP geolocation, countries, cities, and exchange rates

151 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology