OperatingSystem¶
This documentation provides details about the data that can be faked for Operating Systems.
To retrieve generated/fake data for Operating Systems see the following capabilities:
from socfaker import SocFaker
sc = SocFaker()
print(sc.operating_system.family)
print(sc.operating_system.name)
print(sc.operating_system.version)
print(sc.operating_system.fullname)
OperatingSystem Class¶
-
class
socfaker.operatingsystem.
OperatingSystem
¶ The OperatingSystem class contains properties commonly found within Operating Systems
- Returns:
- OperatingSystem: An object containing properties related to an operating system
-
family
¶ The operating system family
- Returns:
- str: Returns a random operating system family
-
fullname
¶ The operating system full name
- Returns:
- str: Returns a random operating system full name including name, type and version
-
name
¶ The operating system name
- Returns:
- str: Returns a random operating system name
-
version
¶ The operating system version
- Returns:
- str: Returns a random operating system version