/pychaosvm

A Python envirionment for Tencent ChaosVM.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

ChaosVM Executor

A Python envirionment for Tencent ChaosVM.

Usage

from chaosvm import prepare
from urllib.parse import unquote

tdc = prepare(vmjs, mouse_track=[(50, 42), (50, 55)])
print( tdc.getInfo().__dict__ )             # a python dict
print( unquote(tdc.getData(None, True)) )   # a python str

License

Copyright (C) 2023 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 <https://www.gnu.org/licenses/>.