Skip to content

← programming package

SystemInformation

Queries a property of the ambient runtime system.

This includes machine architecture, OS, Python and NeuroPype runtime versions, and more. The following properties are available:

  • os-type: Operating system name (Windows, Linux, Darwin)
  • os-release: Operating system release version (e.g., 'NT', 'XP', '5.15.0-38-generic')
  • os-identifier: a string that precisely identifies the OS (format varies by OS)
  • arch: Machine architecture (x86_64, AMD64, arm64, i686, ia64, ppc64, sun4u, i386, etc.)
  • arch-bits: Number of bits in the machine architecture ('32bit' or '64bit')
  • hostname: Hostname of the machine
  • pid: process ID of the current process
  • python-version: Python version (e.g. '3.7.3')
  • neuropype-version: NeuroPype version (formatted as 'major.minor.patch', e.g., '2021.0.3')
  • neuropype-suffix: NeuroPype version suffix, if any (e.g., 'dev' or '')
  • neuropype-edition: NeuroPype edition (e.g., 'Enterprise')
  • neuropype-suite: NeuroPype suite
  • num-cores: Number of logical CPU cores
  • num-cuda-accelerators: Number of CUDA-capable (i.e., nVidia) accelerators (i.e., GPUs) installed.
  • total-memory-mb: Total system memory, in megabytes (actually, mebibytes); floating-point number.
  • available-memory-mb: Available system memory, in megabytes (actually, mebibytes); floating-point number.
  • cuda-device-memory-mb: Total memory of the first visible CUDA-capable device, in megabytes (actually, mebibytes); floating-point number.
Version 1.0.0

Ports/Properties

result

Result

verbose name
Result
default value
None
port type
DataPort
value type
object (can be None)
data direction
OUT

property

System property to query. See node description for more details.

verbose name
Property
default value
os-type
port type
EnumPort
value type
str (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)