Python client to Pointwise Glyph Server
Project description
# GlyphClientPython
Python implementation of a client which communicates with the Pointwise Glyph Server.
Example:
from pointwise import GlyphClient, GlyphError
glf = GlyphClient()
if glf.connect():
try:
result = glf.eval('pw::Application getVersion')
print('Pointwise version is {0}'.format(result))
except GlyphError as e:
print('Error in command {0}\n{1}'.format(e.command, e))
elif glf.is_busy():
print('The Glyph Server is busy')
elif glf.auth_failed():
print('Glyph Server authentication failed')
else:
print('Failed to connect to the Glyph Server')
Python implementation of a client which communicates with the Pointwise Glyph Server.
Example:
from pointwise import GlyphClient, GlyphError
glf = GlyphClient()
if glf.connect():
try:
result = glf.eval('pw::Application getVersion')
print('Pointwise version is {0}'.format(result))
except GlyphError as e:
print('Error in command {0}\n{1}'.format(e.command, e))
elif glf.is_busy():
print('The Glyph Server is busy')
elif glf.auth_failed():
print('Glyph Server authentication failed')
else:
print('Failed to connect to the Glyph Server')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pointwise-glyph-client-1.0.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fe87c3f905639b8e0f2590e09a2614c08cfa26b943974c9f6aab9bf7c1869a |
|
MD5 | 4285681dd2a13950ef6a32642268fcd2 |
|
BLAKE2b-256 | 283ad95623dcd81c60cc94db141168f5de2d921577e95e6147cc4035d9e07b81 |