Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

PyDVM

Python libraries for interacting with DVMProject applications

DVMRest

dvmrest.py is used to interact with a DVM REST API endpoint, and handles authentication token exchange and automatic re-auth. DVMRest supports GET, PUT, and POST requests to DVM REST endpoints.

Usage

from .pydvm.dvmrestimportDVMRest# Create a new DVMRest connectiondvm_rest=DVMRest('127.0.0.1', 9990, 'PASSWORD)
# Query the list of peers from an FNErest_resp=dvm_rest.get("/peer/list")
# Iterate over the list of peers returnedforpeerinrest_resp['peers']:
print(peer)

About

Python library for interacting with DVM runtimes via REST

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages