shhivv / pyston

☁️ An asynchronous API wrapper for the Piston API

Home Page:https://aiopyston.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyston

An asynchronous API wrapper for the Piston API.

Installation

pip install aiopyston

Basic implementation

from pyston import PystonClient, File
import asyncio


async def main():
    client = PystonClient()
    output = await client.execute("python", [File("print('Hello world')")])
    print(output)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Check out the documentation for more information

About

☁️ An asynchronous API wrapper for the Piston API

https://aiopyston.readthedocs.io/

License:MIT License


Languages

Language:Python 100.0%