Skip to main content

Module system

Module system 

Source
Expand description

System introspection utilities.

Functionsยง

running_in_kubernetes
True when this process runs inside a Kubernetes pod.
total_memory_bytes
Same as total_memory_megabyte, but in bytes.
total_memory_megabyte
Returns the memory, in megabytes (MB), of the current system, or None when the operating system does not report it.