pip install carbonnow
pip install -U carbonnow
git clone https://github.com/OpenRestfulAPI/carbon-now-sh-API-Wrapper carbon-now
cd carbon-now
make install
import asyncio
from carbonnow import Carbon
code = """
async def func():
return "Hello from Carbonara"
if __name__ == '__main__':
asyncio.run(func())
"""
async def main():
carbon = Carbon(
code=code,
)
print(await carbon.save('carbon_photo'))
if __name__ == '__main__':
asyncio.run(main())
Check example.py
Licensed with GPLv3, This Project was made by an indivial on Telegram. The person who made this API wrapper has nothing to do with Carbon or Carbonara. Therefore All rights reserved to Carbon and Carbonara's Rightful Owner Peter Solopov Himself.