parsl.data_provider.files.File

class parsl.data_provider.files.File(url: str)[source]

The Parsl File Class.

This class captures various attributes of a file, and relies on client-side and worker-side systems to enable to appropriate transfer of files.

__init__(url: str)[source]

Construct a File object from a url string.

Parameters:url (-) – url string of the file e.g. - ‘input.txt’ - ‘file:///scratch/proj101/input.txt’ - ‘globus://go#ep1/~/data/input.txt’ - ‘globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec/home/johndoe/data/input.txt’

Methods

__init__(url) Construct a File object from a url string.
File.capitalize
File.casefold
File.center
File.count
File.encode
File.endswith
File.expandtabs
File.find
File.format
File.format_map
File.get_data_future
File.index
is_remote()
File.isalnum
File.isalpha
File.isdecimal
File.isdigit
File.isidentifier
File.islower
File.isnumeric
File.isprintable
File.isspace
File.istitle
File.isupper
File.join
File.ljust
File.lower
File.lstrip
File.maketrans
File.partition
File.replace
File.rfind
File.rindex
File.rjust
File.rpartition
File.rsplit
File.rstrip
File.set_data_future
File.split
File.splitlines
File.stage_in
File.stage_out
File.startswith
File.strip
File.swapcase
File.title
File.translate
File.upper
File.zfill

Attributes

filepath Return the resolved filepath on the side where it is called from.