Package platformids :: Module platforms

Module platforms

source code

The module 'platforms' provides the class for the representation of platform parameters. This includes the scan of the current platform and the calculation of arbitrary hexadecimal labels for the fast processing of repetitive comparisons.

The supported implementations are: CPython, IPython, IronPython, Jython, and PyPy.


Version: 0.1.35

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
  ISINT = (<class 'int'>)
  ISSTR = (<class 'str'>, <class 'bytes'>)
  PlatformParameters = <class 'platformids.platforms.PlatformPar...
  PlatformParametersError = <class 'platformids.platforms.Platfo...
  RTE = 276917248
  RTE_DIST = 4294901760
  RTE_GENERIC = 0
  __cached__ = 'b'/local/hd1/home1/data/acue/rd/p-open-deploy/pl...
  __loader__ = <_frozen_importlib_external.SourceFileLoader obje...
  __package__ = 'b'platformids''
  __spec__ = ModuleSpec(name='platformids.platforms', loader=<_f...
  __uuid__ = 'b'7add5ded-c39b-4b6e-8c87-1b3a1c150ee9''
  attribute_map = {'b'category'': 'b'category'', 'b'cpu'': 'b'cp...
  bash_map = {'b'category'': 'b'CATEGORY'', 'b'cpu'': 'b'CPU'', ...
Variables Details

PlatformParameters

Value:
<class 'platformids.platforms.PlatformParameters'>

PlatformParametersError

Value:
<class 'platformids.platforms.PlatformParametersError'>

__cached__

Value:
'b'/local/hd1/home1/data/acue/rd/p-open-deploy/platformids/repos/sourc\
eforge.net/pyplatformids/platformids/__pycache__/platforms.cpython-38.\
pyc''

__loader__

Value:
<_frozen_importlib_external.SourceFileLoader object at 0x7f32108516a0>

__spec__

Value:
ModuleSpec(name='platformids.platforms', loader=<_frozen_importlib_ext\
ernal.SourceFileLoader object at 0x7f32108516a0>, origin='/local/hd1/h\
ome1/data/acue/rd/p-open-deploy/platformids/repos/sourceforge.net/pypl\
atformids/platformids/platforms.py')

attribute_map

Value:
{'b'category'': 'b'category'',
 'b'cpu'': 'b'cpu'',
 'b'cpudata'': 'b'cpudata'',
 'b'dist'': 'b'dist'',
 'b'distrel'': 'b'distrel'',
 'b'distrel_hexversion'': 'b'distrel_hexversion'',
 'b'distrel_key'': 'b'distribution_key'',
 'b'distrel_name'': 'b'distribution_name'',
...

bash_map

Value:
{'b'category'': 'b'CATEGORY'',
 'b'cpu'': 'b'CPU'',
 'b'cpudata'': 'b'CPUDATA'',
 'b'dist'': 'b'DIST'',
 'b'distrel'': 'b'DISTREL'',
 'b'distrel_hexversion'': 'b'distrel_hexversion'',
 'b'distrel_key'': 'b'DISTRIBUTION_KEY'',
 'b'distrel_name'': 'b'DISTRIBUTION_NAME'',
...