Skip to main content

PyWorldAtlas: offline world geography for Python

Offline world atlas for Python: 248 countries, 11 million places, statistics since 1960, and 3D maps, with zero dependencies. Built for low-cost computers with 512 MB of memory, such as a Raspberry Pi Zero 2 W; the core installs in under a minute on slow 3G.

PyPI Python 3.10–3.14 CI Documentation Code: MIT Data: CC BY 4.0 and others

248 countries · 200,000 places built in · 11 million with packs · statistics since 1960 · airports and World Heritage sites · 248 3D maps · 0 dependencies

Animated PyWorldAtlas 3D map of Iceland with towns, mountains, water, and landmarks

Try it in 10 seconds

No install: open the browser playground, type a country or place, take a quiz, or run a ready-made program.

Or install it (Python 3.10 to 3.14, nothing else needed):

python -m pip install pyworldatlas
pyworldatlas --version
pyworldatlas find Everest

A taste

from datetime import date
from pyworldatlas import Atlas

with Atlas() as atlas:
    print(atlas.country("Japan").travel.summary)      # Plugs A, B · 100 V, 50/60 Hz · drives on the left
    print(atlas.search_places("Everest", limit=1)[0])  # Mount Everest, mountain (NP)
    print(atlas.sun("Oslo", date(2026, 12, 21)).daylight)  # 5 h 54 min
    print(atlas.antipode("Madrid").nearest[0].place)  # Ossa, mountain (NZ): dig through the Earth
    atlas.map("Iceland").show(auto_rotate=True)        # 3D map (pyworldatlas get maps)

What's inside

Countries 248 profiles: names in local scripts, capitals, languages, currencies, travel basics, climate, highest points, rivers, and borders
Places 200,000 towns, mountains, lakes, and landmarks built in; 11 million with packs; search by local or English name and list what is nearby
Learning Flashcards and quizzes that repeat for a whole class, place quizzes, sun and seasons, and antipodes
Optional packs pyworldatlas get maps (3D maps), statistics (World Bank numbers since 1960), landmarks (airports and World Heritage sites), places-explorer and places-world

Everything works offline after installation, needs no API key, and is built for low-cost computers and slow connections. Every value is traced to a named source; missing data stays missing.

Start here

Trust and neutrality

PyWorldAtlas presents factual geography from public sources, with no political commentary. Country names and codes follow published international standards, and the project takes no position on disputes. See the educational and neutrality policy, data sources, and data quality.

Contributing

Questions, corrections, and focused contributions are welcome: see CONTRIBUTING.md, the code of conduct, and SECURITY.md. python maintain.py check runs the full test, build, and documentation gate.

License

PyWorldAtlas code is available under the MIT License. The data keeps its own terms, and every source is credited:

  • Places, cities, and country metadata: GeoNames, CC BY 4.0
  • Local names, currencies, and languages: Unicode CLDR, Unicode License v3
  • Statistics pack: World Bank World Development Indicators, CC BY 4.0
  • Also: CIA World Factbook and Natural Earth (public domain), Wikidata, IANA, NOAA ETOPO 2022, and Beck et al. Köppen-Geiger maps (CC0), OurAirports (public domain), and United Nations M49 and naming documents

Full credits, the changes made, and license texts are in THIRD_PARTY_NOTICES.md and licenses/. The package metadata license is MIT AND CC-BY-4.0 AND Unicode-3.0 AND CC0-1.0.

Metadata

Release files for pyworldatlas 0.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyworldatlas 0.12.1
File Size Uploaded Provenance Actions
pyworldatlas-0.12.1.tar.gz 2.7 MB With provenance Details for pyworldatlas-0.12.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyworldatlas 0.12.1
File Interpreter ABI Platform Actions
pyworldatlas-0.12.1-py3-none-any.whl Python 3 none any Details for pyworldatlas-0.12.1-py3-none-any.whl

Total release size: 5.3 MB

Release files / pyworldatlas-0.12.1.tar.gz

Download URL pyworldatlas-0.12.1.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
1826a41cbc56fc66c5b448a0125ce232aa9adbcf16c959f01497c2bfc27a9fb9
BLAKE2b-256 checksum
How to use checksums
d7d60b8487ba28c5494651dfdd569b9f811517386c2963ad627ba80aeacdcd38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / pyworldatlas-0.12.1-py3-none-any.whl

Download URL pyworldatlas-0.12.1-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
595020475c782381d4fa4481eeb9f1f949e8bbd2ddf0a3c0e99230127f98cfcf
BLAKE2b-256 checksum
How to use checksums
2a55d4679112c8dc82da4ecff5de12a235d09dc204afc11c063ccda6e2bdb068
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for pyworldatlas 0.12.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyworldatlas-0.12.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.12.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page