class documentation
class _old_ArchivesOfficial(ListOfArchives):
Constructor: _old_ArchivesOfficial(listing_name)
superseded by OfficialArchives
Official COCO data archives.
TODO-decide: this class is not needed, as official archives don't change frequently and are directly available in cocopp.archives? Or merge into the above OfficialArchives class, such that we only need to update a list entry in the remote list!?
Class Variable | search |
Undocumented |
Instance Variable | listing |
Undocumented |
Inherited from ListOfArchives
:
Class Method | register |
add folder path or url to list of archives. |
Static Method | lists |
Undocumented |
Method | __init__ |
print available archive lists if no listing file is given |
Method | remote |
join in the respective list from coco_url.rsplit('/')[0] + '/data-archives'. |
Method | save |
save current list making changes permanent |
Method | update |
update self from the listing file that may have changed |
Property | name |
name of this list |
Static Method | _file |
Undocumented |
Static Method | _fullfile |
Undocumented |
Static Method | _name |
Undocumented |
Method | _makepathsabsolute |
Undocumented |
Method | _remove |
keep the first of duplicated entries |
Method | _save |
extend self by elements of _last_walk not in self and save |
Method | _walk |
recursive search for COCO data archives in folder on disk. |
Instance Variable | _last |
Undocumented |
Inherited from StrList
(via ListOfArchives
):
Method | __call__ |
alias to find |
Method | find |
return entries that match all substrs . |
Method | find |
same as find but returns indices instead of names |
Method | print |
print the result of find(*substrs) with indices. |
Property | as |
return space separated string concatenation surrounded by spaces. |
Property | found |
StrList of elements found during the last call to find . |
Instance Variable | _names |
Undocumented |