Asynchronous wrapper for ShitpostAPI.
Project description
shitposts
Asynchronous wrapper for ShitpostAPI.
Example
import asyncio
from shitposts import AsyncShitpostingSession
async def main():
with open("input.mp4", "rb") as input_media:
input_bytes = input_media.read()
async with AsyncShitpostingSession() as session:
output_bytes = await session.edit(
input_bytes,
"video/mp4",
[{"name": "frame", "parameters": {"bottom": "funk"}}]
)
with open("output.mp4", "xb") as output_media:
output_media.write(output_bytes)
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
shitposts-0.1.0.tar.gz
(15.6 kB
view hashes)
Built Distribution
shitposts-0.1.0-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for shitposts-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dfb5f0d6d621231147a4ddf8000162143c75a52b9ba1502b86f081ad6152621 |
|
MD5 | 38267df1cbf62fcc5f2d65194cc1f950 |
|
BLAKE2b-256 | b32403d4a22b1b34d3ff1ac45fa34bfa0e859527bbd72cc4dc4421f827eff839 |