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.2.1.tar.gz (4.1 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.2.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ne_loader-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 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.2.1.tar.gz
Algorithm Hash digest
SHA256 073a2916bc5b6c6ddf2c8cccdeb2e88845be884b1a4f6c9ccde82759b20a933b
MD5 5d8446ac5940f723ea3eefacc32b8a28
BLAKE2b-256 062790b969d90c9cba31f1e77469517397b8cee4fb44ca8b6b50da9068016337

See more details on using hashes here.

Provenance

The following attestation bundles were made for ne_loader-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: ne_loader-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 551663275376bfa79a424b8160498308aa6f927ff4cd6f450ff4b0647ecddd0b
MD5 2ef70cdd14a234d4dd10fd1726d23d7b
BLAKE2b-256 5e59f38db0052b8f6ca11c2419c73646d7e2c636e5508d0a93a5087013e4fa40

See more details on using hashes here.

Provenance

The following attestation bundles were made for ne_loader-0.2.1-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