ocrd.resource_manager module¶
-
class
ocrd.resource_manager.
OcrdResourceManager
[source]¶ Bases:
object
Managing processor resources
-
add_to_user_database
(executable, res_filename, url=None)[source]¶ Add a stub entry to the user resource.yml
-
property
default_resource_dir
¶
-
download
(executable, url, basedir, overwrite=False, no_subdir=False, name=None, resource_type='file', path_in_archive='.', progress_cb=None)[source]¶ Download a resource by URL
-