A code execution engine
Project description
Welcome
It's Monolith, a code execution environment. You can run code in a variety of languages, and see the output.
Should you have any questions, please don't hesitate to ask mingzhe@nus.edu.sg.
from monolith import monolith
monolith = monolith.Monolith(backend_url='https://monolith.cool')
post_response = monolith.post_code_submit(
lang = 'python3',
libs = [],
code = 'print("Hello, World!")',
timeout = 10,
profiling = False
)
task_id = post_response['task_id']
get_response = monolith.get_code_result(task_id)
print(get_response)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
monolith_lib-0.0.2.tar.gz
(1.9 kB
view details)
File details
Details for the file monolith_lib-0.0.2.tar.gz.
File metadata
- Download URL: monolith_lib-0.0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1384c3a4f060eacfa4b0762a35b040b942ae02c622ae0fbc9c0c8e1ada6becca
|
|
| MD5 |
78df04ba3514e3b7ffabf2dc08354bf5
|
|
| BLAKE2b-256 |
3cfe1417f6121f04bcc34519054ddb350ae3c1984c1c06db5cbe3660d499bec3
|