@property
    def basename(self):
        parse_object = urlparse(self.uri)
        return basename(parse_object.path)
The resource basename (http://example.com/resource/1 -> 1)
dataset/ETHPy150Open resync/resync/resync/resource.py/Resource.basename