caterva2.Root.__init__#
- Root.__init__(client, name)#
Represents a remote repository that can be subscribed to.
- Parameters:
Examples
>>> import caterva2 as cat2 >>> client = cat2.Client("https://demo.caterva2.net") >>> root = client.get("example") >>> root.file_list[-3:] ['ds-sc-attr.b2nd', 'lung-jpeg2000_10x.b2nd', 'tomo-guess-test.b2nd']