Skip to main content

A simple loader for Natural Earth map data.

Project description

NE Loader

A simple, robust Python package to download and load Natural Earth map data using GeoPandas.

Features

  • Download and cache Natural Earth datasets
  • Load shapefiles as GeoDataFrames

Installation

pip install ne-loader

Usage

from ne_loader import map_loader
world = map_loader.get_natural_earth('cultural', 'admin_0_countries')

CLI

ne-loader --help

To set an environment override for the NE data save path:

export NATURAL_EARTH_CACHE_DIR="..."

Tests

python3 -m pytest tests/test_map_loader.py

License

MIT

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

ne_loader-0.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ne_loader-0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ne_loader-0.3.tar.gz.

File metadata

  • Download URL: ne_loader-0.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ne_loader-0.3.tar.gz
Algorithm Hash digest
SHA256 13a0f7b700fd2f9dbec87deb91df00e375e30f3477e7dd03d0bdc8998d691783
MD5 666c7a658011e8a3da56c82cf2a6462c
BLAKE2b-256 efa7cb8944825f4b9240d65aca36ec060221ff9c3fd549cc8d7de3887272b777

See more details on using hashes here.

Provenance

The following attestation bundles were made for ne_loader-0.3.tar.gz:

Publisher: publish.yml on erictunn/NE_loader_package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ne_loader-0.3-py3-none-any.whl.

File metadata

  • Download URL: ne_loader-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ne_loader-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9bf11d8a25875282935650549b6cde10bd2c03f292fa43a952fc35d456849b1b
MD5 c33d57e450bbed157612fa5a0d577e3f
BLAKE2b-256 7a931d6508ec90f560646351f060b494ab310bc10bb8772a004555078cd8e879

See more details on using hashes here.

Provenance

The following attestation bundles were made for ne_loader-0.3-py3-none-any.whl:

Publisher: publish.yml on erictunn/NE_loader_package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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