philh_myftp_biz.web.url¶
Module Contents¶
Classes¶
API¶
- class philh_myftp_biz.web.url.URL(url: str, *, params: dict[str, str] = {}, headers: dict[str, str] = {}, max_tries: int = 1, max_age: int = 0, timeout: None | int = 30)¶
Initialization
- __str__()¶
- __repr__ = None¶
- furl: str = 'property(...)'¶
- __getattr__(name: str)¶
- copy(**kwargs)¶
- child(name: str, **kwargs)¶
- format(*args, **kwargs)¶
- property stream¶
- property content¶
- property text: str¶
- property json: philh_myftp_biz.json.SupportsJSON¶
- property head: requests.Response¶
- property exists¶
- download(path: philh_myftp_biz.pc.Path, force: bool = True) None¶
Download file to disk
- property size: int¶
- get(**kwargs) requests.Response¶
requests.get Wrapper
- property online: bool¶
ping3.ping wrapper
- property hash: str¶
Calculate the SHA256 hash