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-9.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file py_multiapi-9.tar.gz
.
File metadata
- Download URL: py_multiapi-9.tar.gz
- Upload date:
- Size: 3.7 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 | 09ac19b57560dd66144ac104d444b8f1525638bfec9b8819567c011e97b08304 |
|
MD5 | 8ee6b0d30d52216b39edf3dfb0978a06 |
|
BLAKE2b-256 | ab2235ddfd36cfa55d2e89d890d49d748b95c1ea48aaf59ddb51f4cef0242245 |
File details
Details for the file py_multiapi-9-py3-none-any.whl
.
File metadata
- Download URL: py_multiapi-9-py3-none-any.whl
- Upload date:
- Size: 4.1 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 | 25c3efb0876eb83ef9954c15583ef1850865993b280655a952dbf46c95a379e0 |
|
MD5 | ee719adea50ccff7760be7c02561295c |
|
BLAKE2b-256 | 7f775bc6ef3e307a6291ee290f5e3eed335afc0ef36d1755e7d597a5d1fd221b |