Pfn

mod:Pfn
synopsis:pfn URI (un)parsing
DIRAC.Core.Utilities.Pfn.default_pfnparse(pfn)
Parse pfn and save all bits of information into dictionary
Parameters:pfn (str) – pfn string
DIRAC.Core.Utilities.Pfn.default_pfnunparse(pfnDict)

Create PFN URI from pfnDict

Parameters:pfnDict (dict) –
DIRAC.Core.Utilities.Pfn.pfnparse(pfn, srmSpecific=True)

Wrapper for backward compatibility Redirect either to the old hand made style of parsing the pfn, which works for srm, or to the standard one which seems to work for the rest

Parameters:srmSpecific – use the srm specific parser (default True)
DIRAC.Core.Utilities.Pfn.pfnunparse(pfnDict, srmSpecific=True)

Wrapper for backward compatibility Redirect either to the old hand made style of unparsing the pfn, which works for srm, or to the standard one which seems to work for the rest

Parameters:srmSpecific – use the srm specific parser (default True)
DIRAC.Core.Utilities.Pfn.srm_pfnparse(pfn)

Parse pfn and save all bits of information into dictionary

Parameters:pfn (str) – pfn string
DIRAC.Core.Utilities.Pfn.srm_pfnunparse(pfnDict)

Create PFN URI from pfnDict

Parameters:pfnDict (dict) –