Package platformids :: Package dist :: Module windows

Module windows

source code

MS-Windows releases for the WindowsNT family based on the registry information. This includes the IoT products, e.g. Windows-NT-10.0-IoT-core on the RaspberryPi.

Version: 0.1.29

Author: Arno-Can Uestuensoez

Copyright: Copyright (C) 2010-2018 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez

License: Artistic-License-2.0 + Forced-Fairplay-Constraints

Variables
  PlatformIDsError = <class 'platformids.PlatformIDsError'>
  PlatformIDsFileCheck = (<class 'FileNotFoundError'>)
  PlatformIDsUnittestTriggered = <class 'platformids.dist.window...
  RTE_NT = 545259520
  RTE_NT100 = 550502400
  RTE_NT35 = 547160064
  RTE_NT40 = 547356672
  RTE_NT50 = 547880960
  RTE_NT51 = 547946496
  RTE_NT52 = 548012032
  RTE_NT60 = 548405248
  RTE_NT61 = 548470784
  RTE_NT62 = 548536320
  RTE_NT63 = 548601856
  RTE_WIN = 536870912
  RTE_WIN2000 = 547883155
  RTE_WIN2003 = 548015822
  RTE_WIN2003R2 = 548015822
  RTE_WIN2008 = 548411249
  RTE_WIN2008R2 = 548478384
  RTE_WIN2008R2SP1 = 548478385
  RTE_WIN2008SP2 = 548411250
  RTE_WIN2012 = 548545520
  RTE_WIN2012R2 = 548611456
  RTE_WIN7 = 548478384
  RTE_WIN7SP1 = 548478385
  RTE_WIN8 = 548545520
  RTE_WIN81 = 548611456
  RTE_WINDOWS = 536870912
  RTE_WINNT35 = 547160871
  RTE_WINNT40 = 547358053
  RTE_WINXP = 547949096
  RTE_WINXP64 = 548015822
  VER_NT_DOMAIN_CONTROLLER = 2
  VER_NT_GENERIC = 0
  VER_NT_IOT = 4
  VER_NT_SERVER = 3
  VER_NT_WORKSTATION = 1
  WINVERSION = {ntmajor: 0, ntminor: 0, release: 0, build: 0, pr...
  WinVersion = <class 'platformids.dist.windows.WinVersion'>
  __cached__ = 'b'platformids/dist/__pycache__/windows.cpython-3...
  __loader__ = <_frozen_importlib_external.SourceFileLoader obje...
  __package__ = 'b'platformids.dist''
  __spec__ = ModuleSpec(name='platformids.dist.windows', loader=...
  __uuid__ = 'b'7add5ded-c39b-4b6e-8c87-1b3a1c150ee9''
  dist = ['b'nt000'', 'b'0.0.0'', 'b'NT-0.0.0'', 'b'NT'', (0, 0,...
  num2pretty = {281149440: 'Arch Linux', 285212672: 'Berkeley So...
  num2rte = {281149440: 'archlinux', 285212672: 'bsd', 276955136...
  rte2num = {'bsd': 285212672, 'darwin': 301989888, 'emu': 10737...
  versions = {547356672: 'b'4.0'', 547358053: 'b'4.0.1381'', 547...
Variables Details

PlatformIDsUnittestTriggered

Value:
<class 'platformids.dist.windows.PlatformIDsUnittestTriggered'>

WINVERSION

Value:
{ntmajor: 0, ntminor: 0, release: 0, build: 0, productcategory: 0, sp:\
 None, InstallationType: , EditionID: , ProductName: , }

__cached__

Value:
'b'platformids/dist/__pycache__/windows.cpython-38.pyc''

__loader__

Value:
<_frozen_importlib_external.SourceFileLoader object at 0x7f320ce9e670>

__spec__

Value:
ModuleSpec(name='platformids.dist.windows', loader=<_frozen_importlib_\
external.SourceFileLoader object at 0x7f320ce9e670>, origin='platformi\
ds/dist/windows.py')

dist

Value:
['b'nt000'', 'b'0.0.0'', 'b'NT-0.0.0'', 'b'NT'', (0, 0, 0), 'b'nt'']

num2pretty

Value:
{281149440: 'Arch Linux', 285212672: 'Berkeley Software Distribution',\
 276955136: 'CentOS', 301989888: 'Darwin', 277020672: 'Debian', 276889\
600: 'Fedora', 276824064: 'Linux', 545259520: 'NT', 285343744: 'OpenBS\
D', 1342177280: 'Windows-Emulation', 268435456: 'POSIX', 1879048192: '\
POSIX-Windows-Emulation', 277348352: 'Raspbian', 277086208: 'RHEL', 33\
5544320: 'Unix', 536870912: 'Windows', 276909056: "Schroedinger's Cat"\
, 276910080: 'Heisenbug', 276917248: 'Fedora27', 276918272: 'Fedora28'\
, 276919296: 'Fedora29', 276920320: 'Fedora30', 276921856: 'Fedora31',\
...

num2rte

Value:
{281149440: 'archlinux', 285212672: 'bsd', 276955136: 'centos', 301989\
888: 'darwin', 277020672: 'debian', 1073741824: 'emu', 276889600: 'fed\
ora', 276824064: 'linux', 545259520: 'nt', 285343744: 'openbsd', 27728\
2816: 'openwrt', 302120960: 'osx10', 1342177280: 'wpemu', 268435456: '\
posix', 1879048192: 'pwemu', 277348352: 'raspbian', 277086208: 'rhel',\
 335675392: 'solaris', 335544320: 'unix', 536870912: 'windows', 276909\
056: 'fedora19', 276910080: 'fedora20', 276917248: 'fedora27', 2769182\
72: 'fedora28', 276919296: 'fedora29', 276920320: 'fedora30', 27692185\
...

rte2num

Value:
{'bsd': 285212672, 'darwin': 301989888, 'emu': 1073741824, 'linux': 27\
6824064, 'linux2': 276824064, 'nt': 545259520, 'wpemu': 1342177280, 'p\
osix': 268435456, 'pwemu': 1879048192, 'unix': 335544320, 'win': 53687\
0912, 'win32': 536870912, 'windows': 536870912, 285212672: 285212672, \
301989888: 301989888, 1073741824: 1073741824, 276824064: 276824064, 54\
5259520: 545259520, 1342177280: 1342177280, 268435456: 268435456, 1879\
048192: 1879048192, 536870912: 536870912, 'SunOS5': 335675392, 'arch':\
 281149440, 'archlinux': 281149440, 'centos': 276955136, 'debian': 277\
...

versions

Value:
{547356672: 'b'4.0'',
 547358053: 'b'4.0.1381'',
 547880960: 'b'5.0'',
 547883155: 'b'5.0.2195'',
 547946496: 'b'5.1'',
 547949096: 'b'5.1.2600'',
 548012032: 'b'5.2'',
 548405248: 'b'6.0'',
...