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.8.tar.gz (122.8 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.8-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdx_scraper_geonode-1.5.8.tar.gz
  • Upload date:
  • Size: 122.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.8.tar.gz
Algorithm Hash digest
SHA256 c54b858f1859400f7f889d90674fd7ed38d0a30170039f72c227824c094667d9
MD5 75488052f4e0c51bc87359c7bc18c58b
BLAKE2b-256 8c332a1164cdcefb97a622d54b51399c7254a787bc7fee7b823d10c3a67e331b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hdx_scraper_geonode-1.5.8-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b688760278acfb02f3b359f9f7243bb5d2e9dca8cda01732202a30d39cdf8915
MD5 9b38728bbd0a0813771a355a0eecbeb6
BLAKE2b-256 2acd5d29d520816b641217e29d640139e2688cc4da14e7c60077d8fce6b92d99

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