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", frame={"bottom": "Text"})
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.1.tar.gz
(15.3 kB
view hashes)
Built Distribution
shitposts-0.1.1-py3-none-any.whl
(15.9 kB
view hashes)
Close
Hashes for shitposts-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01cfcb4c263498c9fae57d21b87344eaf5c49705109711010bd35ea109f4232b |
|
MD5 | 300e101540d19773b3e8c2065645ac5b |
|
BLAKE2b-256 | 8709baa83d2a49307b06e1b1880c7342b2f0075b3bd55329a7334110a442ef80 |