Detail

File Length Function

ryan_globusid/FileLength
Copy
Ryan Chard

A function to get the length of a file.

Python static method
general test

Input

A file
Type: file

Output

Output
Type: float

Run with DLHub SDK

from dlhub_sdk.client import DLHubClient
X = get_my_data() #replace this
dl = DLHubClient()
dl.run('ryan_globusid/FileLength', X)

Get More Info with DLHub SDK

from dlhub_sdk.client import DLHubClient
dl = DLHubClient()
dl.describe_servable('ryan_globusid/FileLength')

DLHub SDK Installation

pip install dlhub_sdk

DLHub SDK documentation