Asynchronous wrapper for the EditVideoBot API
Project description
evb.py
Asynchronous wrapper for the EditVideoBot API https://pigeonburger.xyz/api/docs/
Example
import asyncio
from evb import AsyncEditVideoBotSession, EditResponse
async def main():
with open("input.mp4", "rb") as input_file:
input_bytes = input_file.read()
async with AsyncEditVideoBotSession.from_api_key("your_api_key") as evb_session:
output_bytes: EditResponse = await evb_session.edit(input_bytes, "tt=smell")
with open("output.mp4", "xb") as output_media:
output_media.write(await output_bytes.download())
asyncio.run(main())
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
evb.py-1.1.1.tar.gz
(16.8 kB
view details)
Built Distribution
evb.py-1.1.1-py3-none-any.whl
(17.5 kB
view details)
File details
Details for the file evb.py-1.1.1.tar.gz
.
File metadata
- Download URL: evb.py-1.1.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b2e147f299f2ada0bd63575be1ae0a84797eca2a367903d4b90e0aa5a73bc2 |
|
MD5 | 360c91c33dc79254793f69812e7bb169 |
|
BLAKE2b-256 | 89345b06b2f3cc454fff3e930bf695af5b44caddeaa74ebcf4ff324d73f3ae5c |
File details
Details for the file evb.py-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: evb.py-1.1.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d057b314f1e56bb27dbb7bfaee7e5828aa0e87546ff799b31849419c981521b |
|
MD5 | b7973a1f6f01b626c844b60d2cccd0f4 |
|
BLAKE2b-256 | d239fdf6259341101f8a1fa5bb2c67f0d3cc00b1556e2385ed51dbd547de4367 |