### Install pychaosvm Package Source: https://github.com/aioqzone/pychaosvm/blob/beta/README.md Install the package using the specified index URL. ```sh pip install pychaosvm --index-url https://aioqzone.github.io/aioqzone-index/simple ``` -------------------------------- ### Initialize ChaosVM and Retrieve Data Source: https://github.com/aioqzone/pychaosvm/blob/beta/README.md Use the prepare function to initialize the environment and access TDC information or data. ```python from chaosvm import prepare from urllib.parse import unquote tdc = prepare(vmjs, "114.5.1.4") # see docstring for more info print( tdc.getInfo().__dict__ ) # a python dict print( unquote(tdc.getData(None, True)) ) # a python str ``` -------------------------------- ### License Information Source: https://github.com/aioqzone/pychaosvm/blob/beta/README.md The project is licensed under the GNU Affero General Public License version 3 or later. ```text Copyright (C) 2023-2026 aioqzone This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . ``` -------------------------------- ### Access TDC_itoken via Window Object Source: https://github.com/aioqzone/pychaosvm/blob/beta/README.md Retrieve the window object by setting return_window to True to access the TDC_itoken field. ```python # retrun the window object, instead of its TDC field win = prepare(vmjs, "114.5.1.4", return_window=True) tdc = win.TDC # the way to get TDC object print( win.TDC_itoken ) # 114514514:1919810810 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.