
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
This is a simple unofficial async Api-wrapper for tio.run
Installation
$ py -m pip install async_tio
Install Latest
$ py -m pip install git+https://github.com/Tom-the-Bomb/async-tio.git
Example
# assuming you are already inside an async environment and have already imported everything
# to instantiate
# recommended to have a global class if you are going to run .execute more than 1 time throughout the program
# alternatively you can use the async context manager if it's a one time use:
# async with async_tio.Tio() as tio: ...
tio = async_tio.Tio() # Optional 'loop' and 'session' kwargs etc. if needed
# to execute
output = await tio.execute("print('')", language="python3") # pass in other optional kwargs if needed
print(str(output)) # the formatted output along with the stats
print(output.stdout) # the output by itself
print(int(output)) # returns the exit status
# print(vars(output).keys())
# -> dict_keys(['token', 'output', 'stdout', 'real_time', 'user_time', 'sys_time', 'cpu_usage', 'exit_status'])
# all the attributes of the response object you can access
FAQs
An unoffical API wrapper for tio.run
We found that async-tio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.