Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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())

Metadata

Release files for shitposts 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shitposts 0.1.1
File Size Uploaded
shitposts-0.1.1.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shitposts 0.1.1
File Interpreter ABI Platform
shitposts-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / shitposts-0.1.1.tar.gz

Download URL shitposts-0.1.1.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
109560f77f63b86e55811c8b4441ddfcfaa591e1e6a16ef2831de35dc11291d4
BLAKE2b-256 checksum
How to use checksums
e7316bc5c7ffee58793ca7ad0917294db9419677ee0bba74c9f46e6c43c5d106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / shitposts-0.1.1-py3-none-any.whl

Download URL shitposts-0.1.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01cfcb4c263498c9fae57d21b87344eaf5c49705109711010bd35ea109f4232b
BLAKE2b-256 checksum
How to use checksums
8709baa83d2a49307b06e1b1880c7342b2f0075b3bd55329a7334110a442ef80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page