Libzim binding for Python: read/write ZIM files in Python
Repo openzim/python-libzim, read from GitHub 8 h ago. openzim has not joined Take My Repo.
Archive.iter_by_path(), Archive.iter_by_title(), Archive.iter_efficient(), Archive.__iter__() (alias for iter_efficient()), Archive.find_by_path() and Archive.find_by_title() to iterate over entries without get_entry_by_id() (#94, #294)libzim into reader and writer parts so builds can target libzim compiled without writer support; libzim.writer is only importable when the build includes writer support (#287)setuptools/wheel/cython build dependency pins to >=floor,<next major> ranges instead of exact versions, easing downstream packaging; delocate stays exactly pinned (#288)types-setuptools (#295)libzim.illustration module with the IllustrationInfo value object, and width/height/scale-aware illustration APIs: Creator.add_illustration()/add_illustration_info(), Archive.get_illustration_item()/get_illustration_item_info(), Archive.get_illustrations_info() (#232)Searcher.add_archive() (#230)SearchResult object with archive, path, title, and snippet (#226)SearchResultSet now yields SearchResult objects instead of entry path strings (#226)Creator.config_nbworkers() param nbWorkers renamed nb_workers (#200)Creator.set_mainpath() param mainPath renamed main_path (#200)Creator.add_redirection() param targetPath renamed target_path (#200)Creator.add_alias() param targetPath renamed target_path (#200)Search.getEstimatedMatches() renamed Search.get_estimated_matches() (#200)Search.getResults() renamed Search.get_results() (#200)SuggestionSearch.getEstimatedMatches() renamed SuggestionSearch.get_estimated_matches() (#200)SuggestionSearch.getResults() renamed SuggestionSearch.get_results() (#200)libzim.pyx to use PEP 604/585 syntax (e.g. str | bytes, dict[...]) instead of typing.Union/typing.Dict/etc. (#281)Creator.add_metadata no longer auto-converts a Date metadata value passed as datetime.date/datetime.datetime; pass pre-formatted str/bytes instead (#188)Archive._get_entry_by_id() removed in favor of Archive.get_entry_by_id() (#225)import/load_external_modules config changes and a stale CI badge URL (#279)get_illustration_sizes() deprecation warning now points to the existing get_illustrations_info() method (#272)Creator.add_metadata type stub no longer advertises datetime values (#285)libzim.suggestion now exports SuggestionSearch and SuggestionResultSet at runtime, as declared in type stubs (#286)set_cluster_cache_max_size parameter name, IllustrationInfo extra_attributes default, enum members, Creator.config_*() return type (#286)sys.modules under their last member name (e.g. sys.modules["Searcher"]) (#286)