Skip to main content

HDX Python generic geonode scraper

Project description

Build Status Coverage Status Ruff Downloads

The HDX Scraper Geonode Library enables easy building of scrapers for extracting data from GeoNode servers. GeoNode is a web-based application and platform for developing geospatial information systems (GIS) and for deploying spatial data infrastructures (SDI).

For more information, please read the documentation.

This library is part of the Humanitarian Data Exchange (HDX) project. If you have humanitarian related data, please upload your datasets to HDX.

Development

Environment

Development is currently done using Python 3.13. The environment can be created with:

    uv sync

This creates a .venv folder with the versions specified in the project's uv.lock file.

Pre-commit

pre-commit will be installed when syncing uv. It is run every time you make a git commit if you call it like this:

    pre-commit install

With pre-commit, all code is formatted according to ruff guidelines.

To check if your changes pass pre-commit without committing, run:

    pre-commit run --all-files

Packages

uv is used for package management. If you’ve introduced a new package to the source code (i.e. anywhere in src/), please add it to the project.dependencies section of pyproject.toml with any known version constraints.

To add packages required only for testing, add them to the [dependency-groups].

Any changes to the dependencies will be automatically reflected in uv.lock with pre-commit, but you can re-generate the files without committing by executing:

    uv lock --upgrade

Project

uv is used for project management. The project can be built using:

    uv build

Linting and syntax checking can be run with:

    uv run ruff check

To run the tests and view coverage, execute:

    uv run pytest

Documentation

The documentation, including API documentation, is generated using ReadtheDocs and MkDocs with Material. As you change the source code, remember to update the documentation at documentation/index.md.

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

hdx_scraper_geonode-1.5.7.tar.gz (125.1 kB view details)

Uploaded Source

Built Distribution

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

hdx_scraper_geonode-1.5.7-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file hdx_scraper_geonode-1.5.7.tar.gz.

File metadata

  • Download URL: hdx_scraper_geonode-1.5.7.tar.gz
  • Upload date:
  • Size: 125.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hdx_scraper_geonode-1.5.7.tar.gz
Algorithm Hash digest
SHA256 62b36895fe6ca692df8b97b8111fae31f6a139dbd6f6a9701d5b2cc77a321f3c
MD5 a37154094ea37e3759edf58f03921bcf
BLAKE2b-256 0b247e48fa5a117c09eb75cfea46052afec994f1a807ba96d6e3bf8a8947e52f

See more details on using hashes here.

File details

Details for the file hdx_scraper_geonode-1.5.7-py3-none-any.whl.

File metadata

  • Download URL: hdx_scraper_geonode-1.5.7-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hdx_scraper_geonode-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c933c1f63eee7cfbae9174d34902fca3ab569b42afe0dc077043444be3078a5e
MD5 875e94bff38189de8681f2ff1e5f3165
BLAKE2b-256 08c51a15259a04d6d475337841d512d2d4a90d8919dae5ead273a729889fa99f

See more details on using hashes here.

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