Skip to main content

WorldMapper

A Python package for accessing comprehensive world country, state, and city information.

Installation

pip install worldmapper


## Usage

from worldmapper import WorldMapper

# Initialize the data
wm = WorldMapper()

# Get all countries
countries = wm.get_all_countries()

# Get country by name
usa = wm.get_country_by_name("United States")

# Get country by alpha2 code
us = wm.get_country_by_alpha2("US")

# Get languages by alpha2 code
us = wm.get_languages_by_alpha2("US")

# Get countries by continent
european_countries = wm.get_countries_by_continent("Europe")

# Search countries
results = wm.search_countries("samoa")

Metadata

Release files for worldmapper 0.1.3

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

Source distribution (sdist)

Source distribution for worldmapper 0.1.3
File Size Uploaded Provenance Actions
worldmapper-0.1.3.tar.gz 910.2 kB Without provenance Details for worldmapper-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / worldmapper-0.1.3.tar.gz

Download URL worldmapper-0.1.3.tar.gz
Size 910.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2a4dd59bfc728cd2cd741ae2b58857b911fe0dcae5700581e6e99faa2f0b1725
BLAKE2b-256 checksum
How to use checksums
dc2ce6fdb398f1c434236d619a21d9ec9d53b61291765a8edc2d491b180aa8b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / worldmapper-0.1.3-py3-none-any.whl

Download URL worldmapper-0.1.3-py3-none-any.whl
Size 936.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be93886b39d26dae13cb36a64083667ec4d8b3845af9b740e529d0ac3605abaa
BLAKE2b-256 checksum
How to use checksums
43c032b0eef6826555ed02f173e3ebc2d83909eabef89b2e87534319c3236827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for worldmapper 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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