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
versions in other languages
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-13.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file py_multiapi-13.tar.gz
.
File metadata
- Download URL: py_multiapi-13.tar.gz
- Upload date:
- Size: 3.9 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 | 13bf9f100e32074ff4cd2cb309c6638ea3f4a552bfd4db67ecf508c7c3285d69 |
|
MD5 | 207e7698c7063c77484ab8ac33d9341e |
|
BLAKE2b-256 | 9ac20475101774206f41a8024e34a82d735f7c10a875c03d24cfc04f99c2db82 |
File details
Details for the file py_multiapi-13-py3-none-any.whl
.
File metadata
- Download URL: py_multiapi-13-py3-none-any.whl
- Upload date:
- Size: 4.2 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 | 4b1262dcefbb9832b87487727f9ffbf18ede18de012c6f304cd37fd718924080 |
|
MD5 | 37db64d3a6e73229a9311dd71b0b419f |
|
BLAKE2b-256 | 40e379e7026963154f119b4dea9bcb5721b10fd0e8e22f706359b3e01bc2d4aa |