Package pygeodesy :: Module interns
[frames] | no frames]

Module interns

Single string constants, intern'ed across pygeodesy modules and function pygeodesy.machine.


Version: 24.03.20

Classes
  Str_
Extended, callable str class, not nameable.
Functions
 
machine()
Return standard platform.machine, but distinguishing Intel native from Intel emulation on Apple Silicon (on macOS only).
Variables
  NN = ''
Function Details

machine()

 

Return standard platform.machine, but distinguishing Intel native from Intel emulation on Apple Silicon (on macOS only).

Returns:
Machine 'arm64' for Apple Silicon native, 'x86_64' for Intel native, "arm64_x86_64" for Intel emulation, etc. (str with commas replaced by underscores).