ByteSize | API | Crawlee for Python · Fast, reliable Python web crawlers.
Methods
- __add__(other): ByteSize
Parameters
other: object
Returns ByteSize
- __eq__(other): bool
Parameters
other: object
Returns bool
- __ge__(other): bool
Parameters
other: object
Returns bool
- __gt__(other): bool
Parameters
other: object
Returns bool
- __hash__(): int
Returns int
- __le__(other): bool
Parameters
other: object
Returns bool
- __lt__(other): bool
Parameters
other: object
Returns bool
- __mul__(other): ByteSize
Parameters
other: object
Returns ByteSize
- __post_init__(): None
Returns None
- __rmul__(other): ByteSize
Parameters
other: object
Returns ByteSize
- __str__(): str
Returns str
- __sub__(other): ByteSize
Parameters
other: object
Returns ByteSize
- __truediv__(other): float
Parameters
other: object
Returns float
- from_gb(gb): ByteSize
Parameters
gb: float
Returns ByteSize
- from_kb(kb): ByteSize
Parameters
kb: float
Returns ByteSize
- from_mb(mb): ByteSize
Parameters
mb: float
Returns ByteSize
- from_tb(tb): ByteSize
Parameters
tb: float
Returns ByteSize
- to_gb(): float
Returns float
- to_kb(): float
Returns float
- to_mb(): float
Returns float
- to_tb(): float
Returns float
- validate(value): ByteSize
Parameters
value: Any
Returns ByteSize