Skip to content

Instantly share code, notes, and snippets.

@jirihnidek
Last active December 23, 2015 12:19
Show Gist options
  • Save jirihnidek/6634729 to your computer and use it in GitHub Desktop.
Save jirihnidek/6634729 to your computer and use it in GitHub Desktop.
Example of using vrsent module as python cli to verse
import vrsent as v
s = v.VerseSession(hostname='localhost', service='12344', \
callback_thread=True, username='your_name', password='your_pass')
for n in s.nodes.values():
print(n)
n = v.VerseNode(s, custom_type=10)
print(n)
tg = v.VerseTagGroup(n, custom_type=100)
print(tg)
tg = v.VerseTag(tg=tg, value=(1.0,), custom_type=1000)
print(tag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment