A Python Wrapper for api.itayki.com
Project description
py-multiapi
a python library for api.itayki.com
Installation
pip3 install py-multiapi
Examples
execute code:
from py_multiapi import multiapi
import asyncio
async def main():
print(await multiapi.exec_code(lang="python3", code="print('Hello World')"))
asyncio.run(main())
make web screenshot:
from py_multiapi import multiapi
import asyncio
async def main():
a = await multiapi.webshot(url="duckduckgo.com")
with open("test.png", "wb") as img:
img.write(a)
asyncio.run(main())
get help from the function:
from py_multiapi import multiapi
def main_help():
print(help(multiapi.exec_code))
main_help()
links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_multiapi-8.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_multiapi-8.tar.gz.
File metadata
- Download URL: py_multiapi-8.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3bd2c7acf1afe432d8fc37eb7c6f04595ad62310da94740db4feb1280e45b33
|
|
| MD5 |
af4579b0b6a69411c5ad9fde27ab391d
|
|
| BLAKE2b-256 |
57fa21f21203fb5c89cfed5dfbb0ccf64de85dcf53ad6bd3ce1238b4fc086999
|
File details
Details for the file py_multiapi-8-py3-none-any.whl.
File metadata
- Download URL: py_multiapi-8-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a02822f92ac153a2b0fd4302ed291a42736623d661871130f53136dabae949
|
|
| MD5 |
6f519b79e701c6ee007b44203febe2fb
|
|
| BLAKE2b-256 |
14ad6271a631eed4a3e12b342e5b320b725873673e226ec4d088b15a547b7a30
|