Enhance downloader options and update documentation for OntoGraph#22
Merged
ecarrenolozano merged 7 commits intomainfrom Mar 10, 2026
Merged
Enhance downloader options and update documentation for OntoGraph#22ecarrenolozano merged 7 commits intomainfrom
ecarrenolozano merged 7 commits intomainfrom
Conversation
…dency is an alternative branch not main
… at the end, Pooch or Download Manager
…an be used in OntoGraph
…wnloader, loader and models modules
…g on the downloader (Pooch and DownloadManager)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for configurable downloader backends in the OntoGraph library, allowing users to select between different download mechanisms (such as "pooch" or "download_manager") either globally or per client. The documentation and tutorials have been updated to reflect these changes, and the codebase now passes downloader adapters through the main client classes for catalogs and ontologies.
Downloader backend configuration and usage:
DEFAULT_DOWNLOADERsetting inontograph/config/settings.pyto specify the global default downloader backend, and exposed it in the public API. [1] [2]get_default_downloaderfunction inontograph/downloader.pyto instantiate the default downloader adapter based on settings or explicit override. [1] [2] [3]ClientCatalogandClientOntologyto accept an optionaldownloaderparameter, which is passed through to all relevant operations, ensuring consistent downloader usage throughout the library. [1] [2] [3] [4] [5] [6]Documentation and tutorial improvements:
README.md,docs/index.md, anddocs/learn/tutorials/quickstart.mdto show how to configure and use different downloader backends, both globally and per client. [1] [2] [3] [4] [5] [6]docs/learn/tutorials/tutorial0001_basics.md, demonstrating downloader configuration and usage scenarios, including catalog and URL downloads with both backends.ClientCatalog,ClientOntology, and downloader modules to include downloader configuration and usage examples. [1] [2] [3]Code quality and logging improvements:
These changes make OntoGraph more flexible and user-friendly when working in environments with different download requirements or preferences.